KernelScan.io

HIGH Introduced in 7.1

ntfs ExtentRecord OOB

CVE-2026-99107

CVSS 7.8 / 10.0 NVD

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

KernelScan AI7.9HIGH

01

In the Linux kernel, the following vulnerability has been resolved: ntfs: fix incorrect MFT record pointer passed to ntfs_attr_record_resize ntfs_new_attr_flags() passes the wrong MFT record to ntfs_attr_record_resize(). When the attribute is in an extent record, ctx->mrec points to the extent but the function receives the base record pointer m, causing incorrect size calculations in memmove. Fix by passing ctx->mrec (the actual MFT record containing the attribute) instead of m (the base MFT record) to ntfs_attr_record_resize().

02

Engine v0.9.0

Risk summary

A local attacker who can mount an NTFS filesystem and trigger extended attribute operations on a file with attributes stored in extent records can corrupt kernel memory, leading to privilege escalation, information disclosure, or system crash. The vulnerability is reachable via removable NTFS media, loopback mounts, or user-namespace mounts.

Affectedfs/ntfs/ea.c (ntfs filesystem)

Vulnerability analysis

When an NTFS attribute resides in an extent record rather than the base MFT record, the EA handling code incorrectly passes the base record pointer to the attribute resize function instead of the extent record pointer. This causes the resize function to compute memory move offsets and sizes against the wrong record, resulting in an out-of-bounds write via memmove. The fix passes the correct extent record pointer (ctx->mrec) so that size calculations reflect the actual record containing the attribute. The bug can be triggered by any local user able to mount an NTFS filesystem — via removable media (USB/SD card), a loopback mount of a crafted image, or a user-namespace mount — and then perform an extended attribute operation on a file with attributes in extent records.

03

BranchIntroducedFixed inPatch commit
7.27.17.2.130a9122cada74
mainline7.17.38d139e3635c8