CVE-2026-139257

ntfs: fix NULL dereference on index allocation open failure

Published Nov 30, 2026 CVSS 3.1 · 4.4 Medium EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ntfs: fix NULL dereference on index allocation open failure

ntfs_index_lookup() returns -ENOENT when ntfs_ia_open() fails to open the
index allocation. This error path leaves icx->ib unset, unlike a missing
key in an otherwise valid index, which returns an insertion context.

ntfs_ie_add() treats -ENOENT as a valid insertion position and dereferences
icx->ib when the lookup is not in the index root. A corrupt $I30 bitmap
attribute can therefore cause a NULL pointer dereference when adding a
directory entry.

Return -EIO for index allocation open failures so insertion aborts through
the existing error path. Keep -ENOENT for genuinely missing keys and
document that other errors leave no valid index entry.

Analysis

AI-generated

Technical impact

The Linux kernel NTFS module can dereference a null pointer when an index allocation open fails and the operation treats the resulting error as a valid insertion point. A corrupt $I30 bitmap attribute can trigger this path, causing a kernel panic and denial of service.

Affected Systems

All Linux kernel builds prior to the inclusion of the fix commit referenced by the advisory, namely those before git commit 34441ba5 and 9365c4a1.

Risk and Exploitability

Based on the description, it is inferred that the vulnerability requires local access to an NTFS filesystem and the ability to corrupt its bitmap attribute. Exploitation results in a kernel crash. No public exploit data is available, EPSS is not provided, and the issue is not listed in CISA KEV. The attack would be carried out by a local user with sufficient privileges to modify the filesystem.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the fix commit 34441ba5 or later.
  • If a kernel update is not immediately possible, patch the source manually using the commits referenced in the advisory.
  • As a temporary measure, prevent the system from mounting NTFS filesystems until the kernel is updated.

Generated by OpenCVE AI on December 1, 2026 at 07:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ntfs: fix NULL dereference on index allocation open failure ntfs_index_lookup() returns -ENOENT when ntfs_ia_open() fails to open the index allocation. This error path leaves icx->ib unset, unlike a missing key in an otherwise valid index, which returns an insertion context. ntfs_ie_add() treats -ENOENT as a valid insertion position and dereferences icx->ib when the lookup is not in the index root. A corrupt $I30 bitmap attribute can therefore cause a NULL pointer dereference when adding a directory entry. Return -EIO for index allocation open failures so insertion aborts through the existing error path. Keep -ENOENT for genuinely missing keys and document that other errors leave no valid index entry.
Title ntfs: fix NULL dereference on index allocation open failure
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
Nov 30, 2026, 1:33 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:33 PM