VDB

CVE-2026-89649

CVE-2026-89649 PUBLISHED CVSS 9.1 CRITICAL

ceph: bound xattr value length in __build_xattrs()

Reported by linux · Published September 11, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-headersAmazon Linux1:6.12.110-135.201.amzn2023

Risk scores

CVSS 3.1
9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Affected products

VendorProductVersions
LinuxLinux355da1eb7a1f91c276b991764e951bbcd8047599, 355da1eb7a1f91c276b991764e951bbcd8047599, 355da1eb7a1f91c276b991764e951bbcd8047599
LinuxLinux2.6.34, 0, 5.10.270
amazon:2023kernel6.12-headers0
linuxlinux_kernel2.6.34, 2.6.34, 2.6.34
amazon:2023kernel-livepatch-6.1.188-233.3850
amazon:2023kernel6.120
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.12-tools0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023perf0
amazon:2023kernel0
amazon:2023perf6.120
amazon:2023kernel-tools-devel0
amazon:2023bpftool6.180
amazon:2023kernel-devel0
amazon:2023kernel-livepatch-6.12.110-135.2010
amazon:2023kernel6.12-devel0
amazon:2023kernel-headers0
amazon:2023kernel-modules-extra0
amazon:2023microvm-kernel6.180

…and 18 more

Timeline

  • Sep 11, 2026 CVE Published
  • Sep 12, 2026 EPSS Score (29 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-89649
vulnetix vdb fixes CVE-2026-89649

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-89649/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›