CVE-2024-42232: libceph: fix race between delayed_work() and ceph_monc_stop()
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.76% (FIRST EPSS); higher than 55.8% of all records.
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 1177afeca833174ba83504688eec898c6214f4bf, 20cf67dcb7db842f941eff1af6ee5e9dc41796d7, 2d33654d40a05afd91ab24c9a73ab512a0670a9a; azl3 kernel 6.6.35.1-5 on Azure Linux 3.0 6.6.43.1-7; azl3 kernel 6.6.43.1-7 on Azure Linux 3.0 6.6.43.1-7.
- Severity is disputed: the assigning authority (CNA) scores it 9.8, NVD 5.5.
Low priority for now. Upgrade to Linux Linux 1177afeca833174ba83504688eec898c6214f4bf, 20cf67dcb7db842f941eff1af6ee5e9dc41796d7, 2d33654d40a05afd91ab24c9a73ab512a0670a9a; azl3 kernel 6.6.35.1-5 on Azure Linux 3.0 6.6.43.1-7; azl3 kernel 6.6.43.1-7 on Azure Linux 3.0 6.6.43.1-7 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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
- BDU:2024-08326
- SUSE-SU-2024:3467-1
- SUSE-SU-2025:0201-1
- SUSE-SU-2025:0201-2
- SUSE-SU-2025:0229-1
- SUSE-SU-2025:02390-1
- SUSE-SU-2025:02391-1
- SUSE-SU-2025:02392-1
- SUSE-SU-2025:02398-1
- SUSE-SU-2025:02403-1
- SUSE-SU-2025:02416-1
- SUSE-SU-2025:02419-1
- SUSE-SU-2025:02422-1
- SUSE-SU-2025:02436-1
- SUSE-SU-2025:02440-1
- SUSE-SU-2025:02455-1
- Published
- Aug 7, 2024
- Updated
- Aug 5, 2026
- EPSS
- 0.7% · 55th percentile
- CWE
- CWE-416
Report tools
Action score
22
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.7%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 5.5
- CNA · Linux
- 9.8
- 4.3 point gap
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 4.6affected
- 0e04dc26cc594d31ee6b1382b452b6bc83b57937 and later · before 1177afeca833174ba83504688eec898c6214f4bfaffected · git
- 0e04dc26cc594d31ee6b1382b452b6bc83b57937 and later · before 63e5d035e3a7ab7412a008f202633c5e6a0a28eaaffected · git
- 0e04dc26cc594d31ee6b1382b452b6bc83b57937 and later · before 34b76d1922e41da1fa73d43b764cddd82ac9733caffected · git
- 0e04dc26cc594d31ee6b1382b452b6bc83b57937 and later · before 20cf67dcb7db842f941eff1af6ee5e9dc41796d7affected · git
- 0e04dc26cc594d31ee6b1382b452b6bc83b57937 and later · before 2d33654d40a05afd91ab24c9a73ab512a0670a9aaffected · git
- 0e04dc26cc594d31ee6b1382b452b6bc83b57937 and later · before 9525af1f58f67df387768770fcf6d6a8f23aee3daffected · git
- 0e04dc26cc594d31ee6b1382b452b6bc83b57937 and later · before 33d38c5da17f8db2d80e811b7829d2822c10625eaffected · git
- 0e04dc26cc594d31ee6b1382b452b6bc83b57937 and later · before 69c7b2fe4c9cc1d3b1186d1c5606627ecf0de883affected · git
- before 4.6not affected · semver
Affected versions · NVD (7)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernelbefore 4.19.318
- linux linux kernel4.20 and later · before 5.4.280
- linux linux kernel5.5 and later · before 5.10.222
- linux linux kernel5.11 and later · before 5.15.163
- linux linux kernel5.16 and later · before 6.1.100
- linux linux kernel6.2 and later · before 6.6.41
- linux linux kernel6.7 and later · before 6.9.10
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.106-1 | 6.1.106-1 |
| Debian:13 | linux | before 6.9.10-1 | 6.9.10-1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-64kb | before 5.14.21-150500.55.91.1 | 5.14.21-150500.55.91.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-docs | before 5.14.21-150500.55.91.1 | 5.14.21-150500.55.91.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-obs-build | before 5.14.21-150500.55.91.1 | 5.14.21-150500.55.91.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-source | before 5.14.21-150500.55.91.1 | 5.14.21-150500.55.91.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-syms | before 5.14.21-150500.55.91.1 | 5.14.21-150500.55.91.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_57 | before 16-2.1 | 16-2.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_58 | before 14-2.1 | 14-2.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_59 | before 13-2.1 | 13-2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_45 | before 17-150300.2.1 | 17-150300.2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_46 | before 16-150300.2.1 | 16-150300.2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_27 | before 18-150400.2.1 | 18-150400.2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_28 | before 15-150400.2.1 | 15-150400.2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_29 | before 13-150400.2.1 | 13-150400.2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_15 | before 18-150500.2.1 | 18-150500.2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_22 | before 1-150500.11.3.1 | 1-150500.11.3.1 |
| SUSE:Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6_Update_0 | before 19-150600.4.49.1 | 19-150600.4.49.1 |
| SUSE:Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6-RT_Update_0 | before 18-150600.3.1 | 18-150600.3.1 |
| SUSE:Linux Enterprise Micro 5.5 | kernel-default | before 5.14.21-150500.55.91.1 | 5.14.21-150500.55.91.1 |
| SUSE:Linux Enterprise Micro 5.5 | kernel-default-base | before 5.14.21-150500.55.91.1.150500.6.41.1 | 5.14.21-150500.55.91.1.150500.6.41.1 |
| SUSE:Linux Enterprise Micro 5.5 | kernel-rt | before 5.14.21-150500.13.82.1 | 5.14.21-150500.13.82.1 |
| SUSE:Linux Enterprise Micro 5.5 | kernel-source-rt | before 5.14.21-150500.13.82.1 | 5.14.21-150500.13.82.1 |
| SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME CORE | kernel-default | before 3.0.101-108.162.1 | 3.0.101-108.162.1 |
+6
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2024-42158Jul 30, 2024 · s390/pkey: Use kfree_sensitive() to fix Coccinelle warnings16Monitor
- ← EarlierCVE-2024-42162Jul 30, 2024 · gve: Account for stopped queues when reading NIC stats28Monitor
- Later →CVE-2024-42233Aug 7, 2024 · filemap: replace pte_offset_map() with pte_offset_map_nolock()13Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 1177afeca833174ba83504688eec898c6214f4bf | Vendor (CNA) |
| Linux Linux | 20cf67dcb7db842f941eff1af6ee5e9dc41796d7 | Vendor (CNA) |
| Linux Linux | 2d33654d40a05afd91ab24c9a73ab512a0670a9a | Vendor (CNA) |
| Linux Linux | 33d38c5da17f8db2d80e811b7829d2822c10625e | Vendor (CNA) |
| Linux Linux | 34b76d1922e41da1fa73d43b764cddd82ac9733c | Vendor (CNA) |
| Linux Linux | 63e5d035e3a7ab7412a008f202633c5e6a0a28ea | Vendor (CNA) |
| Linux Linux | 69c7b2fe4c9cc1d3b1186d1c5606627ecf0de883 | Vendor (CNA) |
| Linux Linux | 9525af1f58f67df387768770fcf6d6a8f23aee3d | Vendor (CNA) |
| azl3 kernel 6.6.35.1-5 on Azure Linux 3.0 | 6.6.43.1-7 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 kernel 6.6.43.1-7 on Azure Linux 3.0 | 6.6.43.1-7 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 kernel 5.15.162.2-1 on CBL Mariner 2.0 | 5.15.164.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 kernel 5.15.162.2-1 on CBL-Mariner 2.0 | 5.15.164.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 kernel 5.15.164.1-1 on CBL Mariner 2.0 | 5.15.164.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| debian:linux | 6.1.106-1 · Debian:12 | Package registry (OSV) |
| suse:kernel-64kb | 5.14.21-150500.55.91.1 · SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | Package registry (OSV) |
| suse:kernel-default | 3.0.101-108.162.1 · SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME CORE | Package registry (OSV) |
| suse:kernel-default-base | 5.14.21-150500.55.91.1.150500.6.41.1 · SUSE:Linux Enterprise Micro 5.5 | Package registry (OSV) |
| suse:kernel-docs | 5.14.21-150500.55.91.1 · SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | Package registry (OSV) |
| suse:kernel-ec2 | 3.0.101-108.162.1 · SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME CORE | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP5_Update_22 | 1-150500.11.3.1 · SUSE:Linux Enterprise Live Patching 15 SP5 | Package registry (OSV) |
| suse:kernel-obs-build | 5.14.21-150500.55.91.1 · SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | Package registry (OSV) |
| suse:kernel-source | 3.0.101-108.162.1 · SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME CORE | Package registry (OSV) |
| suse:kernel-syms | 3.0.101-108.162.1 · SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME CORE | Package registry (OSV) |
| suse:kernel-trace | 3.0.101-108.162.1 · SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME CORE | Package registry (OSV) |
| suse:kernel-xen | 3.0.101-108.162.1 · SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME CORE | Package registry (OSV) |
| suse:kernel-zfcpdump | 5.14.21-150500.55.91.1 · SUSE:Linux Enterprise Server 15 SP5-LTSS | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-416 · Use After FreeCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Root cause
After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.
The bug in code
The whole CWE-416 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
free(dev->buf);
/* ... another thread is still running ... */
process(dev->buf);Fixed
lock(&dev->lock);
free(dev->buf);
dev->buf = NULL;
unlock(&dev->lock);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (8 more)Show less
- git.kernel.org/stable/c/20cf67dcb7db842f941eff1af6ee5e9dc41796d7
- git.kernel.org/stable/c/2d33654d40a05afd91ab24c9a73ab512a0670a9a
- git.kernel.org/stable/c/33d38c5da17f8db2d80e811b7829d2822c10625e
- git.kernel.org/stable/c/34b76d1922e41da1fa73d43b764cddd82ac9733c
- git.kernel.org/stable/c/63e5d035e3a7ab7412a008f202633c5e6a0a28ea
- git.kernel.org/stable/c/69c7b2fe4c9cc1d3b1186d1c5606627ecf0de883
- git.kernel.org/stable/c/9525af1f58f67df387768770fcf6d6a8f23aee3d
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.