CVE-2024-57928·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: netfs: Fix enomem handling in buffered reads If netfs_read_to_pagecache() gets an error from either ->prepare_read() or from netfs_prepare_read_iterator(), it needs to decrement ->nr_outstanding, cancel the subrequest and break out of the issuing loop. Currently, it only does this for two of the cases, but there are two more that aren't handled. Fix this by moving the handling to a common place and jumping to it from all four places. This is in preference to inserting a wrapper around netfs_prepare_read_iterator() as proposed by Dmitry Antipov[1].
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.12.10
- Published
- 2025-01-19
Affected versions
From: 6.12
Until: 6.12.10
Fixed in: 6.12.10
How to fix this CVE
Update your Linux kernel to version 6.12.10 or later to resolve a memory handling flaw in the netfs buffered read pathway. This vulnerability affects systems running kernel versions 6.12 through 6.12.9, where certain error conditions during read operations fail to properly clean up resources and decrement outstanding request counters. Apply the patched kernel version through your distribution's package manager and reboot to activate the fix.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Run `uname -r` to check the currently running kernel version and confirm if it falls within 6.12.0 to 6.12.9 range
- Execute `cat /boot/config-$(uname -r) | grep CONFIG_NETFS` to verify netfs module is compiled into your kernel
- Search system logs for read operation failures: `sudo grep -i 'netfs.*error\|read.*failed' /var/log/kern.log /var/log/messages` to identify if the vulnerability was triggered
- After patching, run `uname -r` again and confirm the kernel version is 6.12.10 or newer, then verify the system booted the new kernel with `dmesg | head -20`
FAQ
What is CVE-2024-57928?
CVE-2024-57928 is a resource management flaw in the Linux kernel's netfs subsystem where error conditions during buffered read operations fail to properly decrement outstanding request counters and cancel subrequests, potentially leading to resource exhaustion and denial of service.
Is CVE-2024-57928 being actively exploited?
No, there is no evidence of active exploitation in the wild according to CISA. No public exploits are currently available.
What versions of Kernel are affected by CVE-2024-57928?
Linux kernel versions 6.12.0 through 6.12.9 are affected. Version 6.12.10 and later contain the fix.
How do I check if my server is vulnerable to CVE-2024-57928?
Run `uname -r` and check if the output shows a version between 6.12.0 and 6.12.9. If it does, your system is vulnerable and requires immediate patching.
Does Defensia detect CVE-2024-57928?
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-57928 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-57928. Free for 1 server.
Get started free