CVE-2026-139257
publishedntfs: fix NULL dereference on index allocation open failure
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux0a8ac0c1fa0b99a5b29002bc7f232ed7eafddef0 to < 34441ba500df3d1ada339651f1cdbbee1562a4cd · 0a8ac0c1fa0b99a5b29002bc7f232ed7eafddef0 to < 9365c4a1357e2a5d7f1aff140429028ad292161f · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.1 (affected) · 0 to < 7.1 (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 0a8ac0c1fa0b99a5b29002bc7f232ed7eafddef0 to < 34441ba500df3d1ada339651f1cdbbee1562a4cd (affected · git)0a8ac0c1fa0b99a5b29002bc7f232ed7eafddef0 to < 9365c4a1357e2a5d7f1aff140429028ad292161f (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 7.1 (affected)0 to < 7.1 (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
ntfs: fix NULL dereference on index allocation open failure
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0c55ed24c4c78aae57a1f6dc7bc836a9c5cf6e9474384ae21c90b7556666be41
- Ingested
- 30 Nov 2026, 13:42:23 UTC
- Source record
- Official CVE record