Linux fs_context cumulative-length underflow
The legacy filesystem-parameter size check subtracted an almost-full buffer size from PAGE_SIZE, wrapped to a huge value, and allowed subsequent writes past a page allocation.
- Product
- Linux kernel
- Vendor
- Linux
- Affected
- Linux kernel 5.1 through 5.16.1, including affected stable branches before 5.4.173, 5.10.93, and 5.15.16
- Fixed in
- 5.4.173, 5.10.93, 5.15.16, 5.16.2, and corresponding vendor backports
- Weakness
- CWE-191
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 11 Feb 2022
Classified as
References
Related CVEs
- CVE-2026-46300high 7.82026
Fragnesia: Linux shared-fragment marker loss
Socket-buffer coalescing can transfer page-backed fragment descriptors without their shared marker, causing later ESP processing to decrypt shared data in place.
- CVE-2024-1086high 7.82024
Linux nf_tables double-free via unvalidated verdict (CVE-2024-1086)
A packet-verdict validator checks only the masked action bits, so a DROP verdict carrying a positive error field slips through; the drop path then frees the packet and returns that positive value as an accept, freeing it a second time.
- CVE-2023-3269high 7.82023
StackRot: maple-tree VMA node freed under the read lock
During stack expansion the kernel replaces a node in the RCU-safe VMA tree and frees the old node, while holding only the shared read lock, so a concurrent read-lock-only lookup can dereference the freed node.
- CVE-2022-0847high 7.82022
Dirty Pipe: uninitialized pipe-buffer flag overwrites read-only pages
A newly populated pipe buffer never resets its flags field, so a stale merge flag lets a later write land directly in a read-only file's page cache.