CVE-2024-42252: Linux kernel · closures: Change BUG_ON() to WARN_ON()
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 30 Oct 2026, 00:37 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 8 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 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
- nvd.nist.gov/vuln/detail/CVE-2024-42252 (opens in a new tab)
- git.kernel.org/stable/c/339b84ab6b1d66900c27bd999271cb2ae40ce812 (opens in a new tab)
- git.kernel.org/stable/c/5d85f2ab79d5918a66539ebf046c099f7448db8d (opens in a new tab)
- git.kernel.org/stable/c/c894a74756478bb7aec894bcc513add3d554c0cf (opens in a new tab)
- git.kernel.org/stable/c/ecb4aaa658da760fb83afd79cc5fd4360aa60635 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html (opens in a new tab)