{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-74349","id":"CVE-2026-74349","title":"ocfs2: reject FITRIM ranges shorter than a cluster","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: reject FITRIM ranges shorter than a cluster\n\nocfs2_trim_mainbm() trims the global bitmap in cluster units, but its\ntoo-short range validation only checks sb->s_blocksize.\n\nOn filesystems with a cluster size larger than the block size, a FITRIM\nrange that is at least one block but shorter than one cluster is accepted\nand sh","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: reject FITRIM ranges shorter than a cluster\n\nocfs2_trim_mainbm() trims the global bitmap in cluster units, but its\ntoo-short range validation only checks sb->s_blocksize.\n\nOn filesystems with a cluster size larger than the block size, a FITRIM\nrange that is at least one block but shorter than one cluster is accepted\nand shifted down to len == 0.  The later start + len - 1 and len -= ... \narithmetic then underflows and can drive trimming past the requested\nrange.\n\nReject ranges shorter than s_clustersize instead.  That preserves the\nexisting -EINVAL behavior for requests that cannot discard even one\nallocation unit and keeps zero-cluster trims out of the group walk.","published":"2026-08-15T05:58:36.630Z","updated":"2026-11-14T17:28:40.557961957Z","reserved":"2026-08-15T05:44:03.886Z","status":"Received","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"aa89762c54800208d5afdcd8e6bf124818f17fe0","lessThan":"d903d59c0315f59bdf0214b4f13d71c9feb2c45c","status":"affected","versionType":"git"},{"version":"aa89762c54800208d5afdcd8e6bf124818f17fe0","lessThan":"441abb77222f155e8d931dbabb465466db01cfd7","status":"affected","versionType":"git"},{"version":"aa89762c54800208d5afdcd8e6bf124818f17fe0","lessThan":"e652d0f5108e447b22da4249bcd23dd1b63c73dd","status":"affected","versionType":"git"},{"version":"aa89762c54800208d5afdcd8e6bf124818f17fe0","lessThan":"346314bb0cc2fc52b50b73d6ecc62e0217455c2e","status":"affected","versionType":"git"},{"version":"aa89762c54800208d5afdcd8e6bf124818f17fe0","lessThan":"06c0a0431b9856506fcd9b2c1b0c6136567d756d","status":"affected","versionType":"git"},{"version":"aa89762c54800208d5afdcd8e6bf124818f17fe0","lessThan":"3fa7139b5f42731a61f78c42433adae13f9adc21","status":"affected","versionType":"git"},{"version":"aa89762c54800208d5afdcd8e6bf124818f17fe0","lessThan":"2c13e02592b918be7725ab5965e01ef4e46c4b57","status":"affected","versionType":"git"},{"version":"aa89762c54800208d5afdcd8e6bf124818f17fe0","lessThan":"ca1afd88f5eaaff9168e1466e5401385edf59543","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.14","status":"affected"},{"version":"0","lessThan":"3.14","status":"unaffected","versionType":"semver"},{"version":"5.10.261","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.212","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.178","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.145","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.97","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.40","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.1.5","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/d903d59c0315f59bdf0214b4f13d71c9feb2c45c","tags":["web"]},{"url":"https://git.kernel.org/stable/c/441abb77222f155e8d931dbabb465466db01cfd7","tags":["web"]},{"url":"https://git.kernel.org/stable/c/e652d0f5108e447b22da4249bcd23dd1b63c73dd","tags":["web"]},{"url":"https://git.kernel.org/stable/c/346314bb0cc2fc52b50b73d6ecc62e0217455c2e","tags":["web"]},{"url":"https://git.kernel.org/stable/c/06c0a0431b9856506fcd9b2c1b0c6136567d756d","tags":["web"]},{"url":"https://git.kernel.org/stable/c/3fa7139b5f42731a61f78c42433adae13f9adc21","tags":["web"]},{"url":"https://git.kernel.org/stable/c/2c13e02592b918be7725ab5965e01ef4e46c4b57","tags":["web"]},{"url":"https://git.kernel.org/stable/c/ca1afd88f5eaaff9168e1466e5401385edf59543","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74349.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74349","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00126,"epssPercentile":0.02358,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-74349","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74349","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-74349","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-74349","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}