CVE-2025-21988

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-21988
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21988.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-21988
Downstream
Published
2025-04-02T12:53:12.170Z
Modified
2025-11-28T02:35:14.573988Z
Summary
fs/netfs/read_collect: add to next->prev_donated
Details

In the Linux kernel, the following vulnerability has been resolved:

fs/netfs/readcollect: add to next->prevdonated

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

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21988.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ee4cdf7ba857a894ad1650d6ab77669cbbfa329e
Fixed
62b9ad7e52d4777f7e775ee1f0ad2452f6041024
Fixed
e25cec3b76aba47a49138d2162fc809c6cd49c9e
Fixed
e2d46f2ec332533816417b60933954173f602121

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.12.0
Fixed
6.12.20
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.13.8