CVE-2024-56597·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: jfs: fix shift-out-of-bounds in dbSplit When dmt_budmin is less than zero, it causes errors in the later stages. Added a check to return an error beforehand in dbAllocCtl itself.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.12.5
- Published
- 2024-12-27
Affected versions
From: 6.7
Until: 6.12.5
Fixed in: 6.12.5
How to fix this CVE
Update your Linux kernel to version 6.12.5 or later to remediate CVE-2024-56597, a memory allocation vulnerability in the JFS filesystem driver. This vulnerability allows local users with limited privileges to trigger a denial-of-service condition or potentially read sensitive kernel memory through improper bounds checking in the database block allocation routine. Kernel updates should be applied promptly and followed by a system reboot to activate the patched code.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r | grep -E '^6\.(7|8|9|10|11|12\.[0-4])'
- Verify JFS filesystem is in use: mount | grep -i jfs or df -t jfs
- Review kernel logs for allocation errors: sudo journalctl -k | grep -i 'jfs\|dbSplit\|shift\|out of bounds'
- Confirm kernel patch level after update: uname -r should show 6.12.5 or higher
FAQ
What is CVE-2024-56597?
CVE-2024-56597 is a kernel vulnerability in the JFS filesystem driver where insufficient validation of memory allocation parameters can cause a shift-out-of-bounds error, potentially leading to denial-of-service or unauthorized memory disclosure by local attackers.
Is CVE-2024-56597 being actively exploited?
No, CVE-2024-56597 is not listed in the CISA Known Exploited Vulnerabilities catalog and no public exploits are currently available.
What versions of Kernel are affected by CVE-2024-56597?
Linux kernel versions 6.7 through 6.12.4 are affected. The vulnerability is fixed in kernel 6.12.5 and later.
How do I check if my server is vulnerable to CVE-2024-56597?
Run 'uname -r' and compare output against 6.12.5—if your version is between 6.7 and 6.12.4 inclusive, and you use JFS filesystems (check with 'mount | grep jfs'), your system is vulnerable.
Does Defensia detect CVE-2024-56597?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2024-56597 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/51a203470f502a64a3da8dcea51c4748e8267a6c
- https://git.kernel.org/stable/c/52756a57e978e2706543a254f88f266cc6702f36
- https://git.kernel.org/stable/c/6676034aa753aa448beb30dbd75630927ba7cd96
- https://git.kernel.org/stable/c/a5f5e4698f8abbb25fe4959814093fb5bfa1aa9d
- https://git.kernel.org/stable/c/bbb24ce7f06ef9b7c05beb9340787cbe9fd3d08e
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-56597. Free for 1 server.
Get started free