CVE-2026-43245

ntfs: ->d_compare() must not block

Published May 6, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ntfs: ->d_compare() must not block

... so don't use __getname() there. Switch it (and ntfs_d_hash(), while
we are at it) to kmalloc(PATH_MAX, GFP_NOWAIT). Yes, ntfs_d_hash()
almost certainly can do with smaller allocations, but let ntfs folks
deal with that - keep the allocation size as-is for now.

Stop abusing names_cachep in ntfs, period - various uses of that thing
in there have nothing to do with pathnames; just use k[mz]alloc() and
be done with that. For now let's keep sizes as-in, but AFAICS none of
the users actually want PATH_MAX.

Analysis

AI-generated

Technical impact

The Linux kernel’s NTFS driver implemented a blocking allocation in the d_compare() function by calling __getname(), causing the kernel to sleep during path resolution. This behavior can stall kernel execution and initiate a denial‑of‑service cycle if exercised repeatedly. The patch replaces that call with non‑blocking kmalloc(PATH_MAX, GFP_NOWAIT), removing the ability for the kernel to block.

Affected Systems

Linux kernels that ship with NTFS support and have not yet incorporated the commit identified by the advisory. This encompasses any distribution using the standard kernel with NTFS enabled prior to the fix. No specific version range is listed, so all pre‑patch kernels are considered affected.

Risk and Exploitability

The CVSS score is 7.5, indicating a high severity level. Because the issue relies on a blocking kernel call an attacker who can trigger ntfs->d_compare()—for example by performing certain file system operations on NTFS volumes—is likely able to cause a kernel stall, leading to a denial of service. The EPSS score is 0.00038, which is less than 1%, indicating that potential exploitation is currently considered very low, and the vulnerability is not listed in CISA’s KEV catalog, indicating no known widespread exploitation yet. The nature of the flaw and the lack of public exploitation data suggest that the primary risk is a DoS should the kernel be forced to sleep during NTFS operations.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to the latest version that includes the ntfs d_compare patch, which replaces the blocking __getname() call with a non‑blocking kmalloc, thereby addressing the resource management flaw.
  • If an upgrade is not feasible, unmount or mount all NTFS filesystems read‑only to limit operations that could trigger the blocking kernel call, reducing the potential for denial‑of‑service attacks.
  • As a temporary workaround, manually modify the ntfs module source to replace __getname() with kmalloc(PATH_MAX, GFP_NOWAIT) and remove unnecessary usage of names_cachep, directly fixing the allocation bug and preventing blocking.
  • Restrict who can load or configure NTFS filesystems to prevent privilege escalation that could trigger the resource exhaustion flaw, addressing access control bypass (CWE-1322).

Generated by OpenCVE AI on May 11, 2026 at 18:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6355-1 linux security update
Ubuntu USN Ubuntu USN USN-8567-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8574-1 Linux kernel (GCP FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8574-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8595-1 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-8596-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8595-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8606-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8607-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8608-1 Linux kernel (Azure FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8609-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8574-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8595-3 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8619-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-8665-1 Linux kernel (Raspberry Pi) vulnerabilities
History
Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
Weaknesses CWE-399
Type Values Removed Values Added
Weaknesses CWE-399
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ntfs: ->d_compare() must not block ... so don't use __getname() there. Switch it (and ntfs_d_hash(), while we are at it) to kmalloc(PATH_MAX, GFP_NOWAIT). Yes, ntfs_d_hash() almost certainly can do with smaller allocations, but let ntfs folks deal with that - keep the allocation size as-is for now. Stop abusing names_cachep in ntfs, period - various uses of that thing in there have nothing to do with pathnames; just use k[mz]alloc() and be done with that. For now let's keep sizes as-in, but AFAICS none of the users actually want PATH_MAX.
Title ntfs: ->d_compare() must not block
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 5, 2026, 12:26 PM
Reserved
May 1, 2026, 2:12 PM
Status
Modified
Published
May 6, 2026, 12:16 PM
Modified
Nov 11, 2026, 8:10 PM
Severity
Public date
May 6, 2026, 12:00 AM