CVE-2026-74349

Source
https://cve.org/CVERecord?id=CVE-2026-74349
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74349.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-74349
Downstream
Published
2026-08-15T05:58:36.630Z
Modified
2026-08-18T03:56:54.499474123Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
Summary
ocfs2: reject FITRIM ranges shorter than a cluster
Details

In the Linux kernel, the following vulnerability has been resolved:

ocfs2: reject FITRIM ranges shorter than a cluster

ocfs2trimmainbm() 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74349.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
aa89762c54800208d5afdcd8e6bf124818f17fe0
Fixed
d903d59c0315f59bdf0214b4f13d71c9feb2c45c
Fixed
441abb77222f155e8d931dbabb465466db01cfd7
Fixed
e652d0f5108e447b22da4249bcd23dd1b63c73dd
Fixed
346314bb0cc2fc52b50b73d6ecc62e0217455c2e
Fixed
06c0a0431b9856506fcd9b2c1b0c6136567d756d
Fixed
3fa7139b5f42731a61f78c42433adae13f9adc21
Fixed
2c13e02592b918be7725ab5965e01ef4e46c4b57
Fixed
ca1afd88f5eaaff9168e1466e5401385edf59543

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74349.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.14.0
Fixed
5.10.261
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.212
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.178
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74349.json"