udf: fix preallocation discarding before an empty allocation extent
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 4.9.337, < 4.10→ 4.10 ≥ 4.14.303, < 4.15→ 4.15 ≥ 4.19.270, < 4.20→ 4.20 ≥ 5.4.229, < 5.5→ 5.5 ≥ 5.10.161, < 5.10.275→ 5.10.275 ≥ 5.15.85, < 5.15.226→ 5.15.226 ≥ 6.0.15, < 6.1→ 6.1 ≥ 6.1.1, < 6.1.193→ 6.1.193 ≥ 6.2.0, < 6.6.163→ 6.6.163 ≥ 6.7.0, < 6.12.118→ 6.12.118 ≥ 6.13.0, < 6.18.64→ 6.18.64 ≥ 6.19.0, < 7.3.5→ 7.3.5 |
4.10 4.15 4.20 5.5 5.10.275 5.15.226 6.1 6.1.193 6.6.163 6.12.118 6.18.64 7.3.5 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-99600 linux-lts Fix available
- Debian DEBIAN-CVE-2026-99600 linux-6.12, linux Fix available
- Ubuntu UBUNTU-CVE-2026-99600 linux-xilinx-zynqmp, linux-xilinx, linux-vmware +165 more No fixed version in this record
Original description The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved:
udf: fix preallocation discarding before an empty allocation extent
udf_discard_prealloc() finds the last extent of a file by peeking at
the next one with udf_next_aext() and stopping when that returns 0.
The peek reads into eloc and elen, and the code then uses them as the
last extent. But when udf_next_aext() returns 0 they hold no defined
value: if the extent list ends in a continuation descriptor that leads
to an empty allocation extent, they describe that continuation, i.e.
the block of the empty allocation extent, one block long.
The kernel creates such lists itself: when udf_delete_aext() removes
the only descriptor of the last allocation extent in a list, it leaves
that allocation extent empty and the continuation to it in place.
If the last extent is a preallocation, udf_discard_prealloc() deletes
it with udf_delete_aext(), which finds the following allocation extent
empty, so it also removes the continuation and frees that allocation
extent's block. udf_discard_prealloc() then frees eloc and elen: that
block a second time, instead of the preallocated blocks. On a space
bitmap the preallocated blocks leak and the free block count drifts.
On an unallocated space table the second free adds a second free
extent for the same block, which is later handed out twice: fsx as run
by generic/091 and generic/263 ends up with two parts of its test file
in one block and reads back bad data.
Peek into sepa…
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com