ceph: validate encoded xattr name lengths

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux355da1eb7a1f91c276b991764e951bbcd8047599 to before 8ece97b24aa11f56c01a3652b54b8cf3724b094d Affected355da1eb7a1f91c276b991764e951bbcd8047599 to before cd81c4e2a491c0652226369ce8109e6af348ff04 Affected355da1eb7a1f91c276b991764e951bbcd8047599 to before e2079f1bcad6f19fe690a46a90a1e4246884f767 Affected355da1eb7a1f91c276b991764e951bbcd8047599 to before b69c4acf01c46155bf5225a06e6e0a8bcdaeb8c4 Affected355da1eb7a1f91c276b991764e951bbcd8047599 to before 082e1416aab544c25fbb8e2aee95e332f6e00c43 Affected355da1eb7a1f91c276b991764e951bbcd8047599 to before 6f8082c1fb88f478826d355ec3cefc6ff09da6e1 Affected355da1eb7a1f91c276b991764e951bbcd8047599 to before 4348550560ec3af12b234e447210d71b51738b92 Affected355da1eb7a1f91c276b991764e951bbcd8047599 to before 166375898d29fea050a9abec855da6075050d5c9 Affected
Linux Linux2.6.34 Affectedbefore 2.6.34 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.