cveboard RSS feed

CVE-2026-89649

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2026
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

ceph: bound xattr value length in __build_xattrs()

In the Linux kernel, the following vulnerability has been resolved: ceph: bound xattr value length in __build_xattrs() __build_xattrs() decodes the MDS-supplied xattr blob one attribute at a time. For each attribute it reads a 32-bit name length, advances past the name bytes, reads a 32-bit value length, records the value pointer, and advances past the value bytes. The two length fields are read with ceph_decode_32_safe(), but the value bytes themselves are advanced over with a bare "p += len" and no ceph_decode_need() check that "len" bytes remain in the blob. For every attribute except the last, the next iteration's ceph_decode_32_safe() on the following name length implicitly verifies that the previous value did not run past the blob end. The final attribute has no successor, so its decoded value length is never checked against the blob bounds. A malicious or compromised metadata server can set the last attribute's value length larger than the bytes actually present in the blob. The blob is a dedicated kvmalloc() allocation sized to the wire length (ceph_buffer_new() in ceph_fill_inode()). __set_xattr() records the oversized length in xattr->val_len verbatim, and a later getxattr(2) runs memcpy(value, xattr->val, xattr->val_len) into a user-supplied buffer, copying bytes past the end of the allocation back to user space. Impact: a malicious metadata server discloses adjacent kernel heap bytes to a local user via getxattr(2) on a CephFS file. Add the missing ceph_decode_need() so an out-of-bounds value length on the final attribute fails the decode and returns -EIO instead of being stored.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
unaffected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
355da1eb7a1f91c276b991764e951bbcd8047599affectedgit848b80ca6b410f350d08b8ac19a00ef88223f2eaUnavailableNone listed
355da1eb7a1f91c276b991764e951bbcd8047599affectedgit01e3f19c301d492e12f16b3b463ac14d7cf3ebe7UnavailableNone listed
355da1eb7a1f91c276b991764e951bbcd8047599affectedgitcb0cd79ae80476d1bc06bd9678484b6736f19588UnavailableNone listed
355da1eb7a1f91c276b991764e951bbcd8047599affectedgit61f085cb8976c9cebc90e1a8933e4cc1ad8b0fceUnavailableNone listed
355da1eb7a1f91c276b991764e951bbcd8047599affectedgit38be2f3c41ecaba58bb92dc16603e09ba9fd64f1UnavailableNone listed
355da1eb7a1f91c276b991764e951bbcd8047599affectedgit1dd356310b1660215f9a3626580bf8b363ef981eUnavailableNone listed
355da1eb7a1f91c276b991764e951bbcd8047599affectedgitb12b3320c81fd72ab36388fb2445fec9c3038f10UnavailableNone listed
355da1eb7a1f91c276b991764e951bbcd8047599affectedgit68d541754d6cd3bb98d1fd8314f57e5eb533557dUnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
2.6.34affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver2.6.34UnavailableNone listed
5.10.270unaffectedsemverUnavailable5.10.*None listed
5.15.221unaffectedsemverUnavailable5.15.*None listed
6.1.188unaffectedsemverUnavailable6.1.*None listed
6.6.157unaffectedsemverUnavailable6.6.*None listed
6.12.109unaffectedsemverUnavailable6.12.*None listed
6.18.50unaffectedsemverUnavailable6.18.*None listed
7.2.4unaffectedsemverUnavailable7.2.*None listed
7.3unaffectedoriginal_commit_for_fixUnavailable*None listed