Bug 2587193 (CVE-2026-139704) - CVE-2026-139704 kernel: kernel: gfs2: Denial of Service via incorrect truncate range calculation
Summary: CVE-2026-139704 kernel: kernel: gfs2: Denial of Service via incorrect truncat...
Keywords:
Status: NEW
Alias: CVE-2026-139704
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 15:05 UTC by OSIDB Bzimport
Modified: 2026-12-01 12:58 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 15:05:05 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.