{"id":"CVE-2026-98135","published":"2026-09-25T10:36:13Z","modified":"2026-10-19T09:14:29Z","title":"ntfs: reject invalid sectors_per_cluster in the boot sector","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: reject invalid sectors_per_cluster in the boot sector\n\nis_boot_sector_ntfs() checks the boot sector's sectors_per_cluster field\nwith a range test that rejects 0x81..0xf3 but accepts 0 and other\nnon-power-of-two counts. A zero value reaches parse_ntfs_boot_sector():\n\n\tsectors_per_cluster_bits = ffs(sectors_per_cluster) - 1;\n\t...\n\tvol->cluster_size = vol->sector_size << sectors_per_cluster_bits;\n\nffs(0) is 0, so sectors_per_cluster_bits becomes (unsigned)-1 and the\nshift is undefined:\n\n  UBSAN: shift-out-of-bounds in fs/ntfs/super.c:673:39\n  shift exponent 4294967295 is too large for 32-bit type 'int'\n\nThis change rejects any non-power-of-two value, since it feeds the\naforementioned shift via ffs() - 1, which only yields the correct shift for a\npower of two.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.001,"percentile":0.00861,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/7524c3145a3bac92bebbc47a29c007f1d874c9b3","tags":[]},{"url":"https://git.kernel.org/stable/c/323751a604e7533fa473874d999371592a614207","tags":[]}],"priority":{"score":0.2,"factors":[{"name":"EPSS percentile","points":0.17}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 6251f0b0de7d645e3591931ca4c11d8322c1866f, < 7524c3145a3bac92bebbc47a29c007f1d874c9b3",">= 6251f0b0de7d645e3591931ca4c11d8322c1866f, < 323751a604e7533fa473874d999371592a614207"]},{"vendor":"Linux","product":"Linux","versions":["7.1"]}],"euvd":{"id":"EUVD-2026-86966","exploited":false,"provenance":"source"}}