CVE-2021-47190

Source
https://cve.org/CVERecord?id=CVE-2021-47190
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-47190.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-47190
Downstream
Published
2024-04-10T19:15:47.617Z
Modified
2026-03-14T14:52:51.151241Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/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:

perf bpf: Avoid memory leak from perfenvinsertbtf()

perfenvinsertbtf() doesn't insert if a duplicate BTF id is encountered and this causes a memory leak. Modify the function to return a success/error value and then free the memory if insertion didn't happen.

v2. Adds a return -1 when the insertion error occurs in perfenvfetchbtf. This doesn't affect anything as the result is never checked.

References

Affected packages

Git /

Affected ranges

Database specific

unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "5.1"
            },
            {
                "fixed": "5.4.162"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "5.5"
            },
            {
                "fixed": "5.10.82"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "5.11"
            },
            {
                "fixed": "5.15.5"
            }
        ]
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-47190.json"