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().
[
{
"digest": {
"function_hash": "139328199181877915806794612355647349268",
"length": 438.0
},
"target": {
"file": "kernel/static_call_inline.c",
"function": "static_call_module_notify"
},
"signature_version": "v1",
"id": "CVE-2024-49954-10509114",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bc9356513d56b688775497b7ac6f2b967f46a80c",
"signature_type": "Function"
},
{
"digest": {
"function_hash": "139328199181877915806794612355647349268",
"length": 438.0
},
"target": {
"file": "kernel/static_call_inline.c",
"function": "static_call_module_notify"
},
"signature_version": "v1",
"id": "CVE-2024-49954-4dead562",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fe513c2ef0a172a58f158e2e70465c4317f0a9a2",
"signature_type": "Function"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"184701848227271242199577744123157713804",
"307262863449600736604675095792133723220",
"62668935380694532374367257685324640493",
"134441822468638887262227971233509643771"
]
},
"target": {
"file": "kernel/static_call_inline.c"
},
"signature_version": "v1",
"id": "CVE-2024-49954-562a73cd",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fe513c2ef0a172a58f158e2e70465c4317f0a9a2",
"signature_type": "Line"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"184701848227271242199577744123157713804",
"307262863449600736604675095792133723220",
"62668935380694532374367257685324640493",
"134441822468638887262227971233509643771"
]
},
"target": {
"file": "kernel/static_call_inline.c"
},
"signature_version": "v1",
"id": "CVE-2024-49954-6002faa0",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bc9356513d56b688775497b7ac6f2b967f46a80c",
"signature_type": "Line"
},
{
"digest": {
"function_hash": "139328199181877915806794612355647349268",
"length": 438.0
},
"target": {
"file": "kernel/static_call_inline.c",
"function": "static_call_module_notify"
},
"signature_version": "v1",
"id": "CVE-2024-49954-61395b62",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b83bef74c121a3311240fc4002d23486b85355e4",
"signature_type": "Function"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"184701848227271242199577744123157713804",
"307262863449600736604675095792133723220",
"62668935380694532374367257685324640493",
"134441822468638887262227971233509643771"
]
},
"target": {
"file": "kernel/static_call_inline.c"
},
"signature_version": "v1",
"id": "CVE-2024-49954-7230ab61",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ea2cdf4da093d0482f0ef36ba971e2e0c7673425",
"signature_type": "Line"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"184701848227271242199577744123157713804",
"307262863449600736604675095792133723220",
"62668935380694532374367257685324640493",
"134441822468638887262227971233509643771"
]
},
"target": {
"file": "kernel/static_call_inline.c"
},
"signature_version": "v1",
"id": "CVE-2024-49954-a83b071d",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b83bef74c121a3311240fc4002d23486b85355e4",
"signature_type": "Line"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"184701848227271242199577744123157713804",
"307262863449600736604675095792133723220",
"62668935380694532374367257685324640493",
"134441822468638887262227971233509643771"
]
},
"target": {
"file": "kernel/static_call_inline.c"
},
"signature_version": "v1",
"id": "CVE-2024-49954-b7c9264d",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@85a104aaef1f56623acc10ba4c42d5f046ba65b7",
"signature_type": "Line"
},
{
"digest": {
"function_hash": "139328199181877915806794612355647349268",
"length": 438.0
},
"target": {
"file": "kernel/static_call_inline.c",
"function": "static_call_module_notify"
},
"signature_version": "v1",
"id": "CVE-2024-49954-c6a28805",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e67534bd31d79952b50e791e92adf0b3e6c13b8c",
"signature_type": "Function"
},
{
"digest": {
"function_hash": "139328199181877915806794612355647349268",
"length": 438.0
},
"target": {
"file": "kernel/static_call_inline.c",
"function": "static_call_module_notify"
},
"signature_version": "v1",
"id": "CVE-2024-49954-c9e7836e",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@85a104aaef1f56623acc10ba4c42d5f046ba65b7",
"signature_type": "Function"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"184701848227271242199577744123157713804",
"307262863449600736604675095792133723220",
"62668935380694532374367257685324640493",
"134441822468638887262227971233509643771"
]
},
"target": {
"file": "kernel/static_call_inline.c"
},
"signature_version": "v1",
"id": "CVE-2024-49954-e92cc370",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e67534bd31d79952b50e791e92adf0b3e6c13b8c",
"signature_type": "Line"
},
{
"digest": {
"function_hash": "139328199181877915806794612355647349268",
"length": 438.0
},
"target": {
"file": "kernel/static_call_inline.c",
"function": "static_call_module_notify"
},
"signature_version": "v1",
"id": "CVE-2024-49954-fa5d38e2",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ea2cdf4da093d0482f0ef36ba971e2e0c7673425",
"signature_type": "Function"
}
]