VDB

CVE-2024-49954

CVE-2024-49954 PUBLISHED

static_call: Replace pointless WARN_ON() in static_call_module_notify()

Reported by linux · Published October 21, 2024

In the Linux kernel, the following vulnerability has been resolved: static_call: Replace pointless WARN_ON() in static_call_module_notify() static_call_module_notify() triggers a WARN_ON(), when memory allocation fails in __static_call_add_module(). That's not really justified, because the failure case must be correctly handled by the well known call chain and the error code is passed through to the initiating userspace application. A memory allocation fail is not a fatal problem, but the WARN_ON() takes the machine out when panic_on_warn is set. Replace it with a pr_warn().

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-headersAmazon Linux6.1.115-126.197.amzn2023
kernel-develAmazon Linux6.1.115-126.197.amzn2023
kernel-libbpf-staticAmazon Linux6.1.115-126.197.amzn2023
kernel-modules-extra-commonAmazon Linux6.1.115-126.197.amzn2023
kernel-toolsAmazon Linux6.1.115-126.197.amzn2023
python3-perfAmazon Linux6.1.115-126.197.amzn2023
bpftoolAmazon Linux6.1.115-126.197.amzn2023
kernel-modules-extraAmazon Linux6.1.115-126.197.amzn2023
linux_kernellinux6.11.3, 6.10.14, 6.6.55, 6.1.113, 5.15.168

Affected products

VendorProductVersions
LinuxLinux9183c3f9ed710a8edf1a61e8a96d497258d26e08, 9183c3f9ed710a8edf1a61e8a96d497258d26e08, 9183c3f9ed710a8edf1a61e8a96d497258d26e08
LinuxLinux5.10, 0, 5.15.168
amazon:2023kernel-headers0
amazon:2023kernel-devel0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-tools0
amazon:2023python3-perf0
amazon:2023bpftool0
amazon:2023kernel-modules-extra0
linuxlinux_kernel5.10, 5.10, 5.10
amazon:2023perf0
amazon:2023kernel-libbpf0
amazon:2023kernel-libbpf-devel0
LinuxLinux9183c3f9ed710a8edf1a61e8a96d497258d26e08, 6.12, 6.11.3
amazon:2023kernel0
amazon:2023kernel-livepatch-6.1.115-126.1970
amazon:2023kernel-tools-devel0

Timeline

  • Oct 21, 2024 CVE Published
  • Oct 22, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 22, 2024 Coalition ESS Score (11 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Jan 2, 2026 Security Advisory (449 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (381 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-49954
vulnetix vdb fixes CVE-2024-49954

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-49954/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›