# CVE-2026-99602: udf: don't let the extent type hide an exhausted free-space table extent

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 5, 2026-11-28)
- **Published:** 2026-11-20T05:49:27.678Z
- **Modified:** 2026-11-23T08:18:02.087Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 816a6df00e9637a438668da849ee00bf0cf7efe0; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 762315609f9695d983c43a6031a487693b5cb780; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 30aac8fc4f24b1b065b59a7b07e26030b22c4c69; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ed79c0538e1e42c706409f4799c6145bf2d02365; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a40b887f4b67cf969c23e19c28b650d6b5e8afeb; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 78885b05188d3df733a9697d67bfcbb6d8330f76; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c4f8f503f2038269ffe9bca218bea65bbece9998; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< da582d84fcf5f2f0c1d7760e1a899ca7cedb80fc
- Anyone running Linux 2.6.12

## Description

In the Linux kernel, the following vulnerability has been resolved:

udf: don't let the extent type hide an exhausted free-space table extent

udf\_table\_new\_block() takes the first block of the free-space table
extent closest to the goal.  It keeps that extent's type and length
together in goal\_elen, subtracts one block, and deletes the extent only
if goal\_elen then reaches zero.  UDF 2.60 section 2.3.7.1 requires the
free-space extents of an Unallocated Space Entry to be of type 1
(allocated but not recorded), and mkudffs writes them that way.  For
such an extent the type bits keep goal\_elen non-zero, so taking its last
block leaves a type-1 extent of length zero behind, starting at the
block after the extent, which is in use.

The next allocation that picks this empty extent returns that in-use
block.  Subtracting a block from 0x40000000 then borrows from the type
bits, and the extent becomes type 0 with a length of 2^30 - blocksize:
about a gigabyte of "free" space overlapping live metadata, the other
table extents and whatever lies behind the partition.  From then on
blocks are handed out twice, or past the end of the partition.

Extents that udf\_table\_free\_blocks() adds are type 0, where the check
works, so only tables written by mkudffs or by another implementation
are affected.  Nothing more than filling such a filesystem is needed:
on a fresh 1 MiB "mkudffs --space=unalloctable" image, creating empty
files until the partition is full writes file entries over the reserve
volume descriptor sequence and the backup anchor, and df then reports a
negative amount of used space.

On syzbot's images the same double allocation is what the two reports
below trip over.  In the first, ftruncate() extends a new file with
enough hole extents to need a chain of allocation extent descriptors;
one AED is placed on another inode's file entry, and a later one is
placed on the block of the AED currently being filled, which
udf\_setup\_indirect\_aext() zeroes, so \_\_udf\_add\_aext() finds
lengthAllocDescs out of step with its cursor.  In the second, an AED
is placed past the end of the device, sb\_getblk() fails, and the error
path of udf\_do\_extend\_file() calls udf\_truncate\_extents() on an extent
list that no longer covers i\_size.

Keep the type separately from the length, as udf\_table\_prealloc\_blocks()
already does.

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 816a6df00e9637a438668da849ee00bf0cf7efe0; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 762315609f9695d983c43a6031a487693b5cb780; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 30aac8fc4f24b1b065b59a7b07e26030b22c4c69; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ed79c0538e1e42c706409f4799c6145bf2d02365; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a40b887f4b67cf969c23e19c28b650d6b5e8afeb; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 78885b05188d3df733a9697d67bfcbb6d8330f76; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c4f8f503f2038269ffe9bca218bea65bbece9998; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< da582d84fcf5f2f0c1d7760e1a899ca7cedb80fc (cvelist)
- Linux: 2.6.12 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99602. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99602.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 816a6df00e9637a438668da849ee00bf0cf7efe0; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 762315609f9695d983c43a6031a487693b5cb780; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 30aac8fc4f24b1b065b59a7b07e26030b22c4c69; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 816a6df00e9637a438668da849ee00bf0cf7efe0, Linux 762315609f9695d983c43a6031a487693b5cb780, Linux 30aac8fc4f24b1b065b59a7b07e26030b22c4c69, Linux 78885b05188d3df733a9697d67bfcbb6d8330f76

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99602 being exploited?

There is no confirmed exploitation: CVE-2026-99602 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99602?

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-99602?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 816a6df00e9637a438668da849ee00bf0cf7efe0; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 762315609f9695d983c43a6031a487693b5cb780; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 30aac8fc4f24b1b065b59a7b07e26030b22c4c69; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ed79c0538e1e42c706409f4799c6145bf2d02365; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a40b887f4b67cf969c23e19c28b650d6b5e8afeb; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 78885b05188d3df733a9697d67bfcbb6d8330f76; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c4f8f503f2038269ffe9bca218bea65bbece9998; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< da582d84fcf5f2f0c1d7760e1a899ca7cedb80fc; Linux 2.6.12.

### Is there a fix for CVE-2026-99602?

Yes. Fixed in Linux 816a6df00e9637a438668da849ee00bf0cf7efe0, Linux 762315609f9695d983c43a6031a487693b5cb780, Linux 30aac8fc4f24b1b065b59a7b07e26030b22c4c69, Linux 78885b05188d3df733a9697d67bfcbb6d8330f76. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-99602?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/816a6df00e9637a438668da849ee00bf0cf7efe0>
- other: <https://git.kernel.org/stable/c/762315609f9695d983c43a6031a487693b5cb780>
- other: <https://git.kernel.org/stable/c/30aac8fc4f24b1b065b59a7b07e26030b22c4c69>
- other: <https://git.kernel.org/stable/c/ed79c0538e1e42c706409f4799c6145bf2d02365>
- other: <https://git.kernel.org/stable/c/a40b887f4b67cf969c23e19c28b650d6b5e8afeb>
- other: <https://git.kernel.org/stable/c/78885b05188d3df733a9697d67bfcbb6d8330f76>
- other: <https://git.kernel.org/stable/c/c4f8f503f2038269ffe9bca218bea65bbece9998>
- other: <https://git.kernel.org/stable/c/da582d84fcf5f2f0c1d7760e1a899ca7cedb80fc>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99602>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99602> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99602>
