PoC Monitor
← All CVEs
CVE-2026-89649published 11 Sep 2026 19:45 UTCData: JSON · API

Linux

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.1critical · scored by CNA
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Linux Linux
  • >= 355da1eb7a1f91c276b991764e951bbcd8047599, < 848b80ca6b410f350d08b8ac19a00ef88223f2ea
  • >= 355da1eb7a1f91c276b991764e951bbcd8047599, < 01e3f19c301d492e12f16b3b463ac14d7cf3ebe7
  • >= 355da1eb7a1f91c276b991764e951bbcd8047599, < cb0cd79ae80476d1bc06bd9678484b6736f19588
  • >= 355da1eb7a1f91c276b991764e951bbcd8047599, < 61f085cb8976c9cebc90e1a8933e4cc1ad8b0fce
  • >= 355da1eb7a1f91c276b991764e951bbcd8047599, < 38be2f3c41ecaba58bb92dc16603e09ba9fd64f1
  • >= 355da1eb7a1f91c276b991764e951bbcd8047599, < 1dd356310b1660215f9a3626580bf8b363ef981e
  • >= 355da1eb7a1f91c276b991764e951bbcd8047599, < b12b3320c81fd72ab36388fb2445fec9c3038f10
  • >= 355da1eb7a1f91c276b991764e951bbcd8047599, < 68d541754d6cd3bb98d1fd8314f57e5eb533557d

Fixed in 848b80ca6b410f350d08b8ac19a00ef88223f2ea, 01e3f19c301d492e12f16b3b463ac14d7cf3ebe7, cb0cd79ae80476d1bc06bd9678484b6736f19588, 61f085cb8976c9cebc90e1a8933e4cc1ad8b0fce, 38be2f3c41ecaba58bb92dc16603e09ba9fd64f1, 1dd356310b1660215f9a3626580bf8b363ef981e, b12b3320c81fd72ab36388fb2445fec9c3038f10, 68d541754d6cd3bb98d1fd8314f57e5eb533557d

Linux Linux
  • 2.6.34

Fixed in 0, 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.109, 6.18.50, 7.2.4, 7.3

Mitigation

Upgrade Linux to 848b80ca6b410f350d08b8ac19a00ef88223f2ea or 01e3f19c301d492e12f16b3b463ac14d7cf3ebe7 or cb0cd79ae80476d1bc06bd9678484b6736f19588 or 61f085cb8976c9cebc90e1a8933e4cc1ad8b0fce or 38be2f3c41ecaba58bb92dc16603e09ba9fd64f1 or 1dd356310b1660215f9a3626580bf8b363ef981e or b12b3320c81fd72ab36388fb2445fec9c3038f10 or 68d541754d6cd3bb98d1fd8314f57e5eb533557d or later.

Upgrade Linux to 0 or 5.10.270 or 5.15.221 or 6.1.188 or 6.6.157 or 6.12.109 or 6.18.50 or 7.2.4 or 7.3 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published11 Sep 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.