# CVE-2026-99600: udf: fix preallocation discarding before an empty allocation extent

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-20 · Modified: 2026-11-23
- Aliases: DEBIAN-CVE-2026-99600, UBUNTU-CVE-2026-99600, CGA-3mcx-959m-mp7f, CGA-4w49-8q8v-87h4, CGA-6837-9788-jpfw, CGA-8hm8-cm68-jmxj, CGA-g645-24m6-9c4v, CGA-rfqj-xcmq-6fg3, CGA-w4vp-9gj8-w7ww, CGA-w4w3-7rqw-p7jg, CGA-x5h2-5pqj-9pvw, CGA-xp7j-9wv5-m2gr, CGA-68xx-w388-8w44, CGA-9fgx-cqmw-wqx7, CGA-j932-8747-v738, CGA-jr59-q7jv-2m9p, CGA-mfrr-9g36-v2q6, CGA-qxh7-4fgf-rwf3, CGA-x5v6-33pf-vfq2, CGA-33xv-c6gh-889j, CGA-qp3x-f5xv-4xpj
- Record: https://cvemate.com/vulnerability/CVE-2026-99600 · JSON: https://cvemate.com/vulnerability/CVE-2026-99600/json

## Description

```text
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 separate variables, so that eloc and elen keep the last
extent that udf_next_aext() returned with 1.
```

## Signals

- CVSS: 4.8 medium (v4.0, OSV · Ubuntu) CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
- EPSS: 0.211%, percentile 11.938%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 181)

- chainguard linux-desktop-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-modules (Chainguard): All versions (No fix recorded)
- debian linux (Debian): All versions (No fix recorded) \| \< 6.12.118-1 \| \< 7.3.5-1
- debian linux-6.12 (Debian): \< 6.12.118-1~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded)
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/4ef0ffc5da8d2966d8f4bd0b6dc88a6fab2e891c>
- <https://git.kernel.org/stable/c/f7d6f3fed104ca7e48a9ed081c2047300d3f96fc>
- <https://git.kernel.org/stable/c/0efa27a0d8b8f4b75eed80728d2c331c6104c308>
- <https://git.kernel.org/stable/c/0c52750caaaccee8b0e929450fe6538ec4985722>
- <https://security-tracker.debian.org/tracker/CVE-2026-99600>
- <https://git.kernel.org/stable/c/77dd881dfc2ecd3da59c2bede6cca4a92ec975c5>
- <https://git.kernel.org/stable/c/a88467d6d07fdc78cdc0ab7d67605dac65aab73c>
- <https://git.kernel.org/stable/c/246ac240c758f3c3144d65d6bb27265f0ec30a48>
- <https://git.kernel.org/stable/c/8321a492323588f0875ed8ac92bafffc5fd3ec34>
- <https://ubuntu.com/security/CVE-2026-99600>
- <https://www.cve.org/CVERecord?id=CVE-2026-99600>
- <https://git.kernel.org/linus/0c52750caaaccee8b0e929450fe6538ec4985722>

---

Data as of 2026-12-05T03:57:13.628Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
