CVE-2021-47009

Source
https://cve.org/CVERecord?id=CVE-2021-47009
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-47009.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-47009
Downstream
Related
Published
2024-02-28T09:15:38.610Z
Modified
2026-03-15T22:42:45.481449Z
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:

KEYS: trusted: Fix memory leak on object td

Two error return paths are neglecting to free allocated object td, causing a memory leak. Fix this by returning via the error return path that securely kfree's td.

Fixes clang scan-build warning: security/keys/trusted-keys/trusted_tpm1.c:496:10: warning: Potential memory leak [unix.Malloc]

References

Affected packages

Git /

Affected ranges

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-47009.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "5.10.20"
            },
            {
                "fixed": "5.10.38"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "5.11.3"
            },
            {
                "fixed": "5.11.22"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "5.12"
            },
            {
                "fixed": "5.12.5"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "5.12-rc1"
            }
        ]
    }
]