CVE-2026-99898
ceph: Fix xattr buffer leak in __send_cap()
Description
In the Linux kernel, the following vulnerability has been resolved: ceph: Fix xattr buffer leak in __send_cap() __prep_cap() takes a reference on the xattr blob via ceph_buffer_get() and also grabs a reference to the old xattr blob returned by __ceph_build_xattrs_blob(). These references are normally dropped in __send_cap() after the cap message has been sent, but when ceph_msg_new() fails, __send_cap() requeues the cap and returns early without dropping them, leaking both buffers on every allocation failure. Release arg->old_xattr_buf and arg->xattr_buf on the ceph_msg_new() failure path before returning.
INFO
Published Date :
Nov. 30, 2026, 2:20 p.m.
Last Modified :
Nov. 30, 2026, 2:20 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Release arg->old_xattr_buf on allocation failure.
- Release arg->xattr_buf on allocation failure.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-99898.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-99898 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-99898
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-99898 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-99898 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 30, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: ceph: Fix xattr buffer leak in __send_cap() __prep_cap() takes a reference on the xattr blob via ceph_buffer_get() and also grabs a reference to the old xattr blob returned by __ceph_build_xattrs_blob(). These references are normally dropped in __send_cap() after the cap message has been sent, but when ceph_msg_new() fails, __send_cap() requeues the cap and returns early without dropping them, leaking both buffers on every allocation failure. Release arg->old_xattr_buf and arg->xattr_buf on the ceph_msg_new() failure path before returning. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/99xxx/CVE-2026-99898.json">CVE-2026-99898</a> Added Reference https://git.kernel.org/stable/c/0ef457d642a492d1e8ec62ed168de1f9e2534b05 Added Reference https://git.kernel.org/stable/c/112f3dba7af4da07c95151e6236213ba7c6b00c9 Added Reference https://git.kernel.org/stable/c/1cd2b04669ee1eb8826d5e51bde682fb930cc022 Added Reference https://git.kernel.org/stable/c/66e7c02930b6d3e473ca87965dc4749b3f20ce3b Added Reference https://git.kernel.org/stable/c/d2a4bb38201694294052d1ffe3ce4630d3693a99 Added Reference https://git.kernel.org/stable/c/dabe2280fa8dd8d84ebaaf5fb5c45b6d778fc6c1 Added Reference https://git.kernel.org/stable/c/e1145588ceaed15486ff938e2cb53a50ea791d77 Added Reference https://git.kernel.org/stable/c/e51cf76e7275d1bb5ad2d529bb00feade632dadc