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-99863

published high CVSS 3.1 · 7.8

fs/ntfs3: bound CreateAttribute asize against record_size in do_action

Published
30 Nov 2026, 13:17:45 UTC
Updated
01 Dec 2026, 05:43:54 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxb46acd6a6a627d876898e1c84d3f84902264b445 to < eb2c69866e1883e00f553127f40df01e9891164e · b46acd6a6a627d876898e1c84d3f84902264b445 to < f2cdd82f1dc242e6f831e9cf580eeb5db4af0b5f · b46acd6a6a627d876898e1c84d3f84902264b445 to < becddb2e2b856210ce34654261e27d233dfa904b · b46acd6a6a627d876898e1c84d3f84902264b445 to < 0ea0755124dba3c9682a87adcee8b4b3ab57902f · b46acd6a6a627d876898e1c84d3f84902264b445 to < 2ebe4f0736129014d6fc475215fc5bf0a0549737 · b46acd6a6a627d876898e1c84d3f84902264b445 to < 119ab8d9dd61c24a604be6175dc658cebb3a3bbd · b46acd6a6a627d876898e1c84d3f84902264b445 to < fb0f0ef7b5a6bc761b372ce00764d4b6e0b91a47 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux

Description

In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: bound CreateAttribute asize against record_size in do_action In do_action()'s CreateAttribute case (fslog.c:3286), attr2 points into the on-disk log record and asize = le32_to_cpu(attr2->size) is therefore attacker-controlled on mount. The guard bounds asize only against the log record itself, Add2Ptr(attr2, asize) > Add2Ptr(lrh, rec_len) where rec_len is the client data length, and separately bounds dlen against the MFT record. Nothing bounds asize against record_size, but all three writes that follow are into rec, a kmalloc(sbi->record_size) buffer allocated by mi_init() (record.c:105): memmove(Add2Ptr(attr, asize), attr, used - roff); memcpy(attr, attr2, asize); rec->used = cpu_to_le32(used + asize); With record_size 0x400, roff 0x38, used 0x160 and asize 0x800 the memcpy writes 2048 bytes at rec + 0x38, 0x438 bytes past the allocation, and rec->used is left at 0x960. dlen is 0x18 here, so the existing dlen check passes: dlen bounds nothing about the size of the copy. The equivalent non-replay path already refuses this. mi_insert_attr() performs the same insert and starts with (record.c:488): if (used + asize > sbi->record_size) return NULL; Apply the same bound, spelled as a subtraction to match the neighbouring clause. used <= record_size holds here because check_file_record() validates it (fslog.c:2826) and is called on this record at fslog.c:3172; roff <= used - 4 follows from check_if_attr() together with the ATTR_END check at fslog.c:2844, so bounding used + asize bounds both copies. The sibling WriteEndOfFileRecordSegment case does the equivalent check against record_size at fslog.c:3277. Reproduced by mounting a crafted image on v7.2-rc5 under KASAN: BUG: KASAN: slab-out-of-bounds in do_action.isra.0+0x41f6/0x83a0 Write of size 2048 at addr ffff888005c74838 by task mount/69 CPU: 0 UID: 0 PID: 69 Comm: mount Not tainted 7.2.0-rc5-00300-g8ba098e6b6ff #2 Call Trace: kasan_report+0xce/0x100 kasan_check_range+0x105/0x1b0 __asan_memcpy+0x3c/0x60 do_action.isra.0+0x41f6/0x83a0 log_replay+0x920a/0xd300 ntfs_loadlog_and_replay+0x3ef/0x510 ntfs_fill_super+0x1d23/0x4550 get_tree_bdev_flags+0x2ef/0x550 vfs_get_tree+0x82/0x2f0 fc_mount+0x10/0x1b0 path_mount+0x517/0x1df0 __x64_sys_mount+0x20b/0x270 do_syscall_64+0xf9/0x540 entry_SYSCALL_64_after_hwframe+0x77/0x7f Allocated by task 69: __kasan_kmalloc+0x8f/0xa0 __kmalloc_noprof+0x1b4/0x460 mi_init+0x81/0x110 mi_get+0x6a/0x220 do_action.isra.0+0x1db4/0x83a0 log_replay+0x920a/0xd300 ntfs_loadlog_and_replay+0x3ef/0x510 ntfs_fill_super+0x1d23/0x4550 The buggy address belongs to the object at ffff888005c74800 which belongs to the cache kmalloc-1k of size 1024 The buggy address is located 56 bytes inside of allocated 1024-byte region [ffff888005c74800, ffff888005c74c00)

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 malformed input is a CreateAttribute redo record (attr2->size and its payload) stored in $LogFile on an NTFS image. log_replay() consumes it in do_action() during mount(2), via ntfs_fill_super() then ntfs_loadlog_and_replay(). No network protocol carries these bytes; the image arrives as a local file, a loop device or attached media. AC:L - Everything the redo pass needs is in the attacker's image: non-empty dirty page and open-attribute tables, a non-sparse target_vcn, and an MFT record passing check_file_record() and check_if_attr(). The overflow then fires deterministically on mount, as the KASAN reproduction in the commit shows. PR:N - The attacker needs no account on the target and only supplies the image. ntfs3's fs_flags are FS_REQUIRES_DEV|FS_ALLOW_IDMAP with no FS_USERNS_MOUNT, so the mount itself needs init-namespace CAP_SYS_ADMIN or an automounter acting for the victim. That is scored as user interaction, not as attacker privilege. UI:R - A victim, or an automounter acting for them, must mount the crafted volume read-write. log_replay() does 'if (is_ro) goto out' before the redo pass, so a read-only mount never reaches the CreateAttribute case of do_action(). S:U - The corruption stays in the kernel heap of the host doing the mount. It does not cross a guest/host, IOMMU or other security-authority boundary. C:H - memmove(attr+asize, attr, used-roff) and memcpy(attr, attr2, asize) write past the kmalloc(record_size) buffer from mi_init() (kmalloc-1k for 1K records). Overwriting neighbouring slab objects with controlled content can be groomed into kernel memory disclosure. I:H - asize is bounded only by the log record length rec_len, never by record_size. Up to kilobytes of attacker-chosen $LogFile bytes are written linearly past the MFT record buffer into adjacent slab objects (KASAN: 2048-byte write at offset 0x38). This is an exploitable heap overflow that can lead to code execution. A:H - Even without exploitation, the overflow corrupts adjacent kmalloc-1k objects and sets rec->used beyond record_size, which leads to an oops or panic during mount or on later use of the corrupted objects.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux b46acd6a6a627d876898e1c84d3f84902264b445 to < eb2c69866e1883e00f553127f40df01e9891164e (affected · git)b46acd6a6a627d876898e1c84d3f84902264b445 to < f2cdd82f1dc242e6f831e9cf580eeb5db4af0b5f (affected · git)b46acd6a6a627d876898e1c84d3f84902264b445 to < becddb2e2b856210ce34654261e27d233dfa904b (affected · git)b46acd6a6a627d876898e1c84d3f84902264b445 to < 0ea0755124dba3c9682a87adcee8b4b3ab57902f (affected · git)b46acd6a6a627d876898e1c84d3f84902264b445 to < 2ebe4f0736129014d6fc475215fc5bf0a0549737 (affected · git)b46acd6a6a627d876898e1c84d3f84902264b445 to < 119ab8d9dd61c24a604be6175dc658cebb3a3bbd (affected · git)b46acd6a6a627d876898e1c84d3f84902264b445 to < fb0f0ef7b5a6bc761b372ce00764d4b6e0b91a47 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 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

7

Provider assertions

1

Linux · cna

fs/ntfs3: bound CreateAttribute asize against record_size in do_action

Provenance

Schema
5.2
Searchable
yes
Content hash
f334874ac0aae5513e297d687b7fd5bcabd7f5befdc811282990f7f30176dcad
Ingested
01 Dec 2026, 05:47:23 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