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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-28)
- **Published:** 2026-11-16T09:59:33.978Z
- **Modified:** 2026-11-23T08:17:36.267Z

## Who should check

- Anyone running Linux \>= 493447dd8336607fce426f7879e581095f6c606e, \< 744d27de2819bb3bbada2ddb380c0fa798d322ce; \>= c226964ec786f3797ed389a16392ce4357697d24, \< 0d7f6c2b3c07fa239ebc169280eba9932cc56f46; \>= c226964ec786f3797ed389a16392ce4357697d24, \< df713b82b4b9671c16b52b60f3412c677719e2b8; \>= c226964ec786f3797ed389a16392ce4357697d24, \< f022984a4a1c18aa9c506790eb47da000dce95a7; \>= c226964ec786f3797ed389a16392ce4357697d24, \< 0f242ca0878896df30292f4922700a32e8fdd039; b22d9a5698abf04341f8fbc30141e0673863c3a6; \>= 6.6.59, \< 6.6.163; \>= 6.11.6, \< 6.12
- Anyone running Linux 6.12

## Description

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.

## Affected and fixed versions

- Linux: \>= 493447dd8336607fce426f7879e581095f6c606e, \< 744d27de2819bb3bbada2ddb380c0fa798d322ce; \>= c226964ec786f3797ed389a16392ce4357697d24, \< 0d7f6c2b3c07fa239ebc169280eba9932cc56f46; \>= c226964ec786f3797ed389a16392ce4357697d24, \< df713b82b4b9671c16b52b60f3412c677719e2b8; \>= c226964ec786f3797ed389a16392ce4357697d24, \< f022984a4a1c18aa9c506790eb47da000dce95a7; \>= c226964ec786f3797ed389a16392ce4357697d24, \< 0f242ca0878896df30292f4922700a32e8fdd039; b22d9a5698abf04341f8fbc30141e0673863c3a6; \>= 6.6.59, \< 6.6.163; \>= 6.11.6, \< 6.12 (cvelist)
- Linux: 6.12 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 6.12 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-99311.md
Affected: Linux >= 493447dd8336607fce426f7879e581095f6c606e, < 744d27de2819bb3bbada2ddb380c0fa798d322ce; >= c226964ec786f3797ed389a16392ce4357697d24, < 0d7f6c2b3c07fa239ebc169280eba9932cc56f46; >= c226964ec786f3797ed389a16392ce4357697d24, < df713b82b4b9671c16b52b60f3412c677719e2b8; >= c226964ec786f3797ed389a…
Fixed in: Linux 744d27de2819bb3bbada2ddb380c0fa798d322ce, Linux 0d7f6c2b3c07fa239ebc169280eba9932cc56f46, Linux 0f242ca0878896df30292f4922700a32e8fdd039, Linux 6.6.163, Linux 6.12

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-99311 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 493447dd8336607fce426f7879e581095f6c606e, \< 744d27de2819bb3bbada2ddb380c0fa798d322ce; \>= c226964ec786f3797ed389a16392ce4357697d24, \< 0d7f6c2b3c07fa239ebc169280eba9932cc56f46; \>= c226964ec786f3797ed389a16392ce4357697d24, \< df713b82b4b9671c16b52b60f3412c677719e2b8; \>= c226964ec786f3797ed389a16392ce4357697d24, \< f022984a4a1c18aa9c506790eb47da000dce95a7; \>= c226964ec786f3797ed389a16392ce4357697d24, \< 0f242ca0878896df30292f4922700a32e8fdd039; b22d9a5698abf04341f8fbc30141e0673863c3a6; \>= 6.6.59, \< 6.6.163; \>= 6.11.6, \< 6.12; Linux 6.12.

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

Yes. Fixed in Linux 744d27de2819bb3bbada2ddb380c0fa798d322ce, Linux 0d7f6c2b3c07fa239ebc169280eba9932cc56f46, Linux 0f242ca0878896df30292f4922700a32e8fdd039, Linux 6.6.163, Linux 6.12. Upgrade Linux to 6.12 or later.

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

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/744d27de2819bb3bbada2ddb380c0fa798d322ce>
- other: <https://git.kernel.org/stable/c/0d7f6c2b3c07fa239ebc169280eba9932cc56f46>
- other: <https://git.kernel.org/stable/c/df713b82b4b9671c16b52b60f3412c677719e2b8>
- other: <https://git.kernel.org/stable/c/f022984a4a1c18aa9c506790eb47da000dce95a7>
- other: <https://git.kernel.org/stable/c/0f242ca0878896df30292f4922700a32e8fdd039>

## 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-99311>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

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