{"api_version":"1","generated_at":"2026-12-01T06:50:17+00:00","cve":"CVE-2026-99889","urls":{"html":"https://cve.report/CVE-2026-99889","api":"https://cve.report/api/cve/CVE-2026-99889.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99889","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99889"},"summary":{"title":"ceph: validate encoded xattr name lengths","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: validate encoded xattr name lengths\n\n__build_xattrs() advances over an MDS-provided name length before checking\nthat the name remains in the encoded xattr blob.  On 32-bit clients,\nUINT_MAX wraps the cursor and is stored as a negative internal name\nlength.  A later ordinary listxattr() converts it back to a UINT_MAX memcpy\nsize and corrupts kernel memory.\n\nCheck the name range before advancing and reject name, value, or aggregate\nsizes that overflow the signed internal accounting.\n\nThe malformed blob corrupted kernel state in two baseline boots.  It was\nrejected cleanly twice with this change, while normal and length-only\ncontrols remained safe.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:20:23","updated_at":"2026-12-01 06:17:55"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"8.8","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"8.8","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","data":{"baseScore":8.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/8ece97b24aa11f56c01a3652b54b8cf3724b094d","name":"https://git.kernel.org/stable/c/8ece97b24aa11f56c01a3652b54b8cf3724b094d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/cd81c4e2a491c0652226369ce8109e6af348ff04","name":"https://git.kernel.org/stable/c/cd81c4e2a491c0652226369ce8109e6af348ff04","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/166375898d29fea050a9abec855da6075050d5c9","name":"https://git.kernel.org/stable/c/166375898d29fea050a9abec855da6075050d5c9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/082e1416aab544c25fbb8e2aee95e332f6e00c43","name":"https://git.kernel.org/stable/c/082e1416aab544c25fbb8e2aee95e332f6e00c43","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6f8082c1fb88f478826d355ec3cefc6ff09da6e1","name":"https://git.kernel.org/stable/c/6f8082c1fb88f478826d355ec3cefc6ff09da6e1","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e2079f1bcad6f19fe690a46a90a1e4246884f767","name":"https://git.kernel.org/stable/c/e2079f1bcad6f19fe690a46a90a1e4246884f767","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4348550560ec3af12b234e447210d71b51738b92","name":"https://git.kernel.org/stable/c/4348550560ec3af12b234e447210d71b51738b92","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b69c4acf01c46155bf5225a06e6e0a8bcdaeb8c4","name":"https://git.kernel.org/stable/c/b69c4acf01c46155bf5225a06e6e0a8bcdaeb8c4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99889","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99889","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 355da1eb7a1f91c276b991764e951bbcd8047599 8ece97b24aa11f56c01a3652b54b8cf3724b094d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 355da1eb7a1f91c276b991764e951bbcd8047599 cd81c4e2a491c0652226369ce8109e6af348ff04 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 355da1eb7a1f91c276b991764e951bbcd8047599 e2079f1bcad6f19fe690a46a90a1e4246884f767 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 355da1eb7a1f91c276b991764e951bbcd8047599 b69c4acf01c46155bf5225a06e6e0a8bcdaeb8c4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 355da1eb7a1f91c276b991764e951bbcd8047599 082e1416aab544c25fbb8e2aee95e332f6e00c43 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 355da1eb7a1f91c276b991764e951bbcd8047599 6f8082c1fb88f478826d355ec3cefc6ff09da6e1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 355da1eb7a1f91c276b991764e951bbcd8047599 4348550560ec3af12b234e447210d71b51738b92 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 355da1eb7a1f91c276b991764e951bbcd8047599 166375898d29fea050a9abec855da6075050d5c9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.34","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.34 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.117 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.63 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/ceph/xattr.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"8ece97b24aa11f56c01a3652b54b8cf3724b094d","status":"affected","version":"355da1eb7a1f91c276b991764e951bbcd8047599","versionType":"git"},{"lessThan":"cd81c4e2a491c0652226369ce8109e6af348ff04","status":"affected","version":"355da1eb7a1f91c276b991764e951bbcd8047599","versionType":"git"},{"lessThan":"e2079f1bcad6f19fe690a46a90a1e4246884f767","status":"affected","version":"355da1eb7a1f91c276b991764e951bbcd8047599","versionType":"git"},{"lessThan":"b69c4acf01c46155bf5225a06e6e0a8bcdaeb8c4","status":"affected","version":"355da1eb7a1f91c276b991764e951bbcd8047599","versionType":"git"},{"lessThan":"082e1416aab544c25fbb8e2aee95e332f6e00c43","status":"affected","version":"355da1eb7a1f91c276b991764e951bbcd8047599","versionType":"git"},{"lessThan":"6f8082c1fb88f478826d355ec3cefc6ff09da6e1","status":"affected","version":"355da1eb7a1f91c276b991764e951bbcd8047599","versionType":"git"},{"lessThan":"4348550560ec3af12b234e447210d71b51738b92","status":"affected","version":"355da1eb7a1f91c276b991764e951bbcd8047599","versionType":"git"},{"lessThan":"166375898d29fea050a9abec855da6075050d5c9","status":"affected","version":"355da1eb7a1f91c276b991764e951bbcd8047599","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/ceph/xattr.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.34"},{"lessThan":"2.6.34","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.117","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.63","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"2.6.34","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"2.6.34","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"2.6.34","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"2.6.34","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","versionStartIncluding":"2.6.34","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63","versionStartIncluding":"2.6.34","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"2.6.34","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"2.6.34","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: validate encoded xattr name lengths\n\n__build_xattrs() advances over an MDS-provided name length before checking\nthat the name remains in the encoded xattr blob.  On 32-bit clients,\nUINT_MAX wraps the cursor and is stored as a negative internal name\nlength.  A later ordinary listxattr() converts it back to a UINT_MAX memcpy\nsize and corrupts kernel memory.\n\nCheck the name range before advancing and reject name, value, or aggregate\nsizes that overflow the signed internal accounting.\n\nThe malformed blob corrupted kernel state in two baseline boots.  It was\nrejected cleanly twice with this change, while normal and length-only\ncontrols remained safe."}],"metrics":[{"cvssV3_1":{"baseScore":8.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"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().\nAC: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.\nPR: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.\nUI: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.\nS: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.\nC: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.\nI: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.\nA: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."}]}],"providerMetadata":{"dateUpdated":"2026-12-01T05:44:03.156Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/8ece97b24aa11f56c01a3652b54b8cf3724b094d"},{"url":"https://git.kernel.org/stable/c/cd81c4e2a491c0652226369ce8109e6af348ff04"},{"url":"https://git.kernel.org/stable/c/e2079f1bcad6f19fe690a46a90a1e4246884f767"},{"url":"https://git.kernel.org/stable/c/b69c4acf01c46155bf5225a06e6e0a8bcdaeb8c4"},{"url":"https://git.kernel.org/stable/c/082e1416aab544c25fbb8e2aee95e332f6e00c43"},{"url":"https://git.kernel.org/stable/c/6f8082c1fb88f478826d355ec3cefc6ff09da6e1"},{"url":"https://git.kernel.org/stable/c/4348550560ec3af12b234e447210d71b51738b92"},{"url":"https://git.kernel.org/stable/c/166375898d29fea050a9abec855da6075050d5c9"}],"title":"ceph: validate encoded xattr name lengths","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99889","datePublished":"2026-11-30T13:18:00.257Z","dateReserved":"2026-09-25T10:25:14.442Z","dateUpdated":"2026-12-01T05:44:03.156Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:20:23","lastModifiedDate":"2026-12-01 06:17:55","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99889","Ordinal":"1","Title":"ceph: validate encoded xattr name lengths","CVE":"CVE-2026-99889","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99889","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: validate encoded xattr name lengths\n\n__build_xattrs() advances over an MDS-provided name length before checking\nthat the name remains in the encoded xattr blob.  On 32-bit clients,\nUINT_MAX wraps the cursor and is stored as a negative internal name\nlength.  A later ordinary listxattr() converts it back to a UINT_MAX memcpy\nsize and corrupts kernel memory.\n\nCheck the name range before advancing and reject name, value, or aggregate\nsizes that overflow the signed internal accounting.\n\nThe malformed blob corrupted kernel state in two baseline boots.  It was\nrejected cleanly twice with this change, while normal and length-only\ncontrols remained safe.","Type":"Description","Title":"ceph: validate encoded xattr name lengths"}]}}}