# CVE-2025-21988: fs/netfs/read_collect: add to next->prev_donated

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 35% of CVEs (2026-12-01)
- Published: 2025-04-02T12:53:12.170Z
- Modified: 2026-08-05T11:55:52.895Z
- Assigned by: Linux

## 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").

(As written by CVE List.)

## Affected

- Linux Linux: from ee4cdf7ba857a894ad1650d6ab77669cbbfa329e before 62b9ad7e52d4777f7e775ee1f0ad2452f6041024; from ee4cdf7ba857a894ad1650d6ab77669cbbfa329e before e25cec3b76aba47a49138d2162fc809c6cd49c9e; from ee4cdf7ba857a894ad1650d6ab77669cbbfa329e before e2d46f2ec332533816417b60933954173f602121; 6.12 (not affected: before 6.12; from 6.12.20 up to 6.12.*; from 6.13.8 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 6.12 before 6.12.20; from 6.13 before 6.13.8

## Every score

- Linux: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/62b9ad7e52d4777f7e775ee1f0ad2452f6041024> (patch)
- <https://git.kernel.org/stable/c/e25cec3b76aba47a49138d2162fc809c6cd49c9e> (patch)
- <https://git.kernel.org/stable/c/e2d46f2ec332533816417b60933954173f602121> (patch)

## Sources

- CVE List: [CVE-2025-21988](https://www.cve.org/CVERecord?id=CVE-2025-21988), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-21988](https://nvd.nist.gov/vuln/detail/CVE-2025-21988), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-21988 · Whole record: https://cve.day/CVE-2025-21988.json · Rebuilt by cve.day 2026-11-25T22:58:55.951Z
