CVE-2021-47295: net: sched: fix memory leak in tcindex_partial_destroy_work
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.
Security readout for executives and security teams
Plain-English summary
CVE-2021-47295 is a Linux kernel availability issue. A memory leak in the network scheduler tcindex cleanup path can leave allocated hash memory unreleased. The published CVSS score is 7.5 high, focused on availability, not data theft or modification.
Executive priority
Treat as a high-priority availability risk for Linux infrastructure, especially systems where downtime is costly. There is no source-backed evidence of active exploitation, so prioritize patch validation and kernel lifecycle management over emergency incident response.
Technical view
The defect is in tcindex_partial_destroy_work(). During tcindex_set_parms(), new tcindex_data is allocated and old fields are copied, but the perfect hash is not copied. The old tcindex_data destroy path did not free that perfect hash, causing a memory leak reported by syzbot.
Likely exposure
Exposure is Linux systems running affected kernel versions listed in the CVE data. The source bundle ties the issue to net scheduler tcindex code, but does not fully describe deployment prerequisites, configuration requirements, or distribution backport status.
Exploitation context
The bundle does not show CISA KEV listing or active exploitation. The CVSS vector rates it network-accessible, low complexity, no privileges, no user interaction, with high availability impact. No exploit procedure or proof-of-concept details are provided.
Researcher notes
Evidence supports a CWE-400 resource-consumption flaw in Linux net scheduler tcindex cleanup. The source bundle names stable kernel commits but does not provide exploitability prerequisites, affected configurations, or downstream vendor package mappings.
Mitigation direction
Update affected Linux kernels to versions containing the referenced stable commits.
Check Linux distribution advisories for backported fixes and corrected package versions.
Prioritize systems where kernel availability loss would cause service outage.
Track vendor guidance if your kernel is custom-built or heavily backported.
Validation and detection
Inventory Linux kernel versions across servers, appliances, and container hosts.
Compare kernel builds against the affected versions and referenced stable commits.
Review distribution changelogs for the tcindex_partial_destroy_work memory leak fix.
Confirm production systems are not relying on an unfixed custom kernel build.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-400: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-400 · source CWE mapping
Uncontrolled Resource Consumption
Uncontrolled Resource Consumption represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.