Skip to main content

Linux Kernel CVE-2024-38623

HIGH
Improper Validation of Array Index (CWE-129)
2024-06-21 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
    Gain local shell access
  2. Delivery
    Prepare NTFS volume with oversized label
  3. Exploit
    Mount or trigger ntfs_set_label()
  4. Execution
    Overflow uni->name buffer in kernel
  5. Persist
    Corrupt kernel memory
  6. Impact
    Escalate 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 ntfs_set_label() code path - specifically by mounting or interacting with an NTFS filesystem with a crafted long volume label on a system running a vulnerable Linux kernel with the ntfs3 driver compiled in (CONFIG_NTFS3_FS=y or =m). Unprivileged mounting of NTFS volumes (e.g., via user namespaces or permissive mount policies) is the enabling condition. Systems where NTFS mounting is restricted to root significantly reduce realistic exposure. Exploitation is further limited to systems on which the ntfs3 driver is loaded - older kernels using the legacy ntfs driver or systems without NTFS support are unaffected. There is no network vector; physical or authenticated shell access is required.

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 ntfs_set_label() function processes this label, the memcpy overflows the 20-byte uni->name buffer by up to 236 bytes, corrupting adjacent kernel memory. Depending on kernel memory layout and heap/stack positioning, this could be leveraged to overwrite function pointers or control data structures to escalate privileges or crash the system. No public proof-of-concept exploit has been identified at time of analysis.

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

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

Alert me

AnalysisAIv2 – 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)
v1 Aug 04, 2026 - 11:47 cvss changed CVSS 7.8

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

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

Local attack via filesystem interaction, low-privilege user can mount NTFS; full kernel memory corruption impact across CIA.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/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
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Updated
Aug 04, 2026 - 11:54 vuln.today
v2 - CVSS changed
Analysis Updated
Aug 04, 2026 - 11:47 vuln.today
v1 - CVSS changed
Severity Changed
Aug 04, 2026 - 11:23 NVD
CRITICAL HIGH
CVSS changed
Aug 04, 2026 - 11:23 NVD
9.8 (CRITICAL) 7.8 (HIGH)
CVE Published
Jun 21, 2024 - 11:15 cve.org
CRITICAL 9.8

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.8%
Top 48% exploitable
Prevalence
Ubiquitous
Linux kernel runs majority of servers, cloud, and embedded systems
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.8%
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

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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:*:*:*:*:*:*:*:*

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