First published: Tue May 21 2024(Updated: )
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.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Red Hat Kernel-devel | ||
Linux Kernel | >=3.18<5.4.136 | |
Linux Kernel | >=5.5<5.10.54 | |
Linux Kernel | >=5.11<5.13.6 | |
Linux Kernel | =5.14-rc1 | |
Linux Kernel | =5.14-rc2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-47295 is classified as a medium severity vulnerability due to the memory leak it introduces in the Linux kernel.
To fix CVE-2021-47295, you should upgrade the Linux kernel to the latest patched version that includes the fix for this vulnerability.
CVE-2021-47295 affects various Linux kernel versions from 3.18 to 5.14-rc2, as well as versions within specific ranges such as 5.4.136 to 5.10.54 and 5.11 to 5.13.6.
CVE-2021-47295 is a memory leak vulnerability identified in the tcindex_set_parms() function of the Linux kernel.
CVE-2021-47295 was reported by the Syzbot automated testing tool.