CVE-2024-42239: Linux kernel · bpf: Fail bpf_timer_cancel when callback is being cancelled
Affects Linux kernelSource GCVE Database
Not known to be exploited.
Data as of 30 Oct 2026, 15:20 UTC
Rated High by Threat Radar's AI analysis · No CVSS score from NVD or the CNA
Thin evidence
One scorer or noneExploitation evidence
Disclosed: evidence found.
CVE published 7 Aug 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
AI-suggested
A fix for this vulnerability has been implemented in the Linux kernel by introducing an atomic counter to detect and prevent deadlocks during BPF timer cancellations. Users should apply the official Linux kernel updates that include this patch to mitigate the issue. No additional mitigation steps are indicated.
Description
CVE-2024-42239 is a Linux kernel vulnerability involving the bpf_timer_cancel function. When two BPF timers attempt to cancel each other’s callbacks simultaneously, both calls wait for the other to finish, causing a potential deadlock and system lockup. The fix introduces an atomic counter to track cancellation requests and prevent such deadlocks by returning an error when cancellation would cause a deadlock.
References
- git.kernel.org/stable/c/82f2348592ef16c90a55b783c3a1354bcd6d4d1d (opens in a new tab)
- git.kernel.org/stable/c/9369830518688ecd5b08ffc08ab3302ce2b5d0f7 (opens in a new tab)
- git.kernel.org/stable/c/3e4e8178a8666c56813bd167b848fca0f4c9af0a (opens in a new tab)
- git.kernel.org/stable/c/d4523831f07a267a943f0dde844bf8ead7495f13 (opens in a new tab)