CVE-2024-47670·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: ocfs2: add bounds checking to ocfs2_xattr_find_entry() Add a paranoia check to make sure it doesn't stray beyond valid memory region containing ocfs2 xattr entries when scanning for a match. It will prevent out-of-bound access in case of crafted images.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.10.12
- Published
- 2024-10-09
Affected versions
From: 6.7
Until: 6.10.12
Fixed in: 6.10.12
How to fix this CVE
Update your Linux kernel to version 6.10.12 or later to patch the ocfs2 xattr memory bounds checking vulnerability. This update adds validation to prevent out-of-bounds memory access when processing OCFS2 filesystem xattr entries, which could be triggered by maliciously crafted filesystem images. Apply the patch immediately if you use OCFS2 on your systems, particularly in environments handling untrusted storage.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r
- Verify if OCFS2 is loaded: lsmod | grep ocfs2
- Check mounted OCFS2 filesystems: mount | grep ocfs2
- Confirm kernel build date and patch level: cat /proc/version
- After patching, reboot and run uname -r to confirm the new kernel is active
FAQ
What is CVE-2024-47670?
This vulnerability exists in the OCFS2 (Oracle Cluster File System 2) subsystem within the Linux kernel, where insufficient bounds checking in the xattr entry scanning function can allow memory access beyond allocated buffers when processing specially crafted filesystem images.
Is CVE-2024-47670 being actively exploited?
No, this vulnerability is not listed on the CISA KEV catalog and has no publicly available exploits, though it remains a moderate risk for systems using OCFS2 with untrusted storage sources.
What versions of Kernel are affected by CVE-2024-47670?
Linux kernel versions 6.7 through 6.10.11 are affected; version 6.10.12 and later contain the fix.
How do I check if my server is vulnerable to CVE-2024-47670?
Run 'uname -r' to get your kernel version; if it shows 6.7.x through 6.10.11 and OCFS2 is in use (verified with 'lsmod | grep ocfs2'), your system is vulnerable.
Does Defensia detect CVE-2024-47670?
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-2024-47670 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/1f6e167d6753fe3ea493cdc7f7de8d03147a4d39
- https://git.kernel.org/stable/c/34759b7e4493d7337cbc414c132cef378c492a2c
- https://git.kernel.org/stable/c/5bbe51eaf01a5dd6fb3f0dea81791e5dbc6dc6dd
- https://git.kernel.org/stable/c/60c0d36189bad58b1a8e69af8781d90009559ea1
- https://git.kernel.org/stable/c/8e7bef408261746c160853fc27df3139659f5f77
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-47670. Free for 1 server.
Get started free