CVE-2026-74349

ocfs2: reject FITRIM ranges shorter than a cluster

7.1 high EPSS 0.13%

Published 15 Aug 2026 Updated 16 Oct 2026 CNA: Linux

Check your servers for CVE-2026-74349

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-74349 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.1 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.13%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.47% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 16 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from aa89762c54800208d5afdcd8e6bf124818f17fe0, before d903d59c0315f59bdf0214b4f13d71c9feb2c45c
affected from aa89762c54800208d5afdcd8e6bf124818f17fe0, before 441abb77222f155e8d931dbabb465466db01cfd7
affected from aa89762c54800208d5afdcd8e6bf124818f17fe0, before e652d0f5108e447b22da4249bcd23dd1b63c73dd
affected from aa89762c54800208d5afdcd8e6bf124818f17fe0, before 346314bb0cc2fc52b50b73d6ecc62e0217455c2e
affected from aa89762c54800208d5afdcd8e6bf124818f17fe0, before 06c0a0431b9856506fcd9b2c1b0c6136567d756d
affected from aa89762c54800208d5afdcd8e6bf124818f17fe0, before 3fa7139b5f42731a61f78c42433adae13f9adc21
affected from aa89762c54800208d5afdcd8e6bf124818f17fe0, before 2c13e02592b918be7725ab5965e01ef4e46c4b57
affected from aa89762c54800208d5afdcd8e6bf124818f17fe0, before ca1afd88f5eaaff9168e1466e5401385edf59543
Other versions: unaffected
Linux
affected 3.14
unaffected before 3.14
unaffected from 5.10.261 up to and including 5.10.*
unaffected from 5.15.212 up to and including 5.15.*
unaffected from 6.1.178 up to and including 6.1.*
unaffected from 6.6.145 up to and including 6.6.*
unaffected from 6.12.97 up to and including 6.12.*
unaffected from 6.18.40 up to and including 6.18.*
unaffected from 7.1.5 up to and including 7.1.*
unaffected 7.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-74349 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-74349

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-74349
trivy image --scanners vuln IMAGE | grep CVE-2026-74349

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-74349 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.