# CVE-2026-139061: udf: validate the device specification EA before using it

- Priority: **Insufficient evidence**
- Reason: No CVSS vector published; no exploitation reported by the 5 checked sources
- Next step: Check the vendor advisory
- Status: published
- Published: 2026-11-30 · Modified: 2026-12-02
- Aliases: DEBIAN-CVE-2026-139061, UBUNTU-CVE-2026-139061
- Record: https://cvemate.com/vulnerability/CVE-2026-139061 · JSON: https://cvemate.com/vulnerability/CVE-2026-139061/json

## Description

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

udf: validate the device specification EA before using it

udf_get_extendedattr() bounds an extended attribute only against
struct genericFormat, which is 12 bytes.  A type-12 device
specification is struct deviceSpec, which is 24 bytes plus a flexible
impUse array. Thus a corrupted filesystem can contain extended attribute
that is accepted by udf_get_extendedattr() but udf_write_inode() or
udf_read_inode() may access beyond the end of provided buffer.

Provide a udf_device_spec_valid() check to validate correctness of
extended attribute that is a deviceSpec. While here, check the result of
udf_add_extendedattr() before dereferencing it as it can return NULL in
case of error.

[JK: Removed duplicated validity checks]
```

## Signals

- CVSS: none published
- EPSS: 0.371%, percentile 33.102%, 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 172)

- debian linux (Debian): All versions (No fix recorded) \| \< 6.12.118-1 \| \< 7.3.4-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)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-7.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/acc68946934990fc6c127cd494a4d024548a81af>
- <https://git.kernel.org/stable/c/3ef4b50dc9678af3a212df9a0ce556d0d28aa189>
- <https://git.kernel.org/stable/c/fa3433b55677f0de2c400c1ad6b0fc7c1c5d5ee8>
- <https://git.kernel.org/stable/c/d1458fb4b886686072388a7ce1ef6e15c6c37df9>
- <https://git.kernel.org/stable/c/2a479b4380267f0352b2a603496e5dc31f771047>
- <https://git.kernel.org/stable/c/66f61439a960dad287fb09d02dab5e53f3e09738>
- <https://git.kernel.org/stable/c/2959cb1fceb465db85cff47f8159375eb721570b>
- <https://git.kernel.org/stable/c/9a2390959685ac35a58c80c8016120849a2babf6>
- <https://security-tracker.debian.org/tracker/CVE-2026-139061>
- <https://ubuntu.com/security/CVE-2026-139061>
- <https://www.cve.org/CVERecord?id=CVE-2026-139061>

---

Data as of 2026-12-05T07:58:51.505Z. 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
