8.8

CVE-2024-26689: ceph: prevent use-after-free in encode_cap_msg()

Modified
AliasesUBUNTU-CVE-2024-26689DEBIAN-CVE-2024-26689
Published 03-04-2024Last modified 05-08-2026

Vulnerability summary

CVE-2024-26689 is a high (CVSS 8.8) Use After Free vulnerability in debian debian_linux. EPSS estimates a 0.70% chance of exploitation in the next 30 days, higher than 53.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.70%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 43 · Related 40

Timeline

  1. 03-04-2024
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.70%

Chance of exploitation in the next 30 days

Percentile

53%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.70% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu116 products
  • linux< 3.13.0-210.261 | < 4.4.0-268.302 | < 4.15.0-237.249 | < 5.4.0-215.235 | < 5.15.0-106.116
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 4.4.0-1143.149 | < 4.4.0-1181.196 | < 4.15.0-1180.193 | < 5.4.0-1145.155 | < 5.15.0-1061.67
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian2 products
Linux2 products
  • linux≥ 9030aaf9bf0a1eee47a154c316c789e959638b0f, < 8180d0c27b93a6eb60da1b08ea079e3926328214 | ≥ 9030aaf9bf0a1eee47a154c316c789e959638b0f, < 70e329b440762390258a6fe8c0de93c9fdd56c77 | ≥ 9030aaf9bf0a1eee47a154c316c789e959638b0f, < f3f98d7d84b31828004545e29fd7262b9f444139 | ≥ 9030aaf9bf0a1eee47a154c316c789e959638b0f, < ae20db45e482303a20e56f2db667a9d9c54ac7e7 | ≥ 9030aaf9bf0a1eee47a154c316c789e959638b0f, < 7958c1bf5b03c6f1f58e724dbdec93f8f60b96fc | ≥ 9030aaf9bf0a1eee47a154c316c789e959638b0f, < cda4672da1c26835dcbd7aec2bfed954eda9b5ef | 2.6.34
  • linux_kernel< 5.10.210 | ≥ 5.11, < 5.15.149 | ≥ 5.16, < 6.1.79 | ≥ 6.2, < 6.6.18 | ≥ 6.7, < 6.7.6 | 6.8:rc1 | 6.8:rc2 | 6.8:rc3

3 vendors · 120 products

References

40 links
Show all 40 references