{"id":"CVE-2023-53867","summary":"ceph: fix potential use-after-free bug when trimming caps","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: fix potential use-after-free bug when trimming caps\n\nWhen trimming the caps and just after the 'session-\u003es_cap_lock' is\nreleased in ceph_iterate_session_caps() the cap maybe removed by\nanother thread, and when using the stale cap memory in the callbacks\nit will trigger use-after-free crash.\n\nWe need to check the existence of the cap just after the 'ci-\u003ei_ceph_lock'\nbeing acquired. And do nothing if it's already removed.","modified":"2026-03-20T12:33:23.149765Z","published":"2025-12-24T10:55:25.430Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53867.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2b2515b8095cf2149bef44383a99d5b5677f1831"},{"type":"WEB","url":"https://git.kernel.org/stable/c/448875a73e16ba7d81dec9274ce9d33a12d092fb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aaf67de78807c59c35bafb5003d4fb457c764800"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ae6e935618d99cdba11eab4714092e7e5f13cf7e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53867.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53867"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2f2dc053404febedc9c273452d9d518fb31fde72"},{"fixed":"2b2515b8095cf2149bef44383a99d5b5677f1831"},{"fixed":"448875a73e16ba7d81dec9274ce9d33a12d092fb"},{"fixed":"ae6e935618d99cdba11eab4714092e7e5f13cf7e"},{"fixed":"aaf67de78807c59c35bafb5003d4fb457c764800"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53867.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.34"},{"fixed":"6.1.28"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.2.15"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.3.0"},{"fixed":"6.3.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53867.json"}}],"schema_version":"1.7.5"}