Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-42232

published critical CVSS 3.1 · 9.8

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

Published
07 Aug 2024, 15:14:23 UTC
Updated
05 Aug 2026, 11:35:57 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux0e04dc26cc594d31ee6b1382b452b6bc83b57937 to < 1177afeca833174ba83504688eec898c6214f4bf · 0e04dc26cc594d31ee6b1382b452b6bc83b57937 to < 63e5d035e3a7ab7412a008f202633c5e6a0a28ea · 0e04dc26cc594d31ee6b1382b452b6bc83b57937 to < 34b76d1922e41da1fa73d43b764cddd82ac9733c · 0e04dc26cc594d31ee6b1382b452b6bc83b57937 to < 20cf67dcb7db842f941eff1af6ee5e9dc41796d7 · 0e04dc26cc594d31ee6b1382b452b6bc83b57937 to < 2d33654d40a05afd91ab24c9a73ab512a0670a9a · 0e04dc26cc594d31ee6b1382b452b6bc83b57937 to < 9525af1f58f67df387768770fcf6d6a8f23aee3d · 0e04dc26cc594d31ee6b1382b452b6bc83b57937 to < 33d38c5da17f8db2d80e811b7829d2822c10625e · 0e04dc26cc594d31ee6b1382b452b6bc83b57937 to < 69c7b2fe4c9cc1d3b1186d1c5606627ecf0de883 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.6 (affected) · 0 to < 4.6 (unaffected · semver) · 4.19.318 through 4.19.* (unaffected · semver) · 5.4.280 through 5.4.* (unaffected · semver) · 5.10.222 through 5.10.* (unaffected · semver) · 5.15.163 through 5.15.* (unaffected · semver) · 6.1.100 through 6.1.* (unaffected · semver) · 6.6.41 through 6.6.* (unaffected · semver) · 6.9.10 through 6.9.* (unaffected · semver) · 6.10 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluationALAS2-2025-2778 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2024-066 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2024-050 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2024-080 Fixed Not stated Amazon Linux assessment
Debian bullseye linux Advisory build 5.10.223-1 DSA-5747-1
Oracle Linux 7 kernel-uekaarch64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Show 100 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2024-679 Fixed Not stated Amazon Linux assessment
Debian bullseye linux-6.1 Advisory build 6.1.119-1~deb11u1 DLA-4008-1
Oracle Linux 7 kernel-uekaarch64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uekx86_64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 kernel-uekx86_64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.335.4.el7 ELSA-2024-12612
Oracle Linux 7 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.335.4.el7 ELSA-2024-12612
Oracle Linux 7 kernel-uek-debugaarch64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 kernel-uek-debugaarch64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-debugx86_64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-debug-develaarch64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 kernel-uek-debug-develaarch64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-debug-develx86_64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-develaarch64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 kernel-uek-develaarch64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-develx86_64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 kernel-uek-develx86_64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-docaarch64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-docx86_64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 kernel-uek-docx86_64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-headersaarch64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 kernel-uek-toolsaarch64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 kernel-uek-toolsaarch64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-toolsx86_64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 kernel-uek-toolsx86_64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-tools-libsaarch64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 kernel-uek-tools-libsaarch64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-tools-libs-develaarch64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 perfaarch64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 perfaarch64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 python-perfaarch64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 python-perfaarch64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.4.17-2136.335.4.el8uek ELSA-2024-12610
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.4.17-2136.335.4.el8uek ELSA-2024-12610
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.335.4.el8 ELSA-2024-12612
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.335.4.el8 ELSA-2024-12612
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.4.17-2136.335.4.el8uek ELSA-2024-12610
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.335.4.el8uek ELSA-2024-12610
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.4.17-2136.335.4.el8uek ELSA-2024-12610
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.335.4.el8uek ELSA-2024-12610
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.4.17-2136.335.4.el8uek ELSA-2024-12610
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.4.17-2136.335.4.el8uek ELSA-2024-12610
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.4.17-2136.335.4.el8uek ELSA-2024-12610
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.4.17-2136.335.4.el8uek ELSA-2024-12610
Oracle Linux 8 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 9 bpftoolaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 bpftoolx86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-containeraarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-containerx86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-develaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-develx86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-docaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-docx86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618

