{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99600","id":"CVE-2026-99600","title":"Linux kernel filesystem corruption in UDF preallocation discard","description":"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 h","descriptionLong":"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.","published":"2026-11-20T05:49:26.268Z","updated":"2026-11-20T05:49:26.268Z","reserved":"2026-09-25T10:25:14.424Z","status":"PUBLISHED","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"cfe4c1b25dd6d2f056afc00b7c98bcb3dd0b1fc3","lessThan":"4ef0ffc5da8d2966d8f4bd0b6dc88a6fab2e891c","status":"affected","versionType":"git"},{"version":"cfe4c1b25dd6d2f056afc00b7c98bcb3dd0b1fc3","lessThan":"f7d6f3fed104ca7e48a9ed081c2047300d3f96fc","status":"affected","versionType":"git"},{"version":"cfe4c1b25dd6d2f056afc00b7c98bcb3dd0b1fc3","lessThan":"0efa27a0d8b8f4b75eed80728d2c331c6104c308","status":"affected","versionType":"git"},{"version":"cfe4c1b25dd6d2f056afc00b7c98bcb3dd0b1fc3","lessThan":"0c52750caaaccee8b0e929450fe6538ec4985722","status":"affected","versionType":"git"},{"version":"c8b6fa4511a7900db9fb0353b630d4d2ed1ba99c","status":"affected","versionType":"git"},{"version":"7665857f88557c372da35534165721156756f77f","status":"affected","versionType":"git"},{"version":"72f651c96c8aadf087fd782d551bf7db648a8c2e","status":"affected","versionType":"git"},{"version":"4d835efd561dfb9bf5409f11f4ecd428d5d29226","status":"affected","versionType":"git"},{"version":"1a075f4a549481ce6e8518d8379f193ccec6b746","status":"affected","versionType":"git"},{"version":"63dbbd8f1499b0a161e701a04aa50148d60bd1f7","status":"affected","versionType":"git"},{"version":"ae56d9a017724f130cf1a263dd82a78d2a6e3852","status":"affected","versionType":"git"},{"version":"12a88f572d6d94b5c0b72e2d1782cc2e96ac06cf","status":"affected","versionType":"git"},{"version":"4.9.337","lessThan":"4.10","status":"affected","versionType":"semver"},{"version":"4.14.303","lessThan":"4.15","status":"affected","versionType":"semver"},{"version":"4.19.270","lessThan":"4.20","status":"affected","versionType":"semver"},{"version":"5.4.229","lessThan":"5.5","status":"affected","versionType":"semver"},{"version":"5.10.161","lessThan":"5.11","status":"affected","versionType":"semver"},{"version":"5.15.85","lessThan":"5.16","status":"affected","versionType":"semver"},{"version":"6.0.15","lessThan":"6.1","status":"affected","versionType":"semver"},{"version":"6.1.1","lessThan":"6.2","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.2","status":"affected"},{"version":"0","lessThan":"6.2","status":"unaffected","versionType":"semver"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/4ef0ffc5da8d2966d8f4bd0b6dc88a6fab2e891c","tags":[]},{"url":"https://git.kernel.org/stable/c/f7d6f3fed104ca7e48a9ed081c2047300d3f96fc","tags":[]},{"url":"https://git.kernel.org/stable/c/0efa27a0d8b8f4b75eed80728d2c331c6104c308","tags":[]},{"url":"https://git.kernel.org/stable/c/0c52750caaaccee8b0e929450fe6538ec4985722","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99600","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99600","ok":false,"note":"not found"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99600","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99600","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}