CVE-2026-99898
JSON

Not scored

ceph: Fix xattr buffer leak in __send_cap()

Severity
Not scored
Exploit likelihood
0.18% (higher than 8% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 16d68903f56ae277446cc2d24ab18db835363eda before 66e7c02930b6d3e473ca87965dc4749b3f20ce3b, from 16d68903f56ae277446cc2d24ab18db835363eda before e1145588ceaed15486ff938e2cb53a50ea791d77, from 16d68903f56ae277446cc2d24ab18db835363eda before 1cd2b04669ee1eb8826d5e51bde682fb930cc022, from 16d68903f56ae277446cc2d24ab18db835363eda before d2a4bb38201694294052d1ffe3ce4630d3693a99, from 16d68903f56ae277446cc2d24ab18db835363eda before 0ef457d642a492d1e8ec62ed168de1f9e2534b05, from 16d68903f56ae277446cc2d24ab18db835363eda before 112f3dba7af4da07c95151e6236213ba7c6b00c9, from 16d68903f56ae277446cc2d24ab18db835363eda before dabe2280fa8dd8d84ebaaf5fb5c45b6d778fc6c1, from 16d68903f56ae277446cc2d24ab18db835363eda before e51cf76e7275d1bb5ad2d529bb00feade632dadc and 1 more
Not affected: before 5.10, from 5.10.275 up to 5.10.*, from 5.15.226 up to 5.15.*, from 6.1.193 up to 6.1.*, from 6.6.163 up to 6.6.*, from 6.12.117 up to 6.12.*
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-99898 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-99898 changed 2026-11-30Public domain