{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99600","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.424Z","datePublished":"2026-11-20T05:49:26.268Z","dateUpdated":"2026-11-20T05:49:26.268Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-20T05:49:26.268Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/udf/truncate.c"],"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"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/udf/truncate.c"],"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"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.12.118"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.18.64"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"7.3.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"7.4-rc2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9.337"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14.303"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19.270"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4.229"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10.161"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15.85"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0.15"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/4ef0ffc5da8d2966d8f4bd0b6dc88a6fab2e891c"},{"url":"https://git.kernel.org/stable/c/f7d6f3fed104ca7e48a9ed081c2047300d3f96fc"},{"url":"https://git.kernel.org/stable/c/0efa27a0d8b8f4b75eed80728d2c331c6104c308"},{"url":"https://git.kernel.org/stable/c/0c52750caaaccee8b0e929450fe6538ec4985722"}],"title":"udf: fix preallocation discarding before an empty allocation extent","x_generator":{"engine":"bippy-1.2.0"}}}}