# CVE-2026-99889: ceph: validate encoded xattr name lengths

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.54%, higher than 46% of CVEs (2026-12-01)
- Published: 2026-11-30T13:18:00.257Z
- Modified: 2026-12-01T06:17:55.610Z
- Assigned by: Linux

## Description

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

ceph: validate encoded xattr name lengths

__build_xattrs() advances over an MDS-provided name length before checking
that the name remains in the encoded xattr blob.  On 32-bit clients,
UINT_MAX wraps the cursor and is stored as a negative internal name
length.  A later ordinary listxattr() converts it back to a UINT_MAX memcpy
size and corrupts kernel memory.

Check the name range before advancing and reject name, value, or aggregate
sizes that overflow the signed internal accounting.

The malformed blob corrupted kernel state in two baseline boots.  It was
rejected cleanly twice with this change, while normal and length-only
controls remained safe.

(As written by CVE List.)

## Affected

- Linux Linux: from 355da1eb7a1f91c276b991764e951bbcd8047599 before 8ece97b24aa11f56c01a3652b54b8cf3724b094d; from 355da1eb7a1f91c276b991764e951bbcd8047599 before cd81c4e2a491c0652226369ce8109e6af348ff04; from 355da1eb7a1f91c276b991764e951bbcd8047599 before e2079f1bcad6f19fe690a46a90a1e4246884f767; from 355da1eb7a1f91c276b991764e951bbcd8047599 before b69c4acf01c46155bf5225a06e6e0a8bcdaeb8c4; from 355da1eb7a1f91c276b991764e951bbcd8047599 before 082e1416aab544c25fbb8e2aee95e332f6e00c43; from 355da1eb7a1f91c276b991764e951bbcd8047599 before 6f8082c1fb88f478826d355ec3cefc6ff09da6e1; from 355da1eb7a1f91c276b991764e951bbcd8047599 before 4348550560ec3af12b234e447210d71b51738b92; from 355da1eb7a1f91c276b991764e951bbcd8047599 before 166375898d29fea050a9abec855da6075050d5c9; 2.6.34 (not affected: before 2.6.34; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/8ece97b24aa11f56c01a3652b54b8cf3724b094d>
- <https://git.kernel.org/stable/c/cd81c4e2a491c0652226369ce8109e6af348ff04>
- <https://git.kernel.org/stable/c/e2079f1bcad6f19fe690a46a90a1e4246884f767>
- <https://git.kernel.org/stable/c/b69c4acf01c46155bf5225a06e6e0a8bcdaeb8c4>
- <https://git.kernel.org/stable/c/082e1416aab544c25fbb8e2aee95e332f6e00c43>
- <https://git.kernel.org/stable/c/6f8082c1fb88f478826d355ec3cefc6ff09da6e1>
- <https://git.kernel.org/stable/c/4348550560ec3af12b234e447210d71b51738b92>
- <https://git.kernel.org/stable/c/166375898d29fea050a9abec855da6075050d5c9>

## Sources

- CVE List: [CVE-2026-99889](https://www.cve.org/CVERecord?id=CVE-2026-99889), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-99889](https://nvd.nist.gov/vuln/detail/CVE-2026-99889), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-99889 · Whole record: https://cve.day/CVE-2026-99889.json · Rebuilt by cve.day 2026-12-01T06:32:20.773Z
