{"id":"CVE-2024-43890","summary":"tracing: Fix overflow in get_free_elt()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ntracing: Fix overflow in get_free_elt()\n\n\"tracing_map-\u003enext_elt\" in get_free_elt() is at risk of overflowing.\n\nOnce it overflows, new elements can still be inserted into the tracing_map\neven though the maximum number of elements (`max_elts`) has been reached.\nContinuing to insert elements after the overflow could result in the\ntracing_map containing \"tracing_map-\u003emax_size\" elements, leaving no empty\nentries.\nIf any attempt is made to insert an element into a full tracing_map using\n`__tracing_map_insert()`, it will cause an infinite loop with preemption\ndisabled, leading to a CPU hang problem.\n\nFix this by preventing any further increments to \"tracing_map-\u003enext_elt\"\nonce it reaches \"tracing_map-\u003emax_elt\".","modified":"2026-04-02T12:18:27.136917Z","published":"2024-08-26T10:10:43.547Z","related":["MGASA-2024-0309","MGASA-2024-0310","SUSE-SU-2024:3551-1","SUSE-SU-2024:3553-1","SUSE-SU-2024:3559-1","SUSE-SU-2024:3561-1","SUSE-SU-2024:3564-1","SUSE-SU-2024:3566-1","SUSE-SU-2024:3569-1","SUSE-SU-2024:3587-1","SUSE-SU-2024:3591-1","SUSE-SU-2024:3592-1","SUSE-SU-2025:20073-1","SUSE-SU-2025:20077-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43890.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/236bb4690773ab6869b40bedc7bc8d889e36f9d6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/302ceb625d7b990db205a15e371f9a71238de91c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/788ea62499b3c18541fd6d621964d8fafbc4aec5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a172c7b22bc2feaf489cfc6d6865f7237134fdf8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bcf86c01ca4676316557dd482c8416ece8c2e143"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cd10d186a5409a1fe6e976df82858e9773a698da"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d3e4dbc2858fe85d1dbd2e72a9fc5dea988b5c18"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eb223bf01e688dfe37e813c8988ee11c8c9f8d0a"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43890.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-43890"},{"type":"PACKAGE","url":"https://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/cve-osv-conversion/osv-output/CVE-2024-43890.json"}}],"schema_version":"1.7.5"}