CVE-2024-49954
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-headers | Amazon Linux | 6.1.115-126.197.amzn2023 |
| kernel-devel | Amazon Linux | 6.1.115-126.197.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 6.1.115-126.197.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 6.1.115-126.197.amzn2023 |
| kernel-tools | Amazon Linux | 6.1.115-126.197.amzn2023 |
| python3-perf | Amazon Linux | 6.1.115-126.197.amzn2023 |
| bpftool | Amazon Linux | 6.1.115-126.197.amzn2023 |
| kernel-modules-extra | Amazon Linux | 6.1.115-126.197.amzn2023 |
| linux_kernel | linux | 6.11.3, 6.10.14, 6.6.55, 6.1.113, 5.15.168 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 9183c3f9ed710a8edf1a61e8a96d497258d26e08, 9183c3f9ed710a8edf1a61e8a96d497258d26e08, 9183c3f9ed710a8edf1a61e8a96d497258d26e08 |
| Linux | Linux | 5.10, 0, 5.15.168 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| linux | linux_kernel | 5.10, 5.10, 5.10 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| Linux | Linux | 9183c3f9ed710a8edf1a61e8a96d497258d26e08, 6.12, 6.11.3 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-livepatch-6.1.115-126.197 | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
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