Linux Kernel
CVE-2024-27407
HIGH
Severity by source
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Local filesystem flaw requiring user to mount crafted image; PR:N reflects unprivileged automount capability common on desktop Linux; UI:R confirmed by mount requirement.
Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).
CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Lifecycle Timeline
6DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
fs/ntfs3: Fixed overflow check in mi_enum_attr()
AnalysisAI
Buffer overflow in the Linux kernel's NTFS3 filesystem driver exposes systems to high-impact memory corruption when parsing maliciously crafted NTFS attributes. The flaw resides in mi_enum_attr(), the function responsible for iterating MFT (Master File Table) record attributes, and affects kernel versions spanning multiple stable branches through 6.8-rc3. CVSS rates the impact at 7.8 (High) across confidentiality, integrity, and availability, though the EPSS score of 0.29% (21st percentile) and absence from CISA KEV indicate no public exploit identified at time of analysis and minimal observed exploitation activity.
Technical ContextAI
NTFS3 is a native in-kernel Linux driver for the NTFS filesystem, introduced as a modern replacement for the legacy ntfs driver and the FUSE-based ntfs-3g. The vulnerable function mi_enum_attr() in fs/ntfs3/ iterates over attribute entries within NTFS MFT records. CWE-120 (Buffer Copy without Checking Size of Input) identifies the root cause: the function's overflow guard was either missing or logically incorrect when computing attribute boundaries, creating conditions for out-of-bounds memory access when processing specially constructed MFT attribute data. CPE data (cpe:2.3:o:linux:linux_kernel) confirms impact across multiple stable kernel series and the 6.8-rc1 through rc3 release candidates, with four distinct stable-branch backport commits (1c0a95d, 652cfeb, 8c77398, e99faa9) indicating broad version range affected.
RemediationAI
The primary fix is to update to a patched Linux kernel version containing upstream commits 1c0a95d99b1b2b5d842e5abc7ef7eed1193b60d7, 652cfeb43d6b9aba5c7c4902bed7a7340df131fb, 8c77398c72618101d66480b94b34fe9087ee3d08, or e99faa97359654b6e4e769246c72cf50a57e05b2, available via the stable kernel tree at https://git.kernel.org/stable/. Patch available per vendor advisory; distributed kernel packages from major distributions should be applied via standard update mechanisms (apt, dnf, zypper). Debian LTS users should apply the update announced at https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html. Where immediate patching is not possible, a targeted compensating control is to blacklist the ntfs3 kernel module (echo 'blacklist ntfs3' >> /etc/modprobe.d/disable-ntfs3.conf followed by update-initramfs -u), which prevents the vulnerable code path from loading entirely; the trade-off is loss of in-kernel NTFS read/write support, though ntfs-3g via FUSE remains available as an alternative. Additionally, restricting unprivileged user mount capabilities via /etc/fstab or mount namespace policies reduces the UI:R attack surface on multi-user systems.
Same weakness CWE-120 – Classic Buffer Overflow
View allSame technique Buffer Overflow
View allShare
External POC / Exploit Code
Leaving vuln.today