Linux Kernel
CVE-2024-38623
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local shell access
-
DeliveryPrepare NTFS volume with oversized label
-
ExploitMount or trigger ntfs_set_label()
-
ExecutionOverflow uni->name buffer in kernel
-
PersistCorrupt kernel memory
-
ImpactEscalate privileges or crash system
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Array index validation
|
| Exploitation Conditions | Exploitation requires a local attacker with low-privilege access (PR:L per CVSS) who can invoke the |
| Impact | The NVD CVSS 3.1 score of 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) correctly places this as a local, low-complexity vulnerability requiring only low privileges - consistent with an unprivileged user who can mount or interact with NTFS volumes in permissive configurations. EPSS at 0.79% (52nd percentile) indicates a moderate-but-not-exceptional exploitation probability, which aligns with the local-only attack surface and the fact that this originated from static analysis rather than observed exploitation. KEV status is absent, and no POC is referenced in the available data. The five separate stable-branch patch commits indicate the flaw affects a broad range of maintained kernel versions, increasing aggregate exposure. In practice, risk is elevated only on systems where unprivileged users can mount NTFS volumes or set volume labels - environments with default kernel configurations that restrict these operations to root are substantially less exposed. Overall: a real vulnerability warranting patching, but not an emergency for environments that restrict NTFS mount capabilities to privileged users. |
| Exploit ScenarioDerived | A local user on a Linux system with ntfs3 support enabled crafts or mounts an NTFS volume with a long volume label (up to 128 Unicode characters). When the kernel's |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Aug 04, 2026
Buffer overflow in the Linux kernel's NTFS3 filesystem driver (ntfs_set_label()) allows a local attacker with low privileges to corrupt memory by triggering a memcpy of up to 256 bytes into a fixed 20-byte buffer (uni->name). The root cause is a fixed-size array declaration that does not accommodate the maximum Unicode volume-label length, identified via smatch static analysis. No public exploit code or confirmed active exploitation (CISA KEV) has been identified at time of analysis; however, the CVSS 7.8 rating reflects the potential for high-impact local exploitation with full confidentiality, integrity, and availability consequences.
Earlier versions of this analysis (1)
Buffer overflow in the Linux kernel's ntfs3 filesystem driver exposes local users with low privileges to potential privilege escalation and kernel memory corruption. The vulnerability resides in ntfs_set_label() within fs/ntfs3, where a fixed-size 20-byte array uni->name is the destination of a __builtin_memcpy() call that copies up to 256 bytes, overflowing the buffer and corrupting adjacent kernel memory. No public exploit code has been identified at time of analysis, and EPSS at 0.79% (52nd percentile) reflects a moderate-but-not-elevated exploitation likelihood.
RemediationAI
The primary fix is to update to a patched Linux kernel version that incorporates one of the five stable-branch commits referenced in the NVD patch references (https://git.kernel.org/stable/c/1997cdc3e727526aa5d84b32f7cbb3f56459b7ef and siblings). Upstream fixes are available as stable commits; exact released patched kernel versions per stable branch are not confirmed in the available data and should be verified against distribution advisories. As a compensating control where immediate patching is not possible, restrict the ability of unprivileged users to mount NTFS filesystems by ensuring CONFIG_NTFS3_FS is not enabled if NTFS support is not required, or by enforcing kernel namespace restrictions (e.g., kernel.unprivileged_userns_clone=0 on applicable distros) to limit the attack surface. Disabling or restricting FUSE-based NTFS mounts for unprivileged users is a lower-impact workaround that does not address the ntfs3 kernel driver directly. Distributors such as Debian, Ubuntu, and RHEL typically backport these stable fixes; check vendor-specific security trackers for confirmed patched package versions.
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
The vulnerability resides in fs/ntfs3/ntfs_set_label() within the ntfs3 driver, the modern NTFS filesystem implementation merged into the mainline Linux kernel in version 5.15. The affected code path constructs a Unicode structure (uni) whose name member was statically declared with a fixed size of 20 characters. An NTFS volume label can be up to 128 Unicode characters (256 bytes), so a __builtin_memcpy() targeting uni->name with a label of non-trivial length overflows the allocation. CWE-129 (Improper Validation of Array Index) is the assigned root cause class, reflecting the failure to validate the copy length against the buffer capacity before the memcpy. The fix replaces the fixed-size array with a variable-length array (VLA) sized appropriately for the input. Affected products per CPE: cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* across multiple stable branches.
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
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Local attack via filesystem interaction, low-privilege user can mount NTFS; full kernel memory corruption impact across CIA.
Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).
CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Lifecycle Timeline
5DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
fs/ntfs3: Use variable length array instead of fixed size
Should fix smatch warning: ntfs_set_label() error: __builtin_memcpy() 'uni->name' too small (20 vs 256)
Executive ViewAI
A buffer overflow in the Linux kernel's NTFS3 filesystem driver allows local users with basic system access to corrupt kernel memory, creating risk of system crashes, data corruption, or privilege escalation. This affects any organization running Linux systems with NTFS3 filesystem support enabled, directly impacting system availability and data integrity. Immediate kernel patching is required to close this local attack vector.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB