Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
PendingCVE-2026-99898

ceph: Fix xattr buffer leak in __send_cap()

Published 30/11/2026 · Updated 30/11/2026 · 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 products and versions

Linux Linux16d68903f56ae277446cc2d24ab18db835363eda – < 66e7c02930b6d3e473ca87965dc4749b3f20ce3b · 16d68903f56ae277446cc2d24ab18db835363eda – < e1145588ceaed15486ff938e2cb53a50ea791d77 · 16d68903f56ae277446cc2d24ab18db835363eda – < 1cd2b04669ee1eb8826d5e51bde682fb930cc022 · 16d68903f56ae277446cc2d24ab18db835363eda – < d2a4bb38201694294052d1ffe3ce4630d3693a99 · 16d68903f56ae277446cc2d24ab18db835363eda – < 0ef457d642a492d1e8ec62ed168de1f9e2534b05 · 16d68903f56ae277446cc2d24ab18db835363eda – < 112f3dba7af4da07c95151e6236213ba7c6b00c9 · 16d68903f56ae277446cc2d24ab18db835363eda – < dabe2280fa8dd8d84ebaaf5fb5c45b6d778fc6c1 · 16d68903f56ae277446cc2d24ab18db835363eda – < e51cf76e7275d1bb5ad2d529bb00feade632dadcFixed in: 66e7c02930b6d3e473ca87965dc4749b3f20ce3b · e1145588ceaed15486ff938e2cb53a50ea791d77 · 1cd2b04669ee1eb8826d5e51bde682fb930cc022 · d2a4bb38201694294052d1ffe3ce4630d3693a99 · 0ef457d642a492d1e8ec62ed168de1f9e2534b05 · 112f3dba7af4da07c95151e6236213ba7c6b00c9 · dabe2280fa8dd8d84ebaaf5fb5c45b6d778fc6c1 · e51cf76e7275d1bb5ad2d529bb00feade632dadc
Linux Linux5.10Fixed in: 5.10.275 · 5.15.226 · 6.1.193 · 6.6.163 · 6.12.117 · 6.18.63 · 7.3.4 · 7.4-rc1

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.