Skip to main content
VulnerabilityPublished Updated

CVE-2024-42239: Linux kernel · bpf: Fail bpf_timer_cancel when callback is being cancelled

Affects Linux kernelSource GCVE Database

0
Compare

Not known to be exploited.

Data as of 30 Oct 2026, 15:20 UTC

Severity
High

Rated High by Threat Radar's AI analysis · No CVSS score from NVD or the CNA

Thin evidence

One scorer or none

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Aug 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

Community reviews

Loading reviews…