Kernel memory corruption via double-freed statistics buffer
Published Feb 28, 2024 · Updated Aug 26, 2026
Use-after-free in the Linux kernel AtomISP driver allows local users with camera-device access to corrupt kernel memory via buffer setup. In atomisp_alloc_css_stat_bufs(), a failed DIS-buffer allocation frees an s3a_buf that remains linked in asd->s3a_stats, and shared cleanup dereferences and frees the same object again. Exploitation requires local access to an AtomISP V4L2 device node and can yield kernel memory reads or writes, privilege escalation, or a kernel panic or hang.
Summary
What happened
Use-after-free in the Linux kernel AtomISP driver allows local users with camera-device access to corrupt kernel memory via buffer setup. In atomisp_alloc_css_stat_bufs(), a failed DIS-buffer allocation frees an s3a_buf that remains linked in asd->s3a_stats, and shared cleanup dereferences and frees the same object again. Exploitation requires local access to an AtomISP V4L2 device node and can yield kernel memory reads or writes, privilege escalation, or a kernel panic or hang.
The record
- CVE
- CVE-2020-36785
- Published
- Feb 28, 2024
- Updated
- Aug 26, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-415, CWE-416, T1499, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 28, 2024CVE publishedPublication date reported by the CVE source.
- Aug 26, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.12
- Affected versionversion=5.8
- Affected versionversion=a49d25364dfb9f8a64037488a39ab1f56c5fa419 <51b8dc5163d2ff2bf04019f8bf7e3bd0e75bb654
- Affected versionversion=ad85094b293e40e7a2f831b0311a389d952ebd5e <801c1d505894008c888bc71d08d5cff5d87f8aba
- Affected versionversion=ad85094b293e40e7a2f831b0311a389d952ebd5e <8267ccd7b9df7ab682043507dd682fe0621cf045
- Affected versionversion=ad85094b293e40e7a2f831b0311a389d952ebd5e <ba11bbf303fafb33989e95473e409f6ab412b18d
- Affected versionversion=ad85094b293e40e7a2f831b0311a389d952ebd5e <d218c7a0284f6b92a7b82d2e19706e18663b4193
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo