CVE-2024-57928
HIGH 7.1CVSS 3.1In the Linux kernel, the following vulnerability has been resolved:
netfs: Fix enomem handling in buffered reads
If netfs_read_to_pagecache() gets an error from either ->prepare_read() or
from netfs_prepare_read_iterator(), it needs to decrement ->nr_outstanding,
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
netfs_prepare_read_iterator() as proposed by Dmitry Antipov[1].
- Published
- 19 Jan 2025
- Last modified
- 17 Jun 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Analyzed
- Weakness
- CWE-125
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.12, < 6.12.10 | 6.12.10 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:* |
= 6.13 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:* |
= 6.13 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.13:rc3:*:*:*:*:*:* |
= 6.13 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.13:rc4:*:*:*:*:*:* |
= 6.13 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.13:rc5:*:*:*:*:*:* |
= 6.13 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.13:rc6:*:*:*:*:*:* |
= 6.13 |
References
- https://git.kernel.org/stable/c/105549d09a539a876b7c3330ab52d8aceedad358 · Patch
- https://git.kernel.org/stable/c/88ecdfea1b333de5c51442b45cd549eeadf01852 · Patch
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 19 Jan 2025)