CVE-2026-74349

ocfs2: reject FITRIM ranges shorter than a cluster

HIGH
7.1
CVSS Score
Published: August 15, 2026 at 05:58 AM UTC
Updated: October 16, 2026 at 07:17 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.1%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: ocfs2: reject FITRIM ranges shorter than a cluster ocfs2_trim_mainbm() trims the global bitmap in cluster units, but its too-short range validation only checks sb->s_blocksize. On filesystems with a cluster size larger than the block size, a FITRIM range that is at least one block but shorter than one cluster is accepted and shifted down to len == 0. The later start + len - 1 and len -= ... arithmetic then underflows and can drive trimming past the requested range. Reject ranges shorter than s_clustersize instead. That preserves the existing -EINVAL behavior for requests that cannot discard even one allocation unit and keeps zero-cluster trims out of the group walk.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.14aa89762c54800208d5afdcd8e6bf124818f17fe0
Vendor states this is fixed in 06c0a0431b9856506fcd9b2c1b0c6136567d756d (fixed)
Vendor states this is fixed in 2c13e02592b918be7725ab5965e01ef4e46c4b57 (fixed)
Vendor states this is fixed in 346314bb0cc2fc52b50b73d6ecc62e0217455c2e (fixed)
Vendor states this is fixed in 3fa7139b5f42731a61f78c42433adae13f9adc21 (fixed)
Vendor states this is fixed in 441abb77222f155e8d931dbabb465466db01cfd7 (fixed)
Vendor states this is fixed in ca1afd88f5eaaff9168e1466e5401385edf59543 (fixed)
Vendor states this is fixed in d903d59c0315f59bdf0214b4f13d71c9feb2c45c (fixed)
Vendor states this is fixed in e652d0f5108e447b22da4249bcd23dd1b63c73dd (fixed)
Vendor states this is fixed in 3.14 (unaffected)
Vendor states this is fixed in 5.10.261 (unaffected)
Vendor states this is fixed in 5.15.212 (unaffected)
Vendor states this is fixed in 6.1.178 (unaffected)
Vendor states this is fixed in 6.12.97 (unaffected)
Vendor states this is fixed in 6.18.40 (unaffected)
Vendor states this is fixed in 6.6.145 (unaffected)
Vendor states this is fixed in 7.1.5 (unaffected)
Vendor states this is fixed in 7.2 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.1HIGHLinux
Vector?

Quick Info

StatusRECEIVED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card