CVE-2023-52805·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: jfs: fix array-index-out-of-bounds in diAlloc Currently there is not check against the agno of the iag while allocating new inodes to avoid fragmentation problem. Added the check which is required.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.6.3
- Published
- 2024-05-21
Affected versions
From: 6.6
Until: 6.6.3
Fixed in: 6.6.3
How to fix this CVE
Update your Linux kernel to version 6.6.3 or later to patch a critical memory safety issue in the JFS filesystem's inode allocation routine. This vulnerability could allow local attackers with low privileges to trigger out-of-bounds memory access, potentially leading to information disclosure or system compromise. Verify the patched kernel is installed and reboot your system to ensure the fix is active.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r (verify it is 6.6.3 or later)
- Confirm JFS module is loaded: lsmod | grep jfs (if JFS is in use, the system is more vulnerable)
- Search kernel logs for JFS-related errors: dmesg | grep -i jfs (look for allocation failures or out-of-bounds warnings)
- Verify patch installation: grep -i 'diAlloc' /boot/config-$(uname -r) (should show JFS configuration is present and patched)
FAQ
What is CVE-2023-52805?
CVE-2023-52805 is a memory safety vulnerability in the Linux kernel's JFS (Journaled File System) implementation that allows improper validation of inode allocation group numbers, enabling an out-of-bounds array access that can lead to privilege escalation or information disclosure.
Is CVE-2023-52805 being actively exploited?
No, CVE-2023-52805 is not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are available. However, the vulnerability remains a serious local attack vector that should be patched promptly.
What versions of Kernel are affected by CVE-2023-52805?
Linux kernel versions 6.6 through 6.6.2 are affected. Kernel version 6.6.3 and later contain the fix.
How do I check if my server is vulnerable to CVE-2023-52805?
Run 'uname -r' to check your kernel version. If it shows 6.6.x where x is less than 3, and JFS is in use (check with 'lsmod | grep jfs'), your system is vulnerable.
Does Defensia detect CVE-2023-52805?
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-52805 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/05d9ea1ceb62a55af6727a69269a4fd310edf483
- https://git.kernel.org/stable/c/1708d0a9917fea579cc9da3d87b154285abd2cd8
- https://git.kernel.org/stable/c/1ba7df5457dc1c1071c5f92ac11323533a6430e1
- https://git.kernel.org/stable/c/2308d0fb0dc32446b4e6ca37cd09c30374bb64e9
- https://git.kernel.org/stable/c/64f062baf202b82f54987a3f614a6c8f3e466641
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2023-52805. Free for 1 server.
Get started free