Skip to main content
VulnerabilityPublished Updated

CVE-2024-42252: Linux kernel · closures: Change BUG_ON() to WARN_ON()

Source GCVE Database

0
Compare

Not known to be exploited · CVSS 5.5 Medium.

Data as of 30 Oct 2026, 00:37 UTC

CVSS 3.1 base score
5.5Medium
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 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 29 Oct 2026.

What to do

AI-suggested

A fix is available that replaces the BUG_ON() with WARN_ON() in the Linux kernel closures code. Users and administrators should apply the official kernel update that includes this change to prevent kernel panics related to this issue. Since this is a code-level fix, upgrading to a patched kernel version is the recommended mitigation.

Description

CVE-2024-42252 addresses a Linux kernel issue where a BUG_ON() macro was used in the closures subsystem, which could cause a kernel panic if triggered. The vulnerability involves a kernel BUG at lib/closure.c that leads to a fatal exception and system crash. The issue was identified during continuous integration testing and is considered a medium severity denial-of-service risk due to kernel panic. The fix involves changing the BUG_ON() to WARN_ON() to avoid kernel crashes in this scenario.

References

Community reviews

Loading reviews…