ceph: fix potential use-after-free bug when trimming caps
Summary
| CVE | CVE-2023-53867 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-12-24 11:15:51 UTC |
| Updated | 2026-10-15 22:17:50 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 9.8 CRITICAL from 416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.005320000 probability, percentile 0.436810000 (date 2026-10-15)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 2f2dc053404febedc9c273452d9d518fb31fde72 2b2515b8095cf2149bef44383a99d5b5677f1831 git | Not specified |
| CNA | Linux | Linux | affected 2f2dc053404febedc9c273452d9d518fb31fde72 448875a73e16ba7d81dec9274ce9d33a12d092fb git | Not specified |
| CNA | Linux | Linux | affected 2f2dc053404febedc9c273452d9d518fb31fde72 ae6e935618d99cdba11eab4714092e7e5f13cf7e git | Not specified |
| CNA | Linux | Linux | affected 2f2dc053404febedc9c273452d9d518fb31fde72 aaf67de78807c59c35bafb5003d4fb457c764800 git | Not specified |
| CNA | Linux | Linux | affected 2.6.34 | Not specified |
| CNA | Linux | Linux | unaffected 2.6.34 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.28 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.2.15 6.2.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.3.2 6.3.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.4 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/2b2515b8095cf2149bef44383a99d5b5677f1831 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/ae6e935618d99cdba11eab4714092e7e5f13cf7e | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/aaf67de78807c59c35bafb5003d4fb457c764800 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/448875a73e16ba7d81dec9274ce9d33a12d092fb | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.