CVE-2024-43890

Source
https://cve.org/CVERecord?id=CVE-2024-43890
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-43890.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-43890
Downstream
Related
Published
2024-08-26T10:10:43.547Z
Modified
2026-03-20T12:38:52.591112Z
Summary
tracing: Fix overflow in get_free_elt()
Details

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".

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43890.json",
    "cna_assigner": "Linux"
}
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
08d43a5fa063e03c860f2f391a30c388bcbc948e
Fixed
302ceb625d7b990db205a15e371f9a71238de91c
Fixed
d3e4dbc2858fe85d1dbd2e72a9fc5dea988b5c18
Fixed
eb223bf01e688dfe37e813c8988ee11c8c9f8d0a
Fixed
cd10d186a5409a1fe6e976df82858e9773a698da
Fixed
788ea62499b3c18541fd6d621964d8fafbc4aec5
Fixed
a172c7b22bc2feaf489cfc6d6865f7237134fdf8
Fixed
236bb4690773ab6869b40bedc7bc8d889e36f9d6
Fixed
bcf86c01ca4676316557dd482c8416ece8c2e143

Database specific

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