CVE-2024-43890

Source
https://nvd.nist.gov/vuln/detail/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
2025-11-27T02:32:45.863699Z
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
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/cc431b3424123d84bcd7afd4de150b33f117a8ef/cves/2024/43xxx/CVE-2024-43890.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
08d43a5fa063e03c860f2f391a30c388bcbc948e
Fixed
302ceb625d7b990db205a15e371f9a71238de91c
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
08d43a5fa063e03c860f2f391a30c388bcbc948e
Fixed
d3e4dbc2858fe85d1dbd2e72a9fc5dea988b5c18
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
08d43a5fa063e03c860f2f391a30c388bcbc948e
Fixed
eb223bf01e688dfe37e813c8988ee11c8c9f8d0a
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
08d43a5fa063e03c860f2f391a30c388bcbc948e
Fixed
cd10d186a5409a1fe6e976df82858e9773a698da
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
08d43a5fa063e03c860f2f391a30c388bcbc948e
Fixed
788ea62499b3c18541fd6d621964d8fafbc4aec5
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
08d43a5fa063e03c860f2f391a30c388bcbc948e
Fixed
a172c7b22bc2feaf489cfc6d6865f7237134fdf8
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
08d43a5fa063e03c860f2f391a30c388bcbc948e
Fixed
236bb4690773ab6869b40bedc7bc8d889e36f9d6
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
08d43a5fa063e03c860f2f391a30c388bcbc948e
Fixed
bcf86c01ca4676316557dd482c8416ece8c2e143

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.7.0
Fixed
4.19.320
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.282
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.224
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.165
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.105
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.46
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.10.5