CVE-2024-56570·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: ovl: Filter invalid inodes with missing lookup function Add a check to the ovl_dentry_weird() function to prevent the processing of directory inodes that lack the lookup function. This is important because such inodes can cause errors in overlayfs when passed to the lowerstack.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.12.4
- Published
- 2024-12-27
Affected versions
From: 6.7
Until: 6.12.4
Fixed in: 6.12.4
How to fix this CVE
Update your Linux kernel to version 6.12.4 or later to remediate CVE-2024-56570, which fixes a critical flaw in overlayfs that could cause kernel errors when processing malformed directory inodes. Systems running kernel versions 6.7 through 6.12.3 should prioritize this update, as the vulnerability affects the overlay filesystem's ability to validate inodes passed to the lower stack.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check installed kernel version with: uname -r — compare against affected range 6.7–6.12.3
- Step 2: Verify if overlayfs is in use with: mount | grep overlay — if output shows overlay mounts, the system uses the vulnerable component
- Step 3: Search kernel logs for overlayfs errors with: sudo grep -i 'overlayfs\|ovl_dentry' /var/log/kern.log — look for entries indicating invalid inode processing failures
- Step 4: After patching, reboot and confirm new kernel version with uname -r, then verify overlayfs still mounts correctly with mount | grep overlay
FAQ
What is CVE-2024-56570?
CVE-2024-56570 is a kernel vulnerability in overlayfs that fails to filter out directory inodes missing the lookup function, leading to processing errors when these malformed inodes are passed through the lower stack. This can cause kernel panics or filesystem corruption in systems using overlay mounts.
Is CVE-2024-56570 being actively exploited?
No, CVE-2024-56570 is not listed in CISA's Known Exploited Vulnerabilities catalog, and no public exploits are currently available.
What versions of Kernel are affected by CVE-2024-56570?
Linux kernel versions 6.7 through 6.12.3 are vulnerable; the fix is included in kernel 6.12.4 and later.
How do I check if my server is vulnerable to CVE-2024-56570?
Run uname -r to retrieve your kernel version and verify it falls within the 6.7–6.12.3 range; if so, your system is vulnerable and requires immediate patching.
Does Defensia detect CVE-2024-56570?
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-56570 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/065bf5dd21639f80e68450de16bda829784dbb8c
- https://git.kernel.org/stable/c/5f86e79c0b2287ffdabe6c1b305a36c4e0f40fe3
- https://git.kernel.org/stable/c/72014e7745cc8250bb8f27bd78694dfd3f1b5773
- https://git.kernel.org/stable/c/749eac5a6687ec99116e0691d0d71225254654e3
- https://git.kernel.org/stable/c/c8b359dddb418c60df1a69beea01d1b3322bfe83
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-56570. Free for 1 server.
Get started free