In the Linux kernel, the following vulnerability has been resolved: ceph: bound xattr value length in __build_xattrs() __build_xattrs() decodes the… (CVE-2026-89649)
A vulnerability in the Linux kernel's Ceph filesystem implementation allows a malicious or compromised metadata server to cause an out-of-bounds read during extended attribute (xattr) processing. Specifically, the final xattr value length is not properly checked against the blob bounds, leading to potential disclosure of adjacent kernel heap memory to a local user via getxattr(2). This issue has been resolved by adding a bounds check that prevents decoding of oversized attribute values.
AI Analysis
Technical Summary
__build_xattrs() in the Linux kernel's Ceph filesystem decodes extended attributes from a metadata server-supplied blob. While length fields are checked for each attribute, the final attribute's value length is not verified against the blob boundary, allowing a malicious metadata server to specify an oversized length. This causes __set_xattr() to record an invalid length, leading to a memcpy() that copies beyond the allocated buffer into user space during getxattr(2). The vulnerability enables local users to read adjacent kernel heap memory. The fix adds a missing ceph_decode_need() check to ensure the final attribute's value length does not exceed the blob size, causing decoding to fail safely if it does.
Potential Impact
A malicious or compromised Ceph metadata server can cause the kernel to disclose adjacent kernel heap memory to a local user through the getxattr(2) system call on a CephFS file. This results in an information disclosure vulnerability allowing local users to read unintended kernel memory contents.
Mitigation Recommendations
A fix has been implemented that adds the missing bounds check for the final xattr value length in __build_xattrs(). Systems should apply the official kernel update containing this patch to prevent out-of-bounds reads and information disclosure. No other mitigation is indicated.
In the Linux kernel, the following vulnerability has been resolved: ceph: bound xattr value length in __build_xattrs() __build_xattrs() decodes the… (CVE-2026-89649)
Description
A vulnerability in the Linux kernel's Ceph filesystem implementation allows a malicious or compromised metadata server to cause an out-of-bounds read during extended attribute (xattr) processing. Specifically, the final xattr value length is not properly checked against the blob bounds, leading to potential disclosure of adjacent kernel heap memory to a local user via getxattr(2). This issue has been resolved by adding a bounds check that prevents decoding of oversized attribute values.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
__build_xattrs() in the Linux kernel's Ceph filesystem decodes extended attributes from a metadata server-supplied blob. While length fields are checked for each attribute, the final attribute's value length is not verified against the blob boundary, allowing a malicious metadata server to specify an oversized length. This causes __set_xattr() to record an invalid length, leading to a memcpy() that copies beyond the allocated buffer into user space during getxattr(2). The vulnerability enables local users to read adjacent kernel heap memory. The fix adds a missing ceph_decode_need() check to ensure the final attribute's value length does not exceed the blob size, causing decoding to fail safely if it does.
Potential Impact
A malicious or compromised Ceph metadata server can cause the kernel to disclose adjacent kernel heap memory to a local user through the getxattr(2) system call on a CephFS file. This results in an information disclosure vulnerability allowing local users to read unintended kernel memory contents.
Mitigation Recommendations
A fix has been implemented that adds the missing bounds check for the final xattr value length in __build_xattrs(). Systems should apply the official kernel update containing this patch to prevent out-of-bounds reads and information disclosure. No other mitigation is indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-j8wr-c6w3-j472
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-89649"]
Threat ID: 6aa4a00455bf5e2cf5a86629
Added to database: 09/12/2026, 00:42:44 UTC
Last enriched: 09/12/2026, 00:57:20 UTC
Last updated: 09/12/2026, 00:57:20 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.