{"id":"CVE-2026-99898","summary":"ceph: Fix xattr buffer leak in __send_cap()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: Fix xattr buffer leak in __send_cap()\n\n__prep_cap() takes a reference on the xattr blob via ceph_buffer_get()\nand also grabs a reference to the old xattr blob returned by\n__ceph_build_xattrs_blob(). These references are normally dropped in\n__send_cap() after the cap message has been sent, but when ceph_msg_new()\nfails, __send_cap() requeues the cap and returns early without dropping\nthem, leaking both buffers on every allocation failure.\n\nRelease arg-\u003eold_xattr_buf and arg-\u003exattr_buf on the ceph_msg_new()\nfailure path before returning.","modified":"2026-11-30T15:02:32.050005052Z","published":"2026-11-30T13:18:05.230Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99898.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0ef457d642a492d1e8ec62ed168de1f9e2534b05"},{"type":"WEB","url":"https://git.kernel.org/stable/c/112f3dba7af4da07c95151e6236213ba7c6b00c9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1cd2b04669ee1eb8826d5e51bde682fb930cc022"},{"type":"WEB","url":"https://git.kernel.org/stable/c/66e7c02930b6d3e473ca87965dc4749b3f20ce3b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d2a4bb38201694294052d1ffe3ce4630d3693a99"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dabe2280fa8dd8d84ebaaf5fb5c45b6d778fc6c1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e1145588ceaed15486ff938e2cb53a50ea791d77"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e51cf76e7275d1bb5ad2d529bb00feade632dadc"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99898.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99898"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"16d68903f56ae277446cc2d24ab18db835363eda"},{"fixed":"66e7c02930b6d3e473ca87965dc4749b3f20ce3b"},{"fixed":"e1145588ceaed15486ff938e2cb53a50ea791d77"},{"fixed":"1cd2b04669ee1eb8826d5e51bde682fb930cc022"},{"fixed":"d2a4bb38201694294052d1ffe3ce4630d3693a99"},{"fixed":"0ef457d642a492d1e8ec62ed168de1f9e2534b05"},{"fixed":"112f3dba7af4da07c95151e6236213ba7c6b00c9"},{"fixed":"dabe2280fa8dd8d84ebaaf5fb5c45b6d778fc6c1"},{"fixed":"e51cf76e7275d1bb5ad2d529bb00feade632dadc"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99898.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.10.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99898.json"}}],"schema_version":"1.9.2"}