{"id":"AZL-115357","summary":"CVE-2026-99600 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nudf: fix preallocation discarding before an empty allocation extent\n\nudf_discard_prealloc() finds the last extent of a file by peeking at\nthe next one with udf_next_aext() and stopping when that returns 0.\nThe peek reads into eloc and elen, and the code then uses them as the\nlast extent.  But when udf_next_aext() returns 0 they hold no defined\nvalue: if the extent list ends in a continuation descriptor that leads\nto an empty allocation extent, they describe that continuation, i.e.\nthe block of the empty allocation extent, one block long.\n\nThe kernel creates such lists itself: when udf_delete_aext() removes\nthe only descriptor of the last allocation extent in a list, it leaves\nthat allocation extent empty and the continuation to it in place.\n\nIf the last extent is a preallocation, udf_discard_prealloc() deletes\nit with udf_delete_aext(), which finds the following allocation extent\nempty, so it also removes the continuation and frees that allocation\nextent's block.  udf_discard_prealloc() then frees eloc and elen: that\nblock a second time, instead of the preallocated blocks.  On a space\nbitmap the preallocated blocks leak and the free block count drifts.\nOn an unallocated space table the second free adds a second free\nextent for the same block, which is later handed out twice: fsx as run\nby generic/091 and generic/263 ends up with two parts of its test file\nin one block and reads back bad data.\n\nPeek into separate variables, so that eloc and elen keep the last\nextent that udf_next_aext() returned with 1.","modified":"2026-11-21T14:17:23.612797681Z","published":"2026-11-20T06:17:51Z","upstream":["CVE-2026-99600"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99600"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-115357.json"}}],"schema_version":"1.9.2"}