CVE-2024-49954

Source
https://cve.org/CVERecord?id=CVE-2024-49954
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-49954.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-49954
Downstream
Related
Published
2024-10-21T18:02:09.064Z
Modified
2026-03-11T07:53:22.707300Z
Summary
static_call: Replace pointless WARN_ON() in static_call_module_notify()
Details

In the Linux kernel, the following vulnerability has been resolved:

staticcall: Replace pointless WARNON() in staticcallmodule_notify()

staticcallmodulenotify() triggers a WARNON(), when memory allocation fails in _staticcalladdmodule().

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 WARNON() takes the machine out when panicon_warn is set.

Replace it with a pr_warn().

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49954.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9183c3f9ed710a8edf1a61e8a96d497258d26e08
Fixed
bc9356513d56b688775497b7ac6f2b967f46a80c
Fixed
ea2cdf4da093d0482f0ef36ba971e2e0c7673425
Fixed
e67534bd31d79952b50e791e92adf0b3e6c13b8c
Fixed
85a104aaef1f56623acc10ba4c42d5f046ba65b7
Fixed
b83bef74c121a3311240fc4002d23486b85355e4
Fixed
fe513c2ef0a172a58f158e2e70465c4317f0a9a2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-49954.json"