{"id":"CVE-2026-139217","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:18:41.913","lastModified":"2026-12-01T06:17:39.190","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: reject index blocks with a too small entries offset\n\nIndex blocks read from the volume are checked for a plausible header, but\nnothing keeps a block from placing its entries closer to the header than\nntfs_ib_alloc() does when it creates one.  The allocation adds the update\nsequence array, one entry per 512-byte sector plus the terminator, to the\nindex header and aligns the result to 8 bytes, so the first entry of a\n4096-byte block starts at offset 40, while a corrupt block may declare 16.\n\nntfs_ib_copy_tail() then copies the entries that follow the median entry\nfrom the source block into a freshly allocated destination.  The tail is\nsized as index_length minus entries_offset and the median entry, both from\nthe source, while the destination only has allocated_size minus the\ncanonical offset of room.  With the values above the tail is 4040 bytes\nand the destination holds 4032, so the last 8 bytes are written past the\nend of the new allocation, with contents taken from the mounted image.\n\nReject such a block when it is read: entries_offset must not be smaller\nthan the canonical offset for the block size.  Derive it from block_size\nrather than from the block's own usa_count, which post_read_mst_fixup()\ntreats as \"not protected\" when it does not match the block size, and use\nthe same helper in ntfs_ib_alloc() so both stay in sync."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["fs/ntfs/index.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"0a8ac0c1fa0b99a5b29002bc7f232ed7eafddef0","lessThan":"bae87fc0e80c50f065f1feca232e38e3292be425","versionType":"git","status":"affected"},{"version":"0a8ac0c1fa0b99a5b29002bc7f232ed7eafddef0","lessThan":"20e14268ef410cbabff54a79405813a8b9ce8e89","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["fs/ntfs/index.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"7.1","status":"affected"},{"version":"0","lessThan":"7.1","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"references":[{"url":"https://git.kernel.org/stable/c/20e14268ef410cbabff54a79405813a8b9ce8e89","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/bae87fc0e80c50f065f1feca232e38e3292be425","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}