CVE-2021-47295

net: sched: fix memory leak in tcindex_partial_destroy_work

HIGH
7.5
CVSS Score
Published: May 21, 2024 at 02:35 PM UTC
Updated: June 17, 2026 at 04:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 1%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.18 ≤ v < 4.14.3083.18 ≤ v < 4.19.2763.18 ≤ v < 5.10.1733.18 ≤ v < 5.10.543.18 ≤ v < 5.13.63.18 ≤ v < 5.143.18 ≤ v < 5.15.1003.18 ≤ v < 5.4.1363.18 ≤ v < 5.4.2353.18 ≤ v < 6.1.183.18 ≤ v < 6.2.55.11 ≤ v < 5.13.65.5 ≤ v < 5.10.54331b72922c5f331b72922c5f58d48fd5500acadc91777cc319705.14 rc15.14 rc2
Vendor states this is fixed in 01d0d2b8b4e3cf2110baba9371c0c3d04ad5c77b (fixed)
Vendor states this is fixed in 18c3fa7a7fdbb4d21dafc8a7710ae2c1680930f6 (fixed)
Vendor states this is fixed in 372ae77cf11d11fb118cbe2d37def9dd5f826abd (fixed)
Vendor states this is fixed in 3abebc503a5148072052c229c6b04b329a420ecd (fixed)
Vendor states this is fixed in 53af9c793f644d5841d84d8e0ad83bd7ab47f3e0 (fixed)
Vendor states this is fixed in 7a6fb69bbcb21e9ce13bdf18c008c268874f0480 (fixed)
Vendor states this is fixed in 7c183dc0af472dec33d2c0786a5e356baa8cad19 (fixed)
Vendor states this is fixed in 8d7924ce85ba (fixed)
Vendor states this is fixed in 8d7924ce85bae64e7a67c366c7c50840f49f3a62 (fixed)
Vendor states this is fixed in 8e9662fde6d6 (fixed)
Vendor states this is fixed in 8e9662fde6d63c78eb1350f6167f64c9d71a865b (fixed)
Vendor states this is fixed in cac71d27745f (fixed)
Vendor states this is fixed in cac71d27745f92ee13f0ecc668ffe151a4a9c9b1 (fixed)
Vendor states this is fixed in f5051bcece50 (fixed)
Vendor states this is fixed in f5051bcece50140abd1a11a2d36dc3ec5484fc32 (fixed)
Vendor states this is fixed in 3.18 (unaffected)
Vendor states this is fixed in 4.14.308 (unaffected)
Vendor states this is fixed in 4.19.276 (unaffected)
Vendor states this is fixed in 5.10.173 (unaffected)
Vendor states this is fixed in 5.10.54 (unaffected)
Vendor states this is fixed in 5.13.6 (unaffected)
Vendor states this is fixed in 5.14 (unaffected)
Vendor states this is fixed in 5.15.100 (unaffected)
Vendor states this is fixed in 5.4.136 (unaffected)
Vendor states this is fixed in 5.4.235 (unaffected)
Vendor states this is fixed in 6.1.18 (unaffected)
Vendor states this is fixed in 6.2.5 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.5HIGHCISA-ADP
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-400

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card