CVE-2024-57839
Severity CVSS v4.0:
Pending analysis
Type:
CWE-704
Incorrect Type Conversion or Cast
Publication date:
11/01/2025
Last modified:
17/10/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
Revert "readahead: properly shorten readahead when falling back to do_page_cache_ra()"<br />
<br />
This reverts commit 7c877586da3178974a8a94577b6045a48377ff25.<br />
<br />
Anders and Philippe have reported that recent kernels occasionally hang<br />
when used with NFS in readahead code. The problem has been bisected to<br />
7c877586da3 ("readahead: properly shorten readahead when falling back to<br />
do_page_cache_ra()"). The cause of the problem is that ra->size can be<br />
shrunk by read_pages() call and subsequently we end up calling<br />
do_page_cache_ra() with negative (read huge positive) number of pages. <br />
Let&#39;s revert 7c877586da3 for now until we can find a proper way how the<br />
logic in read_pages() and page_cache_ra_order() can coexist. This can<br />
lead to reduced readahead throughput due to readahead window confusion but<br />
that&#39;s better than outright hangs.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.11 (including) | 6.12.5 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



