{"id":"CVE-2026-74349","published":"2026-08-15T05:58:36Z","modified":"2026-10-16T18:55:34Z","title":"ocfs2: reject FITRIM ranges shorter than a cluster","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00126,"percentile":0.02347,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/d903d59c0315f59bdf0214b4f13d71c9feb2c45c","tags":[]},{"url":"https://git.kernel.org/stable/c/441abb77222f155e8d931dbabb465466db01cfd7","tags":[]},{"url":"https://git.kernel.org/stable/c/e652d0f5108e447b22da4249bcd23dd1b63c73dd","tags":[]},{"url":"https://git.kernel.org/stable/c/346314bb0cc2fc52b50b73d6ecc62e0217455c2e","tags":[]},{"url":"https://git.kernel.org/stable/c/06c0a0431b9856506fcd9b2c1b0c6136567d756d","tags":[]},{"url":"https://git.kernel.org/stable/c/3fa7139b5f42731a61f78c42433adae13f9adc21","tags":[]},{"url":"https://git.kernel.org/stable/c/2c13e02592b918be7725ab5965e01ef4e46c4b57","tags":[]},{"url":"https://git.kernel.org/stable/c/ca1afd88f5eaaff9168e1466e5401385edf59543","tags":[]}],"priority":{"score":5.4,"factors":[{"name":"EPSS percentile","points":0.47},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= aa89762c54800208d5afdcd8e6bf124818f17fe0, < d903d59c0315f59bdf0214b4f13d71c9feb2c45c",">= aa89762c54800208d5afdcd8e6bf124818f17fe0, < 441abb77222f155e8d931dbabb465466db01cfd7",">= aa89762c54800208d5afdcd8e6bf124818f17fe0, < e652d0f5108e447b22da4249bcd23dd1b63c73dd",">= aa89762c54800208d5afdcd8e6bf124818f17fe0, < 346314bb0cc2fc52b50b73d6ecc62e0217455c2e",">= aa89762c54800208d5afdcd8e6bf124818f17fe0, < 06c0a0431b9856506fcd9b2c1b0c6136567d756d",">= aa89762c54800208d5afdcd8e6bf124818f17fe0, < 3fa7139b5f42731a61f78c42433adae13f9adc21",">= aa89762c54800208d5afdcd8e6bf124818f17fe0, < 2c13e02592b918be7725ab5965e01ef4e46c4b57",">= aa89762c54800208d5afdcd8e6bf124818f17fe0, < ca1afd88f5eaaff9168e1466e5401385edf59543"]},{"vendor":"Linux","product":"Linux","versions":["3.14"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-16T18:54:14.069402Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-59496","exploited":false,"provenance":"source"}}