In the Linux kernel, the following vulnerability has been resolved:
tracing/trigger: Fix to return error if failed to alloc snapshot
Fix registersnapshottrigger() to return error code if it failed to allocate a snapshot instead of 0 (success). Unless that, it will register snapshot trigger without an error.
[
{
"id": "CVE-2024-26920-03d0f318",
"target": {
"file": "kernel/trace/trace_events_trigger.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"255947920396680997295510814486962848306",
"270272270582452279131803042556746010391",
"194660480339116265957817430847994498977",
"121379714683034797725348883630587983122",
"38917983478225866299521487399097235222"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4b001ef14baab16b553a002cb9979e31b8fc0c6b",
"signature_version": "v1"
},
{
"id": "CVE-2024-26920-31dc8a89",
"target": {
"file": "kernel/trace/trace_events_trigger.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"255947920396680997295510814486962848306",
"270272270582452279131803042556746010391",
"194660480339116265957817430847994498977",
"121379714683034797725348883630587983122",
"38917983478225866299521487399097235222"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0958b33ef5a04ed91f61cef4760ac412080c4e08",
"signature_version": "v1"
},
{
"id": "CVE-2024-26920-7a5f89e2",
"target": {
"file": "kernel/trace/trace_events_trigger.c",
"function": "register_snapshot_trigger"
},
"digest": {
"length": 167.0,
"function_hash": "10272741560911695546558342875421974631"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4b001ef14baab16b553a002cb9979e31b8fc0c6b",
"signature_version": "v1"
},
{
"id": "CVE-2024-26920-8e27bb94",
"target": {
"file": "kernel/trace/trace_events_trigger.c",
"function": "register_snapshot_trigger"
},
"digest": {
"length": 167.0,
"function_hash": "10272741560911695546558342875421974631"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0958b33ef5a04ed91f61cef4760ac412080c4e08",
"signature_version": "v1"
}
]