# CVE-2026-99311: udf: fix return value for non-recorded-allocated extents in udf\_map\_block()

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-16 · Modified: 2026-11-23
- Aliases: DEBIAN-CVE-2026-99311, UBUNTU-CVE-2026-99311, CGA-3rh5-pcvq-8fvv, CGA-3rvc-gjjj-wxqg, CGA-4x3p-8pwf-439f, CGA-6px4-g93f-jf86, CGA-6v22-hh3x-wm5v, CGA-76rp-2cfw-6jpv, CGA-c8fj-mmq2-r42c, CGA-c946-vchv-cmrj, CGA-h782-7xvq-w5j7, CGA-hfgc-97rq-xjcc, CGA-mh97-v8qv-f4x7, CGA-hx22-4cm7-3cpg, CGA-j26x-986q-vqvx, CGA-j63j-pgqm-j464, CGA-r869-cg34-3jq5, CGA-vmwx-gvc4-9mq9, CGA-vvjq-r537-p345, CGA-x6hg-6vx6-847v, CGA-xg5g-53p4-33jw
- Record: https://cvemate.com/vulnerability/CVE-2026-99311 · JSON: https://cvemate.com/vulnerability/CVE-2026-99311/json

## Description

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

udf: fix return value for non-recorded-allocated extents in udf_map_block()

When someone creates a corrupted UDF filesystem where symlink contains
other extent type than EXT_RECORDED_ALLOCATED, it can leads to a crash
like:

 Oops: general protection fault
 KASAN: maybe wild-memory-access
 RIP: 0010:page_get_link (fs/namei.c:6503)
 Call Trace:
  vfs_readlink (fs/namei.c:6419)
  do_readlinkat (fs/stat.c:583)
  __x64_sys_readlink (fs/stat.c:605 fs/stat.c:602 fs/stat.c:602)

This is because in this case udf_map_block() fails to convert return
value of inode_bmap() from 1 to 0. Returned '1' propagates through
udf_bread() all the way up to __page_get_link() where it ends up being
treated as a folio pointer with obvious results.

Move the reset to 0 line outside the if, so udf_map_block() returns either
0 or -errno, even if the extent type is not EXT_RECORDED_ALLOCATED.
```

## Signals

- CVSS: 7.1 high (v4.0, OSV · Ubuntu) CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.192%, percentile 9.228%, 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 182)

- 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.117-1 \| \< 7.3.3-1
- debian linux-6.12 (Debian): \< 6.12.117-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/0d7f6c2b3c07fa239ebc169280eba9932cc56f46>
- <https://git.kernel.org/stable/c/df713b82b4b9671c16b52b60f3412c677719e2b8>
- <https://git.kernel.org/stable/c/f022984a4a1c18aa9c506790eb47da000dce95a7>
- <https://git.kernel.org/stable/c/0f242ca0878896df30292f4922700a32e8fdd039>
- <https://security-tracker.debian.org/tracker/CVE-2026-99311>
- <https://ubuntu.com/security/CVE-2026-99311>
- <https://www.cve.org/CVERecord?id=CVE-2026-99311>
- <https://git.kernel.org/linus/0f242ca0878896df30292f4922700a32e8fdd039>
- <https://git.kernel.org/stable/c/744d27de2819bb3bbada2ddb380c0fa798d322ce>

---

Data as of 2026-12-05T03:57:31.767Z. 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
