CVE-2021-47295
Last modified
CVE-2021-47295 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 1.50% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 3.18, < 5.4.136 | — |
| Linux | Linux Kernel | >= 5.5, < 5.10.54 | — |
| Linux | Linux Kernel | >= 5.11, < 5.13.6 | — |
| Linux | Linux Kernel | 5.14 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-47295?
How severe is CVE-2021-47295?
How do I fix CVE-2021-47295?
Are you affected by CVE-2021-47295?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
