CVE-2026-139704
publishedgfs2: Fix journaled truncate range end offset
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux4e56a6411fbce6f859566e17298114c2434391a4 to < 1bf88a382dc8a06ca3bc7b7849d7045e618e41c1 · 4e56a6411fbce6f859566e17298114c2434391a4 to < e6ea1eacb3988d2c4b90412badddeacfeee0c318 · 4e56a6411fbce6f859566e17298114c2434391a4 to < 282c82534c0e9e113e5f7c41bda47c1ede721e4a · 4e56a6411fbce6f859566e17298114c2434391a4 to < f71ffad8d4e3468bb09f3039d38b53f8018decaa · 4e56a6411fbce6f859566e17298114c2434391a4 to < 8e76c9b7d07ba843fc4b5f129f173696efb2d07d · 4e56a6411fbce6f859566e17298114c2434391a4 to < cea217b9001415115dff5c54a882796b3d4486c6 · 4e56a6411fbce6f859566e17298114c2434391a4 to < e33759a1f4f50a2acd609acff81c0e855df111ba · 4e56a6411fbce6f859566e17298114c2434391a4 to < a52652efd8f985397e87669f505af83f06e335cf · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.16 (affected) · 0 to < 4.16 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 4e56a6411fbce6f859566e17298114c2434391a4 to < 1bf88a382dc8a06ca3bc7b7849d7045e618e41c1 (affected · git)4e56a6411fbce6f859566e17298114c2434391a4 to < e6ea1eacb3988d2c4b90412badddeacfeee0c318 (affected · git)4e56a6411fbce6f859566e17298114c2434391a4 to < 282c82534c0e9e113e5f7c41bda47c1ede721e4a (affected · git)4e56a6411fbce6f859566e17298114c2434391a4 to < f71ffad8d4e3468bb09f3039d38b53f8018decaa (affected · git)4e56a6411fbce6f859566e17298114c2434391a4 to < 8e76c9b7d07ba843fc4b5f129f173696efb2d07d (affected · git)4e56a6411fbce6f859566e17298114c2434391a4 to < cea217b9001415115dff5c54a882796b3d4486c6 (affected · git)4e56a6411fbce6f859566e17298114c2434391a4 to < e33759a1f4f50a2acd609acff81c0e855df111ba (affected · git)4e56a6411fbce6f859566e17298114c2434391a4 to < a52652efd8f985397e87669f505af83f06e335cf (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.16 (affected)0 to < 4.16 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/1bf88a382dc8a06ca3bc7b7849d7045e618e41c1
- https://git.kernel.org/stable/c/282c82534c0e9e113e5f7c41bda47c1ede721e4a
- https://git.kernel.org/stable/c/8e76c9b7d07ba843fc4b5f129f173696efb2d07d
- https://git.kernel.org/stable/c/a52652efd8f985397e87669f505af83f06e335cf
- https://git.kernel.org/stable/c/cea217b9001415115dff5c54a882796b3d4486c6
- https://git.kernel.org/stable/c/e33759a1f4f50a2acd609acff81c0e855df111ba
- https://git.kernel.org/stable/c/e6ea1eacb3988d2c4b90412badddeacfeee0c318
- https://git.kernel.org/stable/c/f71ffad8d4e3468bb09f3039d38b53f8018decaa
Provider assertions
1Linux · cna
gfs2: Fix journaled truncate range end offset
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cb865dde0f28b47fb56ea069ae450ab59e2c2f094e223d79d996d4983a858adc
- Ingested
- 30 Nov 2026, 13:43:49 UTC
- Source record
- Official CVE record