What’s Vulnerable › Vulnerabilities
CVE-2025-21988: fs/netfs/read_collect: add to next->prev_donated
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-04-02 · updated 2026-07-30
Description
In the Linux kernel, the following vulnerability has been resolved: fs/netfs/read_collect: add to next->prev_donated If multiple subrequests donate data to the same "next" request (depending on the subrequest completion order), each of them would overwrite the `prev_donated` field, causing data corruption and a BUG() crash ("Can't donate prior to front").
Affected products
- Linux kernel: from 6.12 before 6.12.20; from 6.13 before 6.13.8 — fixed in 6.12.20, 6.13.8
How to fix
Upgrade to a fixed version: Linux kernel 6.12.20, 6.13.8. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/62b9ad7e52d4777f7e775ee1f0ad2452f6041024
- https://git.kernel.org/stable/c/e25cec3b76aba47a49138d2162fc809c6cd49c9e
- https://git.kernel.org/stable/c/e2d46f2ec332533816417b60933954173f602121
Get alerted when CVE-2025-21988 or the next vulnerability affects your stack