Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.
Linux Linux — ceph: prevent use-after-free in encode_cap_msg()
AV AC PR UI S C I A CVSS EPSS %ile KEV
L L L N U H H H 7.8 .0070 50.2 —
AFFECTED
Product Versions Fixed
Linux 9030aaf9bf0a1eee47a154c316c789e959638b0f – —
Linux 2.6.34 – 5.10.210
TIMELINE
Feb 19 Reserved by Linux
Apr 3 Published (CNA: Linux)
Aug 4 RESCORED — CVE-2024-26689 (Linux). CVSS 8.8 → 7.8 (NVD).
Description
In the Linux kernel, the following vulnerability has been resolved:
ceph: prevent use-after-free in encode_cap_msg()
In fs/ceph/caps.c, in encode_cap_msg(), "use after free" error was
caught by KASAN at this line - 'ceph_buffer_get(arg->xattr_buf);'. This
implies before the refcount could be increment here, it was freed.
In same file, in "handle_cap_grant()" refcount is decremented by this
line - 'ceph_buffer_put(ci->i_xattrs.blob);'. It appears that a race
occurred and resource was freed by the latter line before the former
line could increment it.
encode_cap_msg() is called by __send_cap() and __send_cap() is called by
ceph_check_caps() after calling __prep_cap(). __prep_cap() is where
arg->xattr_buf is assigned to ci->i_xattrs.blob. This is the spot where
the refcount must be increased to prevent "use after free" error.
Lifecycle
Complete event history — 3 events, chronological
| Date | Event | Detail |
| February 19, 2024 | Reserved | Reserved by Linux |
| April 3, 2024 | Published | Published (CNA: Linux) |
| August 4, 2026 | RESCORED | RESCORED — CVE-2024-26689 (Linux). CVSS 8.8 → 7.8 (NVD). |
Affected
Affected products and packages — 2 rows
| Vendor | Product / Package | Ecosystem | Version introduced | Fixed |
| Linux | Linux | — | 9030aaf9bf0a1eee47a154c316c789e959638b0f | — |
| Linux | Linux | — | 2.6.34 | 5.10.210 |
About this page
This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2024-26689 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.