# CVE-2026-52962: ceph: fix a buffer leak in __ceph_setxattr()

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-06-24T16:28:42.688Z
- Modified: 2026-11-06T17:17:57.973Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ceph: fix a buffer leak in __ceph_setxattr()

The old_blob in __ceph_setxattr() can store
ci->i_xattrs.prealloc_blob value during the retry.
However, it is never called the ceph_buffer_put()
for the old_blob object. This patch fixes the issue of
the buffer leak.

(As written by CVE List.)

## Affected

- Linux Linux: from 86968ef21596515958d5f0a40233d02be78ecec0 before 521e5aba857fd267624892c8dd6295f22ce0267e; from 86968ef21596515958d5f0a40233d02be78ecec0 before d0cb994605c84a159c1d00d72cdc8583c321ef95; from 86968ef21596515958d5f0a40233d02be78ecec0 before ecf94823c5c6a20790bb76ed2816822b0beb0c22; from 86968ef21596515958d5f0a40233d02be78ecec0 before 4bfdcefdaa6092a06cacd59389c7756b36e6de8c; from 86968ef21596515958d5f0a40233d02be78ecec0 before 7d3e8d2d648d5f0df29b4710246680f47695fe94; from 86968ef21596515958d5f0a40233d02be78ecec0 before 3fa13ceefbc5f36131110342743994cb3de80637; from 86968ef21596515958d5f0a40233d02be78ecec0 before bc7abce4460e490dcb579eec770f175b150b685f; from 86968ef21596515958d5f0a40233d02be78ecec0 before 5d3cc36b4e77a27ce7b686b7c59c7072bcb3fa8e; 1d86cb8d3204337e1853b84d69ea0f30dc0ba973; 9cec64d3f6d91da590cc4069172254067b43d0b2; de30fc2ca852365ed635f62d7d818bffc15e55c9; dfb8712c7acce0689aed6c400a22b35f4d2861fe; and 7 more (not affected: before 5.3; from 5.10.258 up to 5.10.*; from 5.15.209 up to 5.15.*; from 6.1.175 up to 6.1.*; from 6.6.141 up to 6.6.*; from 6.12.91 up to 6.12.*; from 6.18.33 up to 6.18.*; from 7.0.10 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 4.4.192 before 4.5; from 4.9.192 before 4.10; from 4.14.143 before 4.15; from 4.19.72 before 4.20; from 5.2.14 before 5.3; from 5.3.1 before 5.10.258; from 5.11 before 5.15.209; from 5.16 before 6.1.175; from 6.2 before 6.6.141; from 6.7 before 6.12.91; from 6.13 before 6.18.33; from 6.19 before 7.0.10; and 2 more

## References

- <https://git.kernel.org/stable/c/521e5aba857fd267624892c8dd6295f22ce0267e> (patch)
- <https://git.kernel.org/stable/c/d0cb994605c84a159c1d00d72cdc8583c321ef95> (patch)
- <https://git.kernel.org/stable/c/ecf94823c5c6a20790bb76ed2816822b0beb0c22> (patch)
- <https://git.kernel.org/stable/c/4bfdcefdaa6092a06cacd59389c7756b36e6de8c> (patch)
- <https://git.kernel.org/stable/c/7d3e8d2d648d5f0df29b4710246680f47695fe94> (patch)
- <https://git.kernel.org/stable/c/3fa13ceefbc5f36131110342743994cb3de80637> (patch)
- <https://git.kernel.org/stable/c/bc7abce4460e490dcb579eec770f175b150b685f> (patch)
- <https://git.kernel.org/stable/c/5d3cc36b4e77a27ce7b686b7c59c7072bcb3fa8e> (patch)

## Sources

- CVE List: [CVE-2026-52962](https://www.cve.org/CVERecord?id=CVE-2026-52962), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-52962](https://nvd.nist.gov/vuln/detail/CVE-2026-52962), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-52962 · Whole record: https://cve.day/CVE-2026-52962.json · Rebuilt by cve.day 2026-11-25T22:59:25.631Z
