In the Linux kernel, the following vulnerability has been resolved:
tracing: Fix overflow in getfreeelt()
"tracingmap->nextelt" in getfreeelt() is at risk of overflowing.
Once it overflows, new elements can still be inserted into the tracingmap
even though the maximum number of elements (max_elts) has been reached.
Continuing to insert elements after the overflow could result in the
tracingmap containing "tracingmap->maxsize" elements, leaving no empty
entries.
If any attempt is made to insert an element into a full tracing_map using
__tracing_map_insert(), it will cause an infinite loop with preemption
disabled, leading to a CPU hang problem.
Fix this by preventing any further increments to "tracingmap->nextelt" once it reaches "tracingmap->maxelt".
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43890.json"
}[
{
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2024-43890-110cbce0",
"target": {
"file": "kernel/trace/tracing_map.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"60265971941468451197330003736567734191",
"16750858680478093528959588101768850270",
"153094810224508591374728573505779298898",
"132591705157167692984735385100471125221",
"3726657577144973735558827148511552165",
"148519342382636433230467127627233855639",
"87070595328253521423804645205274535680",
"111327423997047140294000729117550356219",
"324701936924706009917673289873034715989",
"82589464972741139514937087127833255403",
"224354977955266306281247747366259671872",
"130895738836207844443664153676864703281"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a172c7b22bc2feaf489cfc6d6865f7237134fdf8"
},
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2024-43890-41ff772f",
"target": {
"file": "kernel/trace/tracing_map.c",
"function": "tracing_map_create"
},
"digest": {
"length": 810.0,
"function_hash": "284320497861024218431405853172161786731"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a172c7b22bc2feaf489cfc6d6865f7237134fdf8"
},
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2024-43890-79f39f59",
"target": {
"file": "kernel/trace/tracing_map.c",
"function": "tracing_map_clear"
},
"digest": {
"length": 304.0,
"function_hash": "250422965323846774689481968404489759493"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a172c7b22bc2feaf489cfc6d6865f7237134fdf8"
},
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2024-43890-e4b34c19",
"target": {
"file": "kernel/trace/tracing_map.c",
"function": "get_free_elt"
},
"digest": {
"length": 297.0,
"function_hash": "282590202161170528052225902339301786827"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a172c7b22bc2feaf489cfc6d6865f7237134fdf8"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-43890.json"