CVE-2024-49954: Linux kernel · static_call: Replace pointless WARN_ON() in static_call_module_notify()
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 29 Oct 2026, 23:59 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 21 Oct 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 WARN_ON() call with a pr_warn() to prevent kernel panics on memory allocation failure. Users should apply the official Linux kernel update that includes this patch to mitigate the issue.
Description
CVE-2024-49954 addresses a Linux kernel issue where static_call_module_notify() triggers a WARN_ON() on memory allocation failure in __static_call_add_module(). This warning is unnecessary because the failure is already handled properly by the call chain and the error code is passed to userspace. The WARN_ON() can cause a kernel panic if panic_on_warn is enabled. The fix replaces WARN_ON() with a pr_warn() to avoid unnecessary panics.
References
- nvd.nist.gov/vuln/detail/CVE-2024-49954 (opens in a new tab)
- git.kernel.org/stable/c/85a104aaef1f56623acc10ba4c42d5f046ba65b7 (opens in a new tab)
- git.kernel.org/stable/c/b83bef74c121a3311240fc4002d23486b85355e4 (opens in a new tab)
- git.kernel.org/stable/c/bc9356513d56b688775497b7ac6f2b967f46a80c (opens in a new tab)
- git.kernel.org/stable/c/e67534bd31d79952b50e791e92adf0b3e6c13b8c (opens in a new tab)
- git.kernel.org/stable/c/ea2cdf4da093d0482f0ef36ba971e2e0c7673425 (opens in a new tab)
- git.kernel.org/stable/c/fe513c2ef0a172a58f158e2e70465c4317f0a9a2 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html (opens in a new tab)