Package entries are limited to the first 100 builds and 100 linked advisories.

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

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

84

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.8 / 10
Severity
critical
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:N - Both paths that re-arm the delayed work — `mon_fault()` via `con_fault()` on any socket error/RST, and `finish_hunting()` on a monitor auth reply — are driven entirely by the remote Ceph monitor over TCP, and the attacker can also force the teardown by making the mon session fail so the mount times out into `destroy_fs_client()`. No local access to the target is needed for the attacker's contribution. AC:L - The attacker controls both sides of the race: it drives connection faults at an arbitrary rate and induces the `ceph_monc_stop()` teardown by refusing/resetting the session, and the window is amplified because `mon_fault()` holds `monc->mutex` while `ceph_monc_stop()` blocks on it after the cancel has already run. The attempt is free and infinitely repeatable across mount/unmount cycles. PR:N - The attacker is an unauthenticated remote peer — `con_fault()` fires on socket errors before any cephx authentication succeeds, and the monitor is the entity the client authenticates *to*, so no credentials on the victim host are required. UI:N - No victim action is needed beyond normal, automated cluster operation — ceph-csi/Kubernetes, autofs and systemd mount units perform cephfs/rbd mount, unmount and retry cycles continuously without human involvement, and each failed or torn-down session is an exploitation attempt. S:U - The use-after-free corrupts kernel heap memory and executes within the kernel's own security authority, with no crossing of a VM, IOMMU, or sandbox boundary. C:H - Use-after-free on `ceph_client`/`ceph_mon_client`, `ceph_auth_client` and `ceph_monmap`, with `pick_new_mon()` indexing `monc->monmap->mon_inst[monc->cur_mon]` using a base pointer and index both read from freed, attacker-groomable memory — an out-of-bounds read primitive usable for kernel memory disclosure. I:H - `ceph_auth_is_authenticated()` performs `ac->ops->is_authenticated(ac)`, an indirect call through a function pointer read from a freed slab object the remote monitor can reclaim during the multi-second delay, giving control-flow hijack; `mutex_lock()` and `mod_delayed_work()` additionally write timer/work state into the freed-and-reused allocation. A:H - The delayed work executing on freed memory reliably oopses, and `BUG_ON(monc->monmap->num_mon < 1)` in `pick_new_mon()` panics the kernel outright when the freed monmap is reused.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 0e04dc26cc594d31ee6b1382b452b6bc83b57937 to < 1177afeca833174ba83504688eec898c6214f4bf (affected · git)0e04dc26cc594d31ee6b1382b452b6bc83b57937 to < 63e5d035e3a7ab7412a008f202633c5e6a0a28ea (affected · git)0e04dc26cc594d31ee6b1382b452b6bc83b57937 to < 34b76d1922e41da1fa73d43b764cddd82ac9733c (affected · git)0e04dc26cc594d31ee6b1382b452b6bc83b57937 to < 20cf67dcb7db842f941eff1af6ee5e9dc41796d7 (affected · git)0e04dc26cc594d31ee6b1382b452b6bc83b57937 to < 2d33654d40a05afd91ab24c9a73ab512a0670a9a (affected · git)0e04dc26cc594d31ee6b1382b452b6bc83b57937 to < 9525af1f58f67df387768770fcf6d6a8f23aee3d (affected · git)0e04dc26cc594d31ee6b1382b452b6bc83b57937 to < 33d38c5da17f8db2d80e811b7829d2822c10625e (affected · git)0e04dc26cc594d31ee6b1382b452b6bc83b57937 to < 69c7b2fe4c9cc1d3b1186d1c5606627ecf0de883 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.6 (affected)0 to < 4.6 (unaffected · semver)4.19.318 through 4.19.* (unaffected · semver)5.4.280 through 5.4.* (unaffected · semver)5.10.222 through 5.10.* (unaffected · semver)5.15.163 through 5.15.* (unaffected · semver)6.1.100 through 6.1.* (unaffected · semver)6.6.41 through 6.6.* (unaffected · semver)6.9.10 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

9

Provider assertions

3

Linux · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
5ebadafb75210a5a5309d517e56273a0978c77ac20d0bd240a91529f953ae311
Ingested
23 Sep 2026, 08:26:31 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected