Skip to content
Not rated

CVE-2024-43890 In the Linux kernel, the following vulnerability has been resolved: tracing: Fix overflow in get_free_elt()…

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

Affected products and versions

Product Affected versions Fixed in
Linux 6.11 earliest → < 6.11 6.11
Linux 6.10 earliest → < 6.10.5 6.10.5
Linux 6.6 earliest → < 6.6.46 6.6.46
Linux 6.1 earliest → < 6.1.105 6.1.105
Linux 5.15 earliest → < 5.15.165 5.15.165
Linux 5.10 earliest → < 5.10.224 5.10.224
Linux 5.4 earliest → < 5.4.282 5.4.282
Linux 4.19 earliest → < 4.19.320 4.19.320
Linux 4.7 No fix stated
Show the 4 other branches
Product Affected versions Fixed in
RUGGEDCOM RST2428P 3.1 earliest → < 3.1 3.1
SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family Versions not published
SCALANCE XCM-/XRM-/XCH-/XRH-300 family 3.1 earliest → < 3.1 3.1
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 1.1 earliest → < 1.1.1 1.1.1

References

Timeline

  1. Published
  2. Last modified
The 18283 CVEs of Linux →
Track this CVE