9.8

CVE-2024-42232: libceph: fix race between delayed_work() and ceph_monc_stop()

Modified
AliasesUBUNTU-CVE-2024-42232DEBIAN-CVE-2024-42232
Published 07-08-2024Last modified 05-08-2026

Vulnerability summary

CVE-2024-42232 is a critical (CVSS 9.8) Use After Free vulnerability in linux. EPSS estimates a 0.76% chance of exploitation in the next 30 days, higher than 55.3% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.76%
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 55 · Related 53

Timeline

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

Description

In the Linux kernel, the following vulnerability has been resolved: libceph: fix race between delayed_work() and ceph_monc_stop() The way the delayed work is handled in ceph_monc_stop() is prone to races with mon_fault() and possibly also finish_hunting(). Both of these can requeue the delayed work which wouldn't be canceled by any of the following code in case that happens after cancel_delayed_work_sync() runs -- __close_session() doesn't mess with the delayed work in order to avoid interfering with the hunting interval logic. This part was missed in commit b5d91704f53e ("libceph: behave in mon_fault() if cur_mon < 0") and use-after-free can still ensue on monc and objects that hang off of it, with monc->auth and monc->monmap being particularly susceptible to quickly being reused. To fix this: - clear monc->cur_mon and monc->hunting as part of closing the session in ceph_monc_stop() - bail from delayed_work() if monc->cur_mon is cleared, similar to how it's done in mon_fault() and finish_hunting() (based on monc->hunting) - call cancel_delayed_work_sync() after the session is closed

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.76%

Chance of exploitation in the next 30 days

Percentile

55%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.76% 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, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu129 products
  • linuxAll versions (No fix recorded) | < 5.4.0-195.215 | < 5.15.0-121.131 | < 6.8.0-48.48
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.4.0-1132.142 | < 5.15.0-1069.75 | < 6.8.0-1018.20
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 1177afeca833174ba83504688eec898c6214f4bf | ≥ 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 63e5d035e3a7ab7412a008f202633c5e6a0a28ea | ≥ 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 34b76d1922e41da1fa73d43b764cddd82ac9733c | ≥ 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 20cf67dcb7db842f941eff1af6ee5e9dc41796d7 | ≥ 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 2d33654d40a05afd91ab24c9a73ab512a0670a9a | ≥ 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 9525af1f58f67df387768770fcf6d6a8f23aee3d | ≥ 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 33d38c5da17f8db2d80e811b7829d2822c10625e | ≥ 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 69c7b2fe4c9cc1d3b1186d1c5606627ecf0de883 | 4.6
  • linux_kernel< 4.19.318 | ≥ 4.20, < 5.4.280 | ≥ 5.5, < 5.10.222 | ≥ 5.11, < 5.15.163 | ≥ 5.16, < 6.1.100 | ≥ 6.2, < 6.6.41 | ≥ 6.7, < 6.9.10
Debian1 product
  • linux< 6.1.106-1 | < 6.9.10-1

3 vendors · 132 products

References

36 links
Show all 36 references