Bug 2424984 (CVE-2023-53867) - CVE-2023-53867 kernel: ceph: fix potential use-after-free bug when trimming caps
Summary: CVE-2023-53867 kernel: ceph: fix potential use-after-free bug when trimming caps
Keywords:
Status: NEW
Alias: CVE-2023-53867
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-24 12:05 UTC by OSIDB Bzimport
Modified: 2025-12-25 11:03 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-24 12:05:54 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.