CVE-2021-47295
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 5.13.6, 5.10.54, 5.4.136 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 331b72922c5f58d48fd5500acadc91777cc31970, 331b72922c5f58d48fd5500acadc91777cc31970, 331b72922c5f58d48fd5500acadc91777cc31970 |
| Linux | Linux | 3.18, 0, 4.14.308 |
| linux | linux_kernel | 3.18, 3.18, 3.18 |
| Linux | Linux | 5.10.54, 5.4.136, 5.4.235 |
| linux | linux_kernel | 331b72922c5f, 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