{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0a8ac0c1fa0b99a5b29002bc7f232ed7eafddef0"
            },
            {
              "fixed": "34441ba500df3d1ada339651f1cdbbee1562a4cd"
            },
            {
              "fixed": "9365c4a1357e2a5d7f1aff140429028ad292161f"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "7.1.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139257.json"
  },
  "details": "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-\u003eib 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-\u003eib 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.",
  "id": "CVE-2026-139257",
  "modified": "2026-11-30T14:46:04.319888598Z",
  "published": "2026-11-30T13:33:04.428Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/34441ba500df3d1ada339651f1cdbbee1562a4cd"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9365c4a1357e2a5d7f1aff140429028ad292161f"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139257.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139257"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "ntfs: fix NULL dereference on index allocation open failure"
}