CVE-2024-57928: netfs: Fix enomem handling in buffered reads

Published Jan 19, 2025
·
Updated

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

8 affected components
Linux Linux kernel
Linux Linux kernel>=6.12<6.12.10
Linux Linux kernel=6.13-rc1
Linux Linux kernel=6.13-rc2
Linux Linux kernel=6.13-rc3
Linux Linux kernel=6.13-rc4
Linux Linux kernel=6.13-rc5
Linux Linux kernel=6.13-rc6

Event History

Jan 19, 2025
CVE Published
via MITRE·11:52 AM
Data Sourced
via MITRE·11:52 AM
Description
Data Sourced
via NVD·12:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-57928?

CVE-2024-57928 is classified as a medium severity vulnerability in the Linux kernel.

2

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.

3

What systems are affected by CVE-2024-57928?

CVE-2024-57928 affects various versions of the Linux kernel.

4

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.

5

When was CVE-2024-57928 disclosed?

CVE-2024-57928 was disclosed in 2024 as part of Linux kernel security updates.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203