{"id":"CVE-2023-53867","aliases":["CVE-2023-53867"],"related":[],"kind":"vulnerability","state":"published","title":"ceph: fix potential use-after-free bug when trimming caps","summary":"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->s_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->i_ceph_lock'\nbeing acquired. And do nothing if it's already removed.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->s_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->i_ceph_lock'\nbeing acquired. And do nothing if it's already removed.","source":"cvelist"}],"published":"2025-12-24T10:55:25.430Z","modified":"2026-10-15T22:17:50.440Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"2f2dc053404febedc9c273452d9d518fb31fde72","fixed":"2b2515b8095cf2149bef44383a99d5b5677f1831","status":"affected"},{"type":"git","introduced":"2f2dc053404febedc9c273452d9d518fb31fde72","fixed":"448875a73e16ba7d81dec9274ce9d33a12d092fb","status":"affected"},{"type":"git","introduced":"2f2dc053404febedc9c273452d9d518fb31fde72","fixed":"ae6e935618d99cdba11eab4714092e7e5f13cf7e","status":"affected"},{"type":"git","introduced":"2f2dc053404febedc9c273452d9d518fb31fde72","fixed":"aaf67de78807c59c35bafb5003d4fb457c764800","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.34","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.34","status":"unaffected"},{"type":"semver","introduced":"6.1.28","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.2.15","lastAffected":"6.2.*","status":"unaffected"},{"type":"semver","introduced":"6.3.2","lastAffected":"6.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.4","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/2b2515b8095cf2149bef44383a99d5b5677f1831","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/448875a73e16ba7d81dec9274ce9d33a12d092fb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ae6e935618d99cdba11eab4714092e7e5f13cf7e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aaf67de78807c59c35bafb5003d4fb457c764800","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-15T21:37:43.826Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53867","url":"https://www.cve.org/CVERecord?id=CVE-2023-53867","licence":"CVE Terms of Use","modified":"2026-10-15T21:41:37.567Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53867","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53867","licence":"Public domain","modified":"2026-10-15T22:17:50.440Z"}],"updatedAt":"2026-11-25T22:58:35.130Z","epss":{"score":0.00571,"percentile":0.48588,"date":"2026-12-01T12:00:22.000Z"}}