CVE-2020-36785·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: media: atomisp: Fix use after free in atomisp_alloc_css_stat_bufs() The "s3a_buf" is freed along with all the other items on the "asd->s3a_stats" list. It leads to a double free and a use after free.
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.12.4
- Published
- 2024-02-28
Affected versions
From: 5.12
Until: 5.12.4
Fixed in: 5.12.4
How to fix this CVE
Update your Linux kernel to version 5.12.4 or later to resolve this memory management vulnerability affecting the Intel Atom ISP camera driver. The vulnerability causes a double-free condition when statistical buffers are improperly freed during device initialization. Apply the kernel update through your system's package manager and reboot to activate the patched version.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your kernel version with: uname -r — it should be 5.12.4 or higher; versions 5.12 through 5.12.3 are vulnerable
- Verify if the atomisp camera driver is loaded: lsmod | grep atomisp — if present, the component is active on your system
- Search kernel logs for memory corruption indicators: sudo dmesg | grep -i 'double free\|use after free\|atomisp' — look for warnings or kernel panics
- Confirm the fix is applied by checking: cat /proc/version — ensure the kernel version matches or exceeds 5.12.4
FAQ
What is CVE-2020-36785?
CVE-2020-36785 is a memory safety vulnerability in the Linux kernel's Intel Atom ISP (camera) driver where statistical buffer pointers are freed twice during initialization, potentially leading to kernel memory corruption and system instability.
Is CVE-2020-36785 being actively exploited?
No, this vulnerability is not listed on the CISA Known Exploited Vulnerabilities catalog and has no public exploits available. However, it poses a high local privilege escalation risk for users with system access.
What versions of Kernel are affected by CVE-2020-36785?
Linux kernel versions 5.12 through 5.12.3 are vulnerable. The fix was released in kernel version 5.12.4 and later.
How do I check if my server is vulnerable to CVE-2020-36785?
Run uname -r to display your kernel version. If it shows 5.12.0 through 5.12.3, your system is vulnerable and requires immediate patching.
Does Defensia detect CVE-2020-36785?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2020-36785 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/801c1d505894008c888bc71d08d5cff5d87f8aba
- https://git.kernel.org/stable/c/8267ccd7b9df7ab682043507dd682fe0621cf045
- https://git.kernel.org/stable/c/ba11bbf303fafb33989e95473e409f6ab412b18d
- https://git.kernel.org/stable/c/d218c7a0284f6b92a7b82d2e19706e18663b4193
- https://git.kernel.org/stable/c/801c1d505894008c888bc71d08d5cff5d87f8aba
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2020-36785. Free for 1 server.
Get started free