CVE-2024-57839: Revert "readahead: properly shorten readahead when falling back to do_page_cache_ra()"

Published Jan 11, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

Revert "readahead: properly shorten readahead when falling back to dopagecachera()"

This reverts commit 7c877586da3178974a8a94577b6045a48377ff25.

Anders and Philippe have reported that recent kernels occasionally hang when used with NFS in readahead code. The problem has been bisected to 7c877586da3 ("readahead: properly shorten readahead when falling back to dopagecachera()"). The cause of the problem is that ra->size can be shrunk by readpages() call and subsequently we end up calling dopagecachera() with negative (read huge positive) number of pages. Let's revert 7c877586da3 for now until we can find a proper way how the logic in readpages() and pagecacheraorder() can coexist. This can lead to reduced readahead throughput due to readahead window confusion but that's better than outright hangs.

Other sources

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

Launchpad

Affected Software

4 affected componentsFixes available
Linux Kernel
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.27-1
Linux Linux kernel>=6.11<6.12.5
Linux Linux kernel=6.13-rc1

Event History

Jan 11, 2025
CVE Published
via MITRE·02:30 PM
Data Sourced
via MITRE·02:30 PM
Description
Data Sourced
via NVD·03:15 PM
Description
Data Sourced
via NVD·03:15 PM
RemedySeverityWeaknessAffected Software
Mar 31, 2025
Data Sourced
via Launchpad·06:50 PM
Description
Apr 4, 2025
Data Sourced
via Ubuntu·06:47 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-57839?

The severity of CVE-2024-57839 has not been explicitly rated, but vulnerabilities in the Linux kernel can vary depending on their impact on system security and stability.

2

What systems are affected by CVE-2024-57839?

CVE-2024-57839 affects certain versions of the Linux kernel where the revert of specific commit occurred.

3

How do I fix CVE-2024-57839?

To fix CVE-2024-57839, ensure that you are running an updated version of the Linux kernel that includes the patch for this vulnerability.

4

What is the nature of CVE-2024-57839?

CVE-2024-57839 is related to an issue with the readahead functionality in the Linux kernel that has been reverted.

5

Has CVE-2024-57839 been patched in recent kernel releases?

Yes, CVE-2024-57839 has been resolved in the latest kernel updates that you should apply.

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