Local privilege escalation via CephFS refcount race
Published Apr 3, 2024 · Updated Aug 5, 2026
Use-after-free in the Linux kernel CephFS client allows local users to corrupt kernel memory during concurrent capability handling. __prep_cap() copied ci->i_xattrs.blob into the outgoing message without first acquiring a reference, while handle_cap_grant() could release that buffer before encode_cap_msg() called ceph_buffer_get(). The local low-privilege path requires an active CephFS client and grants elevated privileges on successful exploitation.
Summary
What happened
Use-after-free in the Linux kernel CephFS client allows local users to corrupt kernel memory during concurrent capability handling. __prep_cap() copied ci->i_xattrs.blob into the outgoing message without first acquiring a reference, while handle_cap_grant() could release that buffer before encode_cap_msg() called ceph_buffer_get(). The local low-privilege path requires an active CephFS client and grants elevated privileges on successful exploitation.
The record
- CVE
- CVE-2024-26689
- Published
- Apr 3, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 3, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.6.34
- Affected versionversion=9030aaf9bf0a1eee47a154c316c789e959638b0f <70e329b440762390258a6fe8c0de93c9fdd56c77
- Affected versionversion=9030aaf9bf0a1eee47a154c316c789e959638b0f <7958c1bf5b03c6f1f58e724dbdec93f8f60b96fc
- Affected versionversion=9030aaf9bf0a1eee47a154c316c789e959638b0f <8180d0c27b93a6eb60da1b08ea079e3926328214
- Affected versionversion=9030aaf9bf0a1eee47a154c316c789e959638b0f <ae20db45e482303a20e56f2db667a9d9c54ac7e7
- Affected versionversion=9030aaf9bf0a1eee47a154c316c789e959638b0f <cda4672da1c26835dcbd7aec2bfed954eda9b5ef
- Affected versionversion=9030aaf9bf0a1eee47a154c316c789e959638b0f <f3f98d7d84b31828004545e29fd7262b9f444139
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo