7.5
CWE
400
Advisory Published
Updated

CVE-2021-47295: net: sched: fix memory leak in tcindex_partial_destroy_work

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 SoftwareAffected VersionHow 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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2021-47295?

    CVE-2021-47295 is classified as a medium severity vulnerability due to the memory leak it introduces in the Linux kernel.

  • How do I fix CVE-2021-47295?

    To fix CVE-2021-47295, you should upgrade the Linux kernel to the latest patched version that includes the fix for this vulnerability.

  • What are the affected Linux kernel versions for CVE-2021-47295?

    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.

  • What type of vulnerability is CVE-2021-47295?

    CVE-2021-47295 is a memory leak vulnerability identified in the tcindex_set_parms() function of the Linux kernel.

  • Who reported CVE-2021-47295?

    CVE-2021-47295 was reported by the Syzbot automated testing tool.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203