First published: Sat Jan 11 2025(Updated: )
In the Linux kernel, the following vulnerability has been resolved: Revert "readahead: properly shorten readahead when falling back to do_page_cache_ra()" 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 do_page_cache_ra()"). The cause of the problem is that ra->size can be shrunk by read_pages() call and subsequently we end up calling do_page_cache_ra() 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 read_pages() and page_cache_ra_order() can coexist. This can lead to reduced readahead throughput due to readahead window confusion but that's better than outright hangs.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | ||
debian/linux | 5.10.223-1 5.10.234-1 6.1.129-1 6.1.128-1 6.12.21-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
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.
CVE-2024-57839 affects certain versions of the Linux kernel where the revert of specific commit occurred.
To fix CVE-2024-57839, ensure that you are running an updated version of the Linux kernel that includes the patch for this vulnerability.
CVE-2024-57839 is related to an issue with the readahead functionality in the Linux kernel that has been reverted.
Yes, CVE-2024-57839 has been resolved in the latest kernel updates that you should apply.