{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2"
            },
            {
              "fixed": "0ceb311c0f7af4f4b38fc1066178b84a60d61a05"
            },
            {
              "fixed": "812d49a09ce0a8fcc784349d6a95e975a4af51cf"
            },
            {
              "fixed": "9ecd3d7ed7d7a57ee6af27dc22be0b3fdc9526f7"
            },
            {
              "fixed": "94401199df90e1c2a50c6e4b73618ac5a4ba83ba"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.12"
            },
            {
              "fixed": "6.12.118"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.64"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99599.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nudf: don't use eloc after the end of the unallocated space table\n\nWhen udf_next_aext() returns 0, its eloc, elen and etype outputs hold\nno defined value.  Two walks of the unallocated space table still use\neloc after the walk has reached the end of the table.\n\nudf_table_prealloc_blocks() looks for a free extent starting at\nfirst_block and decides whether it found one by comparing eloc with\nfirst_block after the walk.  If the table's list ends in a continuation\ndescriptor that leads to an empty allocation extent, eloc is then the\nblock of that allocation extent, which is in use, and if that is\nfirst_block, the block is handed out as preallocation.  Once\nudf_discard_prealloc() no longer frees the wrong block, this is what\nstill makes fsx in generic/091 and generic/263 read back bad data on a\ntable, in about one run in four.  Only take the extent if the walk\nstopped at it.\n\nWhen udf_table_free_blocks() cannot merge the freed blocks into an\nexisting extent, it appends a new one and sets only its block number,\nso the partition reference comes from whatever eloc held after the\nwalk, and with long allocation descriptors it is written to disk.  For\na table without extents, eloc was never set.  Take the partition\nreference from the freed blocks instead.  Short allocation descriptors\ndo not store the partition reference, which is why this half remains a\nlatent long-descriptor fix rather than a reproduced failure.",
  "id": "CVE-2026-99599",
  "modified": "2026-11-20T06:45:57.051401946Z",
  "published": "2026-11-20T05:49:25.505Z",
  "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/0ceb311c0f7af4f4b38fc1066178b84a60d61a05"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/812d49a09ce0a8fcc784349d6a95e975a4af51cf"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/94401199df90e1c2a50c6e4b73618ac5a4ba83ba"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9ecd3d7ed7d7a57ee6af27dc22be0b3fdc9526f7"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99599.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99599"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "udf: don't use eloc after the end of the unallocated space table"
}