CVE-2021-47295

Source
https://cve.org/CVERecord?id=CVE-2021-47295
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-47295.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-47295
Downstream
Related
Published
2024-05-21T15:15:17.400Z
Modified
2026-03-10T23:52:20.627417Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

net: sched: fix memory leak in tcindexpartialdestroy_work

Syzbot reported memory leak in tcindexsetparms(). The problem was in non-freed perfect hash in tcindexpartialdestroy_work().

In tcindexsetparms() new tcindexdata is allocated and some fields from old one are copied to new one, but not the perfect hash. Since tcindexpartialdestroywork() is the destroy function for old tcindex_data, we need to free perfect hash to avoid memory leak.

References

Affected packages

Git /

Affected ranges

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-47295.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "3.18"
            },
            {
                "fixed": "5.4.136"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "5.5"
            },
            {
                "fixed": "5.10.54"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "5.11"
            },
            {
                "fixed": "5.13.6"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "5.14-rc1"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "5.14-rc2"
            }
        ]
    }
]