Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-139217

published high CVSS 3.1 · 7.8

ntfs: reject index blocks with a too small entries offset

Published
30 Nov 2026, 13:32:40 UTC
Updated
01 Dec 2026, 05:41:50 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux0a8ac0c1fa0b99a5b29002bc7f232ed7eafddef0 to < bae87fc0e80c50f065f1feca232e38e3292be425 · 0a8ac0c1fa0b99a5b29002bc7f232ed7eafddef0 to < 20e14268ef410cbabff54a79405813a8b9ce8e89 · Other versions: unaffected Affected Not stated Linux
Linux — Linux7.1 (affected) · 0 to < 7.1 (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: ntfs: reject index blocks with a too small entries offset Index blocks read from the volume are checked for a plausible header, but nothing keeps a block from placing its entries closer to the header than ntfs_ib_alloc() does when it creates one. The allocation adds the update sequence array, one entry per 512-byte sector plus the terminator, to the index header and aligns the result to 8 bytes, so the first entry of a 4096-byte block starts at offset 40, while a corrupt block may declare 16. ntfs_ib_copy_tail() then copies the entries that follow the median entry from the source block into a freshly allocated destination. The tail is sized as index_length minus entries_offset and the median entry, both from the source, while the destination only has allocated_size minus the canonical offset of room. With the values above the tail is 4040 bytes and the destination holds 4032, so the last 8 bytes are written past the end of the new allocation, with contents taken from the mounted image. Reject such a block when it is read: entries_offset must not be smaller than the canonical offset for the block size. Derive it from block_size rather than from the block's own usa_count, which post_read_mst_fixup() treats as "not protected" when it does not match the block size, and use the same helper in ntfs_ib_alloc() so both stay in sync.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The bad entries_offset comes from an on-disk INDX block of a crafted NTFS volume, read by ntfs_ib_read(). The trigger is a local VFS create/mkdir/link/rename: ntfs_index_add_filename -> ntfs_ie_add -> ntfs_ib_split -> ntfs_ib_copy_tail. No protocol message carries the index block. AC:L - The image author controls every input. An END-only leaf with entries_offset=16 and index_length=4072 forces a split on the next insert. ntfs_ie_get_median() then returns the END entry, so the memcpy length (4040 > 4032) follows directly from the image every time, with no race. PR:N - ntfs_fs_type is FS_REQUIRES_DEV|FS_ALLOW_IDMAP without FS_USERNS_MOUNT, so the attacker cannot mount it and does not need to. They only supply the media or image. The mount is the victim's or automounter's action, scored under UI:R rather than as attacker privilege. UI:R - The overflow happens only after a victim or udisks2/vold mounts the attacker's NTFS image read-write and a name is then added to the crafted directory. Merely attaching the volume does not reach ntfs_ib_copy_tail(). S:U - The overflow corrupts the host kernel heap inside the same kernel authority as fs/ntfs. It crosses no VM, IOMMU or sandbox boundary. C:H - ntfs_ib_copy_tail() writes image-chosen bytes past kvzalloc(block_size): 8 bytes into the next kmalloc-4k object at 4K blocks, up to 248 bytes at 64K. Corrupting the first qword of a neighbouring object, often a pointer, can be groomed into reading kernel memory. I:H - This is a heap out-of-bounds write. The bytes after the END entry up to index_length are never validated by ntfs_index_entries_inconsistent() and are copied raw past the new index block, overwriting an adjacent slab object's leading fields with attacker values that can hijack control flow. A:H - Overwriting the start of the adjacent kmalloc-4k object corrupts slab state or a live object. KASAN, a slab freelist check or a later dereference then oopses or panics on the ordinary create/mkdir path.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 0a8ac0c1fa0b99a5b29002bc7f232ed7eafddef0 to < bae87fc0e80c50f065f1feca232e38e3292be425 (affected · git)0a8ac0c1fa0b99a5b29002bc7f232ed7eafddef0 to < 20e14268ef410cbabff54a79405813a8b9ce8e89 (affected · git)Default: unaffected Linux · cna
Linux Linux 7.1 (affected)0 to < 7.1 (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

1

Linux · cna

ntfs: reject index blocks with a too small entries offset

Provenance

Schema
5.2
Searchable
yes
Content hash
814435f4ed2682ea9d5fd3808ef1656db34663f23eecdf2cdec7f82e096c9a05
Ingested
01 Dec 2026, 05:47:22 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected