VDB

CVE-2021-47295

CVE-2021-47295 PUBLISHED CVSS 7.5 HIGH

net: sched: fix memory leak in tcindex_partial_destroy_work

Reported by linux · Published May 21, 2024

In the Linux kernel, the following vulnerability has been resolved: net: sched: fix memory leak in tcindex_partial_destroy_work Syzbot reported memory leak in tcindex_set_parms(). The problem was in non-freed perfect hash in tcindex_partial_destroy_work(). In tcindex_set_parms() new tcindex_data is allocated and some fields from old one are copied to new one, but not the perfect hash. Since tcindex_partial_destroy_work() is the destroy function for old tcindex_data, we need to free perfect hash to avoid memory leak.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux5.13.6, 5.10.54, 5.4.136

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
LinuxLinux331b72922c5f58d48fd5500acadc91777cc31970, 331b72922c5f58d48fd5500acadc91777cc31970, 331b72922c5f58d48fd5500acadc91777cc31970
LinuxLinux3.18, 0, 4.14.308
linuxlinux_kernel3.18, 3.18, 3.18
LinuxLinux5.10.54, 5.4.136, 5.4.235
linuxlinux_kernel331b72922c5f, 5.13.6, 5.14

Timeline

  • May 21, 2024 CVE Published
  • May 22, 2024 EPSS Score (30 in total, the first dated here)
  • Jun 2, 2026 Security Advisory
  • Jul 13, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-47295
vulnetix vdb fixes CVE-2021-47295

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-47295/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›