CVE-2023-53867

published 24 Dec 2025 · updated 15 Oct 2026

ceph: fix potential use-after-free bug when trimming caps

9.8CriticalCVSS 9.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 2b2515b8095cf2149bef44383a99d5b5677f1831, Kernel 448875a73e16ba7d81dec9274ce9d33a12d092fb, Kernel aaf67de78807c59c35bafb5003d4fb457c764800 and 1 more.

In the Linux kernel, the following vulnerability has been resolved: ceph: fix potential use-after-free bug when trimming caps When trimming the caps and just after the 'session->s_cap_lock' is released in ceph_iterate_session_caps() the cap maybe removed by another thread, and when using the stale cap memory in the callbacks it will trigger use-after-free crash. We need to check the existence of the cap just after the 'ci->i_ceph_lock' being acquired. And do nothing if it's already removed.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=2.6.34, >=2f2dc053404febedc9c273452d9d518fb31fde72 <2b2515b8095cf2149bef44383a99d5b5677f1831, >=2f2dc053404febedc9c273452d9d518fb31fde72 <448875a73e16ba7d81dec9274ce9d33a12d092fb, >=2f2dc053404febedc9c273452d9d518fb31fde72 <aaf67de78807c59c35bafb5003d4fb457c764800, >=2f2dc053404febedc9c273452d9d518fb31fde72 <ae6e935618d99cdba11eab4714092e7e5f13cf7e2b2515b8095cf2149bef44383a99d5b5677f1831, 448875a73e16ba7d81dec9274ce9d33a12d092fb, aaf67de78807c59c35bafb5003d4fb457c764800, ae6e935618d99cdba11eab4714092e7e5f13cf7e

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-53867 severity on Zeptric[![CVE-2023-53867](https://zeptric.io/badge/cve/CVE-2023-53867.svg)](https://zeptric.io/cve/CVE-2023-53867)