Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-42232

CRITICAL 9.8EPSS 64%

libceph: fix race between delayed_work() and ceph_monc_stop()

Mitigation

  • Upgrade Linux to 69c7b2fe4c9cc1d3b1186d1c5606627ecf0de883 or later.

Who should check

  • Anyone running Linux >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 1177afeca833174ba83504688eec898c6214f4bf; >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 63e5d035e3a7ab7412a008f202633c5e6a0a28ea; >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 34b76d1922e41da1fa73d43b764cddd82ac9733c; >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 20cf67dcb7db842f941eff1af6ee5e9dc41796d7; >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 2d33654d40a05afd91ab24c9a73ab512a0670a9a; >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 9525af1f58f67df387768770fcf6d6a8f23aee3d; >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 33d38c5da17f8db2d80e811b7829d2822c10625e; >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 69c7b2fe4c9cc1d3b1186d1c5606627ecf0de883
  • Anyone running Linux 4.6

Vulnerability facts

Affected
Linux >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 1177afeca833174ba83504688eec898c6214f4bf; >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 63e5d035e3a7ab7412a008f202633c5e6a0a28ea; >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 34b76d1922e41da1fa73d43b764cddd82ac9733c; >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 20cf67dcb7db842f941eff1af6ee5e9dc41796d7; >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 2d33654d40a05afd91ab24c9a73ab512a0670a9a; >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 9525af1f58f67df387768770fcf6d6a8f23aee3d; >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 33d38c5da17f8db2d80e811b7829d2822c10625e; >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 69c7b2fe4c9cc1d3b1186d1c5606627ecf0de883; Linux 4.6
Fixed in
Linux 1177afeca833174ba83504688eec898c6214f4bf, Linux 63e5d035e3a7ab7412a008f202633c5e6a0a28ea, Linux 34b76d1922e41da1fa73d43b764cddd82ac9733c, Linux 20cf67dcb7db842f941eff1af6ee5e9dc41796d7, Linux 2d33654d40a05afd91ab24c9a73ab512a0670a9a, Linux 9525af1f58f67df387768770fcf6d6a8f23aee3d, Linux 33d38c5da17f8db2d80e811b7829d2822c10625e, Linux 69c7b2fe4c9cc1d3b1186d1c5606627ecf0de883
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
1.05% chance of exploitation in 30 days (percentile 64, 2026-11-28)
CWE
CWE-416
Published
Modified

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

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 1177afeca833174ba83504688eec898c6214f4bf; >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 63e5d035e3a7ab7412a008f202633c5e6a0a28ea; >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 34b76d1922e41da1fa73d43b764cddd82ac9733c; >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 20cf67dcb7db842f941eff1af6ee5e9dc41796d7; >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 2d33654d40a05afd91ab24c9a73ab512a0670a9a; >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 9525af1f58f67df387768770fcf6d6a8f23aee3d; >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 33d38c5da17f8db2d80e811b7829d2822c10625e; >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 69c7b2fe4c9cc1d3b1186d1c5606627ecf0de883—cvelist
Linux4.6—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-42232. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-42232.md
Affected: Linux >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 1177afeca833174ba83504688eec898c6214f4bf; >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 63e5d035e3a7ab7412a008f202633c5e6a0a28ea; >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 34b76d1922e41da1fa73d43b764cddd82ac9733c; >= 0e04dc26cc594d31ee6b138…
Fixed in: Linux 1177afeca833174ba83504688eec898c6214f4bf, Linux 63e5d035e3a7ab7412a008f202633c5e6a0a28ea, Linux 34b76d1922e41da1fa73d43b764cddd82ac9733c, Linux 20cf67dcb7db842f941eff1af6ee5e9dc41796d7, Linux 2d33654d40a05afd91ab24c9a73ab512a0670a9a, Linux 9525af1f58f67df387768770fcf6d6a8f23aee3d, Linux 33d38…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-42232 being exploited?

There is no confirmed exploitation: CVE-2024-42232 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.05% chance of exploitation in the next 30 days (as of 2026-11-28).

How serious is CVE-2024-42232?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2024-42232?

Linux >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 1177afeca833174ba83504688eec898c6214f4bf; >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 63e5d035e3a7ab7412a008f202633c5e6a0a28ea; >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 34b76d1922e41da1fa73d43b764cddd82ac9733c; >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 20cf67dcb7db842f941eff1af6ee5e9dc41796d7; >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 2d33654d40a05afd91ab24c9a73ab512a0670a9a; >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 9525af1f58f67df387768770fcf6d6a8f23aee3d; >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 33d38c5da17f8db2d80e811b7829d2822c10625e; >= 0e04dc26cc594d31ee6b1382b452b6bc83b57937, < 69c7b2fe4c9cc1d3b1186d1c5606627ecf0de883; Linux 4.6.

Is there a fix for CVE-2024-42232?

Yes. Fixed in Linux 1177afeca833174ba83504688eec898c6214f4bf, Linux 63e5d035e3a7ab7412a008f202633c5e6a0a28ea, Linux 34b76d1922e41da1fa73d43b764cddd82ac9733c, Linux 20cf67dcb7db842f941eff1af6ee5e9dc41796d7, Linux 2d33654d40a05afd91ab24c9a73ab512a0670a9a, Linux 9525af1f58f67df387768770fcf6d6a8f23aee3d, Linux 33d38c5da17f8db2d80e811b7829d2822c10625e, Linux 69c7b2fe4c9cc1d3b1186d1c5606627ecf0de883. Upgrade Linux to 69c7b2fe4c9cc1d3b1186d1c5606627ecf0de883 or later.

How do I check if I'm affected by CVE-2024-42232?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors