Incorrect range end in Linux kernel gfs2 journaled truncate
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
The Linux kernel gfs2 filesystem, from 4.16, passes the length of each chunk instead of the inclusive end offset to truncate_pagecache_range() in gfs2_journaled_truncate_range(). A hole punch at an offset larger than its length therefore creates an inverted range. The memory management truncation path then underflows a partial-folio length and can trigger a kernel BUG.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: gfs2: Fix journaled truncate range end offset The third argument to truncate_pagecache_range() is the inclusive end offset, but gfs2_journaled_truncate_range() passes the length of each chunk. A hole punch at an offset larger than its length therefore creates an inverted range. Commit 86066914edff ("gfs2: Don't support fallocate on jdata files") disables fallocate for jdata files. Otherwise, the following bug could occur: The MM truncation path then underflows the unsigned partial-folio length and passes an oversized range to folio_zero_range(), triggering a BUG. Pass the last byte of the chunk so page-cache invalidation covers the intended range.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 4.16 and later | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1 | Patch available | CNA |
- Linux VendorLinux Affected 4.16 and later Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1 Patch available CNA
Remediation
Update the Linux kernel to 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 or 7.4-rc1, depending on the stable branch in use.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139704
- 2026-11-30 Alias added: GHSA-cpcg-8wf7-cjq3
References
Other 8
- https://git.kernel.org/stable/c/1bf88a382dc8a06ca3bc7b7849d7045e618e41c1
- https://git.kernel.org/stable/c/e6ea1eacb3988d2c4b90412badddeacfeee0c318
- https://git.kernel.org/stable/c/282c82534c0e9e113e5f7c41bda47c1ede721e4a
- https://git.kernel.org/stable/c/f71ffad8d4e3468bb09f3039d38b53f8018decaa
- https://git.kernel.org/stable/c/8e76c9b7d07ba843fc4b5f129f173696efb2d07d
- https://git.kernel.org/stable/c/cea217b9001415115dff5c54a882796b3d4486c6
- https://git.kernel.org/stable/c/e33759a1f4f50a2acd609acff81c0e855df111ba
- https://git.kernel.org/stable/c/a52652efd8f985397e87669f505af83f06e335cf
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-139704 · CVE Program
- CVE-2026-139704 · NVD
- GHSA-cpcg-8wf7-cjq3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences