CVE-2023-52799·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: jfs: fix array-index-out-of-bounds in dbFindLeaf Currently while searching for dmtree_t for sufficient free blocks there is an array out of bounds while getting element in tp->dm_stree. To add the required check for out of bound we first need to determine the type of dmtree. Thus added an extra parameter to dbFindLeaf so that the type of tree can be determined and the required check can be applied.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.6.3
- 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% — higher than 2% 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.
Read the two together. CVE-2023-52799 scores 7.8 on CVSS, so a successful attack would be serious — but at <0.1%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.6
Until: 6.6.3
Fixed in: 6.6.3
How to fix this CVE
Update the Linux kernel to version 6.6.3 or later to patch the array-index-out-of-bounds vulnerability in the JFS filesystem's dbFindLeaf function. This flaw could allow local attackers with standard user privileges to crash the system or potentially execute code by triggering improper memory access during disk space allocation operations. Apply the kernel update promptly and reboot your system to activate the patched version.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r (should be 6.6.3 or later; versions 6.6.0 through 6.6.2 are vulnerable)
- Verify JFS filesystem is in use: grep -i jfs /proc/filesystems or mount | grep jfs (if empty, this CVE does not affect your system)
- Search system logs for kernel panics or out-of-bounds memory errors: sudo journalctl -u kernel | grep -iE 'out.of.bounds|jfs|dbFindLeaf|array.index'
- Confirm the patch is applied by checking kernel build info: cat /proc/version and verify the build date is after the patch release date (June 2024 for stable kernels)
FAQ
What is CVE-2023-52799?
CVE-2023-52799 is a memory safety vulnerability in the Linux kernel's JFS (Journaled File System) module where the dbFindLeaf function fails to validate array indices before accessing the dmtree_t structure, potentially causing a system crash or memory corruption.
Is CVE-2023-52799 being actively exploited?
No, according to CISA's Known Exploited Vulnerabilities catalog, CVE-2023-52799 is not actively exploited in the wild, and no public exploits are available.
What versions of Kernel are affected by CVE-2023-52799?
Linux kernel versions 6.6 through 6.6.2 are affected. Version 6.6.3 and later contain the fix. Kernels outside the 6.6.x branch are unaffected.
How do I check if my server is vulnerable to CVE-2023-52799?
Run 'uname -r' and check if the output shows a version between 6.6.0 and 6.6.2. If your kernel is 6.6.3 or higher, or uses a different major.minor version, you are not vulnerable. Additionally verify JFS is actively used with 'mount | grep jfs'.
Does Defensia detect CVE-2023-52799?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server with versions 6.6.0 through 6.6.2, CVE-2023-52799 will appear in your dashboard with remediation steps and priority alerts.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/20f9310a18e3e99fc031e036fcbed67105ae1859
- https://git.kernel.org/stable/c/22cad8bc1d36547cdae0eef316c47d917ce3147c
- https://git.kernel.org/stable/c/81aa58cd8495b8c3b527f58ccbe19478d8087f61
- https://git.kernel.org/stable/c/86df90f3fea7c5591f05c8a0010871d435e83046
- https://git.kernel.org/stable/c/87c681ab49e99039ff2dd3e71852417381b13878
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2023-52799. Free for 1 server.
Get started free