Skip to main content

Linux Kernel CVE-2024-27407

HIGH
Classic Buffer Overflow (CWE-120)
2024-05-17 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious NTFS image with corrupted MFT attributes
  2. Delivery
    Deliver image to target via USB or download
  3. Exploit
    User or automount triggers ntfs3 mount
  4. Execution
    mi_enum_attr() processes malformed attribute
  5. Persist
    Overflow corrupts kernel memory
  6. Impact
    Kernel crash or privilege escalation

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer copy size validation
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target system to use the in-kernel ntfs3 driver (not ntfs-3g FUSE) and a local user to mount a specially crafted NTFS filesystem image. On desktop Linux systems with automount enabled, mounting may occur automatically when a malicious USB drive is inserted, reducing the effective user interaction barrier. On server systems where only root can mount filesystems, exploitation requires either root access (self-defeating) or a privilege escalation chain to reach a mount call. The ntfs3 module must be loaded or loadable from the kernel module store. Systems running kernels outside the affected version range, or with the ntfs3 module explicitly blacklisted, are not exploitable via this path. Exploitation is further limited to systems where the kernel was compiled with ntfs3 support (CONFIG_NTFS3_FS), which is distribution-dependent.

Impact

The CVSS 7.8 High rating reflects genuine potential for kernel-level memory corruption, but several signals temper real-world priority. The local attack vector (AV:L) combined with required user interaction (UI:R) means exploitation is not remotely triggerable without social engineering - an attacker must first deliver a malicious NTFS image and have a local user mount it. The EPSS score of 0.29% (21st percentile) is markedly low for a High-severity kernel flaw, consistent with no observed in-the-wild exploitation. This CVE is not listed in CISA KEV, and no POC code is identified in the provided data. The PR:N metric warrants scrutiny: on desktop Linux systems, unprivileged users can often mount removable media, making PR:N plausible, but on server or hardened deployments where only root can mount filesystems, effective attack complexity is substantially higher. In aggregate, this is a patch-when-feasible issue rather than an emergency remediation priority for most organizations, with desktop and workstation Linux deployments facing higher realistic exposure than servers.

Exploit ScenarioDerived

An attacker crafts a malicious NTFS disk image embedding an MFT record with attribute structures calculated to bypass the flawed overflow check in mi_enum_attr(), triggering out-of-bounds memory access in kernel space. The image is delivered to a target via USB drive, malicious download, or email attachment, and exploitation completes when the user mounts the image - which on desktop Linux systems may occur automatically via automount policies. No public POC is identified at time of analysis, but the deterministic nature of filesystem parsing flaws makes PoC development feasible once the fix is reverse-engineered from the upstream commits.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Aug 04, 2026

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.

Earlier versions of this analysis (2)
v2 Aug 04, 2026 - 12:44 cvss changed CVSS 7.8

Buffer overflow in the Linux kernel's NTFS3 filesystem driver exposes systems to high-impact local exploitation via a crafted NTFS image. The vulnerability resides in mi_enum_attr(), which incorrectly validates attribute bounds while enumerating NTFS metadata records, creating a classic CWE-120 overflow condition. With a CVSS score of 7.8 and confirmed patches across multiple stable branches, this is a meaningful but low-urgency issue: EPSS stands at just 0.29% (21st percentile), KEV status is absent, and no public exploit code has been identified at time of analysis.

v1 Aug 04, 2026 - 12:43 cvss changed CVSS 7.8

Integer overflow in the NTFS3 filesystem driver's mi_enum_attr() function exposes Linux kernel systems to memory corruption when parsing crafted NTFS volumes. Systems running affected kernel versions - including stable branches and 6.8-rc1 through rc3 - are at risk when a user mounts a specially constructed NTFS image, potentially yielding full kernel-level compromise (C:H/I:H/A:H). No active exploitation is confirmed (not in CISA KEV), and EPSS sits at a low 0.29% (21st percentile), indicating real-world risk is currently limited despite the high CVSS score of 7.8.

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.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

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.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Updated
Aug 04, 2026 - 12:46 vuln.today
v3 - CVSS changed
Analysis Updated
Aug 04, 2026 - 12:44 vuln.today
v2 - CVSS changed
Analysis Updated
Aug 04, 2026 - 12:43 vuln.today
v1 - CVSS changed
CVSS changed
Aug 04, 2026 - 11:23 NVD
8.4 (HIGH) 7.8 (HIGH)
CVE Published
May 17, 2024 - 12:15 cve.org
HIGH 8.4

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

fs/ntfs3: Fixed overflow check in mi_enum_attr()

Executive ViewAI

Why It Matters

Linux kernel NTFS3 filesystem driver contains a buffer overflow vulnerability (CVE-2024-27407, CVSS 7.8) that enables memory corruption when systems process maliciously crafted NTFS attributes. Organizations running Linux infrastructure with NTFS filesystem support face elevated risk of system compromise and potential data breach through local or remote filesystem attacks. Patch availability eliminates this risk and should trigger immediate remediation across affected kernel versions.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Ubiquitous
Linux kernel runs most servers, containers, and many desktops globally
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Affected Products (CPE)CVE.org

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc3:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy