Skip to content
Heist/ feed
Back to feed
UnratedFix available

tracing: Fix overflow in get_free_elt()

Type: advisorySources: OSV

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

Products
Kernel
Affected versions
Not specified
Fixed versions
4.19.320, 5.10.224, 5.15.165, 5.4.282, 6.1.105, 6.10.5, 6.6.46
CVEs
CVE-2024-43890
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 23:11 UTC · Revision 1

Source evidence

tracing: Fix overflow in get_free_elt()

core-osv · Original source

Published 26 Aug 2024, 10:10 UTC

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

osv:CVE-2024-43890

Kernel

Fixed versions: 4.19.320, 5.4.282, 5.10.224, 5.15.165, 6.1.105, 6.6.46, 6.10.5

Complete source record
{
  "id": "afea864400f1bd72f4ef9fecda74c63550d3d0daec3555c725428f036caf5dea",
  "url": "https://osv.dev/vulnerability/CVE-2024-43890",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "tracing: Fix overflow in get_free_elt()",
    "summary": "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\".",
    "evidence": "osv:CVE-2024-43890",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.19.320",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.4.282",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.224",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.165",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.105",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.46",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.10.5",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2024-43890",
      "aliases": [
        "CVE-2024-43890"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "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"
          }
        },
        {
          "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"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-43890.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:40.527328243Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/html/ssa-265688.html",
        "https://cert-portal.siemens.com/productcert/html/ssa-355557.html",
        "https://cert-portal.siemens.com/productcert/html/ssa-613116.html",
        "https://git.kernel.org/stable/c/236bb4690773ab6869b40bedc7bc8d889e36f9d6",
        "https://git.kernel.org/stable/c/302ceb625d7b990db205a15e371f9a71238de91c",
        "https://git.kernel.org/stable/c/788ea62499b3c18541fd6d621964d8fafbc4aec5",
        "https://git.kernel.org/stable/c/a172c7b22bc2feaf489cfc6d6865f7237134fdf8",
        "https://git.kernel.org/stable/c/bcf86c01ca4676316557dd482c8416ece8c2e143",
        "https://git.kernel.org/stable/c/cd10d186a5409a1fe6e976df82858e9773a698da",
        "https://git.kernel.org/stable/c/d3e4dbc2858fe85d1dbd2e72a9fc5dea988b5c18",
        "https://git.kernel.org/stable/c/eb223bf01e688dfe37e813c8988ee11c8c9f8d0a",
        "https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html",
        "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43890.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-43890",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43890.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-43890",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 507898,
  "published_at": "2024-08-26T10:10:43.547+00:00"
}