{"id":"CVE-2026-139257","aliases":["CVE-2026-139257"],"related":[],"kind":"vulnerability","state":"published","title":"ntfs: fix NULL dereference on index allocation open failure","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: fix NULL dereference on index allocation open failure\n\nntfs_index_lookup() returns -ENOENT when ntfs_ia_open() fails to open the\nindex allocation. This error path leaves icx->ib unset, unlike a missing\nkey in an otherwise valid index, which returns an insertion context.\n\nntfs_ie_add() treats -ENOENT as a valid insertion position and dereferences\nicx->ib when the lookup is not in the index root. A corrupt $I30 bitmap\nattribute can therefore cause a NULL pointer dereference when adding a\ndirectory entry.\n\nReturn -EIO for index allocation open failures so insertion aborts through\nthe existing error path. Keep -ENOENT for genuinely missing keys and\ndocument that other errors leave no valid index entry.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: fix NULL dereference on index allocation open failure\n\nntfs_index_lookup() returns -ENOENT when ntfs_ia_open() fails to open the\nindex allocation. This error path leaves icx->ib unset, unlike a missing\nkey in an otherwise valid index, which returns an insertion context.\n\nntfs_ie_add() treats -ENOENT as a valid insertion position and dereferences\nicx->ib when the lookup is not in the index root. A corrupt $I30 bitmap\nattribute can therefore cause a NULL pointer dereference when adding a\ndirectory entry.\n\nReturn -EIO for index allocation open failures so insertion aborts through\nthe existing error path. Keep -ENOENT for genuinely missing keys and\ndocument that other errors leave no valid index entry.","source":"cvelist"}],"published":"2026-11-30T13:33:04.428Z","modified":"2026-11-30T14:18:48.303Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"0a8ac0c1fa0b99a5b29002bc7f232ed7eafddef0","fixed":"34441ba500df3d1ada339651f1cdbbee1562a4cd","status":"affected"},{"type":"git","introduced":"0a8ac0c1fa0b99a5b29002bc7f232ed7eafddef0","fixed":"9365c4a1357e2a5d7f1aff140429028ad292161f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.1","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/34441ba500df3d1ada339651f1cdbbee1562a4cd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9365c4a1357e2a5d7f1aff140429028ad292161f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139257","url":"https://www.cve.org/CVERecord?id=CVE-2026-139257","licence":"CVE Terms of Use","modified":"2026-11-30T13:33:04.428Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139257","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139257","licence":"Public domain","modified":"2026-11-30T14:18:48.303Z"}],"updatedAt":"2026-11-30T14:32:56.824Z","epss":{"score":0.0019,"percentile":0.09064,"date":"2026-12-01T12:00:22.000Z"}}