CVE-2023-52838·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: fbdev: imsttfb: fix a resource leak in probe I've re-written the error handling but the bug is that if init_imstt() fails we need to call iounmap(par->cmap_regs).
- Severity
- medium
- Software
- Kernel
- Fixed in
- 6.6.2
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at <0.1% — in the bottom 1% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.6
Until: 6.6.2
Fixed in: 6.6.2
How to fix this CVE
Update your Linux kernel to version 6.6.2 or later to patch a resource leak in the imsttfb framebuffer driver. This vulnerability affects systems using older kernel versions (6.6 to 6.6.2) where improper error handling in the probe function fails to release mapped memory regions. Apply the kernel update through your distribution's package manager to resolve the issue and prevent potential memory exhaustion.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with: uname -r
- Step 2: Verify if you are running kernel 6.6.0 through 6.6.2 with: uname -r | grep -E '^6\.6\.[0-2]'
- Step 3: Check if imsttfb framebuffer driver is loaded with: lsmod | grep imsttfb
- Step 4: After updating, verify the new kernel version with: uname -r and confirm it is 6.6.2 or later
FAQ
What is CVE-2023-52838?
This vulnerability is a resource leak in the imsttfb framebuffer driver's probe function where mapped I/O memory regions fail to be properly unmapped when initialization errors occur. The missing iounmap() call allows kernel memory to be exhausted over time.
Is CVE-2023-52838 being actively exploited?
No, this vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are available. It requires local kernel module loading privileges to trigger.
What versions of Kernel are affected by CVE-2023-52838?
Linux kernel versions 6.6.0 through 6.6.2 are affected. Version 6.6.2 and all subsequent releases contain the fix.
How do I check if my server is vulnerable to CVE-2023-52838?
Run 'uname -r' and verify the output. If it shows 6.6.0, 6.6.1, or 6.6.2 with an older build date, you are vulnerable. Then cross-reference with 'lsmod | grep imsttfb' to check if the affected driver is loaded.
Does Defensia detect CVE-2023-52838?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2023-52838 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/18d26f9baca7d0d309303e3074a2252b8310884a
- https://git.kernel.org/stable/c/382e1931e0c9cd58a5a8519cdc6cd9dc4d82b485
- https://git.kernel.org/stable/c/6c66d737b2726ac7784269ddf32a31634f8f269d
- https://git.kernel.org/stable/c/7bc7b82fb2191b0d50a80ee4e27030918767dd1d
- https://git.kernel.org/stable/c/8e4b510fe91782522b7ca0ca881b663b5d35e513
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2023-52838. Free for 1 server.
Get started free