Skip to content
DayZeroHub
High Not yet writtenCVSS 7.1CVE-2026-99602

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

Linux Linux

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-99602: high-severity vulnerability (CVSS 7.1) in Linux Linux.

What happened

Original description from the source: 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, ft…

Why it matters

High severity, CVSS 7.1.

Affected products and versions

Linux Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 816a6df00e9637a438668da849ee00bf0cf7efe0; Linux Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 762315609f9695d983c43a6031a487693b5cb780; Linux Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 30aac8fc4f24b1b065b59a7b07e26030b22c4c69; Linux Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < ed79c0538e1e42c706409f4799c6145bf2d02365; Linux Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a40b887f4b67cf969c23e19c28b650d6b5e8afeb; Linux Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 78885b05188d3df733a9697d67bfcbb6d8330f76; Linux Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c4f8f503f2038269ffe9bca218bea65bbece9998; Linux Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < da582d84fcf5f2f0c1d7760e1a899ca7cedb80fc; Linux Linux 2.6.12; Linux Linux < 2.6.12; Linux Linux 5.10.275 (fixed in 5.10.275); Linux Linux 5.15.226 (fixed in 5.15.226)

ProductVersionsFixed in
Linux Linux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 816a6df00e9637a438668da849ee00bf0cf7efe0—
Linux Linux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 762315609f9695d983c43a6031a487693b5cb780—
Linux Linux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 30aac8fc4f24b1b065b59a7b07e26030b22c4c69—
Linux Linux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < ed79c0538e1e42c706409f4799c6145bf2d02365—
Linux Linux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a40b887f4b67cf969c23e19c28b650d6b5e8afeb—
Linux Linux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 78885b05188d3df733a9697d67bfcbb6d8330f76—
Linux Linux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c4f8f503f2038269ffe9bca218bea65bbece9998—
Linux Linux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < da582d84fcf5f2f0c1d7760e1a899ca7cedb80fc—
Linux Linux2.6.12—
Linux Linux< 2.6.12—
Linux Linux5.10.2755.10.275
Linux Linux5.15.2265.15.226
Linux Linux6.1.1936.1.193
Linux Linux6.6.1636.6.163
Linux Linux6.12.1186.12.118
Linux Linux6.18.646.18.64
Linux Linux7.3.57.3.5
Linux Linux7.4-rc27.4-rc2

Action recommended by the source

Upgrade to a fixed version: 5.10.275, 5.15.226, 6.1.193, 6.12.118, 6.18.64, 6.6.163, 7.3.5, 7.4-rc2.

Fixed in: 5.10.275, 5.15.226, 6.1.193, 6.12.118, 6.18.64, 6.6.163, 7.3.5, 7.4-rc2

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Relevant change history

  1. Published

    Preliminary advisory published.