{"id":"CVE-2026-74349","aliases":["CVE-2026-74349"],"related":[],"kind":"vulnerability","state":"published","title":"ocfs2: reject FITRIM ranges shorter than a cluster","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-08-15T05:58:36.630Z","modified":"2026-10-16T19:17:40.977Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":7.1,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"aa89762c54800208d5afdcd8e6bf124818f17fe0","fixed":"d903d59c0315f59bdf0214b4f13d71c9feb2c45c","status":"affected"},{"type":"git","introduced":"aa89762c54800208d5afdcd8e6bf124818f17fe0","fixed":"441abb77222f155e8d931dbabb465466db01cfd7","status":"affected"},{"type":"git","introduced":"aa89762c54800208d5afdcd8e6bf124818f17fe0","fixed":"e652d0f5108e447b22da4249bcd23dd1b63c73dd","status":"affected"},{"type":"git","introduced":"aa89762c54800208d5afdcd8e6bf124818f17fe0","fixed":"346314bb0cc2fc52b50b73d6ecc62e0217455c2e","status":"affected"},{"type":"git","introduced":"aa89762c54800208d5afdcd8e6bf124818f17fe0","fixed":"06c0a0431b9856506fcd9b2c1b0c6136567d756d","status":"affected"},{"type":"git","introduced":"aa89762c54800208d5afdcd8e6bf124818f17fe0","fixed":"3fa7139b5f42731a61f78c42433adae13f9adc21","status":"affected"},{"type":"git","introduced":"aa89762c54800208d5afdcd8e6bf124818f17fe0","fixed":"2c13e02592b918be7725ab5965e01ef4e46c4b57","status":"affected"},{"type":"git","introduced":"aa89762c54800208d5afdcd8e6bf124818f17fe0","fixed":"ca1afd88f5eaaff9168e1466e5401385edf59543","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.14","status":"unaffected"},{"type":"semver","introduced":"5.10.261","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.212","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/d903d59c0315f59bdf0214b4f13d71c9feb2c45c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/441abb77222f155e8d931dbabb465466db01cfd7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e652d0f5108e447b22da4249bcd23dd1b63c73dd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/346314bb0cc2fc52b50b73d6ecc62e0217455c2e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/06c0a0431b9856506fcd9b2c1b0c6136567d756d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3fa7139b5f42731a61f78c42433adae13f9adc21","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2c13e02592b918be7725ab5965e01ef4e46c4b57","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ca1afd88f5eaaff9168e1466e5401385edf59543","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-16T18:54:14.069Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74349","url":"https://www.cve.org/CVERecord?id=CVE-2026-74349","licence":"CVE Terms of Use","modified":"2026-10-16T18:55:34.720Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74349","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74349","licence":"Public domain","modified":"2026-10-16T19:17:40.977Z"}],"updatedAt":"2026-11-25T22:59:33.178Z","epss":{"score":0.00126,"percentile":0.0247,"date":"2026-12-01T12:00:22.000Z"}}