Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99889

published high CVSS 3.1 · 8.8

ceph: validate encoded xattr name lengths

Published
30 Nov 2026, 13:18:00 UTC
Updated
01 Dec 2026, 05:44:03 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux355da1eb7a1f91c276b991764e951bbcd8047599 to < 8ece97b24aa11f56c01a3652b54b8cf3724b094d · 355da1eb7a1f91c276b991764e951bbcd8047599 to < cd81c4e2a491c0652226369ce8109e6af348ff04 · 355da1eb7a1f91c276b991764e951bbcd8047599 to < e2079f1bcad6f19fe690a46a90a1e4246884f767 · 355da1eb7a1f91c276b991764e951bbcd8047599 to < b69c4acf01c46155bf5225a06e6e0a8bcdaeb8c4 · 355da1eb7a1f91c276b991764e951bbcd8047599 to < 082e1416aab544c25fbb8e2aee95e332f6e00c43 · 355da1eb7a1f91c276b991764e951bbcd8047599 to < 6f8082c1fb88f478826d355ec3cefc6ff09da6e1 · 355da1eb7a1f91c276b991764e951bbcd8047599 to < 4348550560ec3af12b234e447210d71b51738b92 · 355da1eb7a1f91c276b991764e951bbcd8047599 to < 166375898d29fea050a9abec855da6075050d5c9 · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.34 (affected) · 0 to < 2.6.34 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated 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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Scenarios
en: AV:N - The malformed name length comes from the MDS over the Ceph TCP messenger, inside the InodeStat xattr blob of a CEPH_MSG_CLIENT_REPLY (parse_reply_info_in -> ceph_fill_inode stores it in i_xattrs.blob) or the middle section of a CEPH_MSG_CLIENT_CAPS grant (handle_cap_grant). __build_xattrs() then does p += namelen on that wire value without ceph_decode_need(). AC:L - On a 32-bit client, namelen 0xFFFFFFFF wraps the cursor to name-1 inside the blob, so the later decodes pass and __set_xattr() stores name_len=-1. Every listxattr then runs memcpy(dest, name, (size_t)-1) with no race. 64-bit is unaffected because the blob is at most 16 MiB, but no Kconfig option gates 32-bit CephFS. PR:N - The attacker is, or has compromised, the MDS the client mounted and needs no account or privilege on the victim host. The kernel copies the xattr blob from the MDS reply or cap grant verbatim and checks nothing inside it before __build_xattrs() parses it. UI:R - ceph_fs_type has no FS_USERNS_MOUNT, so an admin on the victim has to mount the attacker's cluster. A process then has to call listxattr() (or setxattr(), which reaches __ceph_build_xattrs_blob) on the hostile inode, because __get_xattr() never matches the negative-length entry. S:U - The overflow stays inside the client kernel's own heap. No hypervisor, VM or IOMMU boundary is crossed, and the impact stays in the client host's kernel. C:H - __copy_xattr_names() copies blob bytes supplied by the MDS at least 2 GiB past the listxattr kvmalloc buffer. With a blob over 4 MiB, vmalloc puts it behind a guard page, so the MDS picks the overrun length and its content. That heap corruption primitive can be turned into kernel memory disclosure. I:H - The overflow writes bytes the attacker controls into neighbouring slab objects of a size class the MDS steers through names_size+count. The same negative length also overflows __ceph_build_xattrs_blob() after a setxattr. That is an out-of-bounds kernel heap write usable for control-flow hijack. A:H - A copy of at least 2 GiB on 32-bit always ends in a page fault while ceph_listxattr() holds i_ceph_lock. The client oopses after corrupting heap memory, and the MDS can resend the same blob on every getattr reply.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 355da1eb7a1f91c276b991764e951bbcd8047599 to < 8ece97b24aa11f56c01a3652b54b8cf3724b094d (affected · git)355da1eb7a1f91c276b991764e951bbcd8047599 to < cd81c4e2a491c0652226369ce8109e6af348ff04 (affected · git)355da1eb7a1f91c276b991764e951bbcd8047599 to < e2079f1bcad6f19fe690a46a90a1e4246884f767 (affected · git)355da1eb7a1f91c276b991764e951bbcd8047599 to < b69c4acf01c46155bf5225a06e6e0a8bcdaeb8c4 (affected · git)355da1eb7a1f91c276b991764e951bbcd8047599 to < 082e1416aab544c25fbb8e2aee95e332f6e00c43 (affected · git)355da1eb7a1f91c276b991764e951bbcd8047599 to < 6f8082c1fb88f478826d355ec3cefc6ff09da6e1 (affected · git)355da1eb7a1f91c276b991764e951bbcd8047599 to < 4348550560ec3af12b234e447210d71b51738b92 (affected · git)355da1eb7a1f91c276b991764e951bbcd8047599 to < 166375898d29fea050a9abec855da6075050d5c9 (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.34 (affected)0 to < 2.6.34 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

ceph: validate encoded xattr name lengths

Provenance

Schema
5.2
Searchable
yes
Content hash
0a7a477b3c9fb6d718231e3950507162b6bdc39ee367898afe10ef477f0be7b3
Ingested
01 Dec 2026, 05:47:23 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected