CVE-2024-57928: netfs: Fix enomem handling in buffered reads
In the Linux kernel, the following vulnerability has been resolved:
netfs: Fix enomem handling in buffered reads
If netfsreadtopagecache() gets an error from either ->prepareread() or from netfspreparereaditerator(), it needs to decrement ->nroutstanding, 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 netfspreparereaditerator() as proposed by Dmitry Antipov[1].
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-57928?
CVE-2024-57928 is classified as a medium severity vulnerability in the Linux kernel.
How do I fix CVE-2024-57928?
To fix CVE-2024-57928, update your Linux kernel to the latest stable version provided by your distribution.
What systems are affected by CVE-2024-57928?
CVE-2024-57928 affects various versions of the Linux kernel.
What is the impact of CVE-2024-57928?
CVE-2024-57928 could potentially lead to denial of service due to improper error handling during buffered reads.
When was CVE-2024-57928 disclosed?
CVE-2024-57928 was disclosed in 2024 as part of Linux kernel security updates.