CVE-2022-49971

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49971
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49971.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-49971
Downstream
Related
Published
2025-06-18T11:00:34Z
Modified
2025-10-21T11:27:28.585940Z
Summary
drm/amd/pm: Fix a potential gpu_metrics_table memory leak
Details

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

drm/amd/pm: Fix a potential gpumetricstable memory leak

Memory is allocated for gpumetricstable in smuv1304initsmctables(), but not freed in smuv1304finismctables(). This may cause memory leaks, fix it.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
55c894945bda8cbf8a57d97c0514b282e3960cc0
Fixed
4b25bdb54578f3b96ff055e5d27bc1cb82950e51
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
55c894945bda8cbf8a57d97c0514b282e3960cc0
Fixed
5afb76522a0af0513b6dc01f84128a73206b051b

Affected versions

v5.*

v5.17
v5.17-rc7
v5.17-rc8
v5.18
v5.18-rc1
v5.18-rc2
v5.18-rc3
v5.18-rc4
v5.18-rc5
v5.18-rc6
v5.18-rc7
v5.19
v5.19-rc1
v5.19-rc2
v5.19-rc3
v5.19-rc4
v5.19-rc5
v5.19-rc6
v5.19-rc7
v5.19-rc8
v5.19.1
v5.19.2
v5.19.3
v5.19.4
v5.19.5
v5.19.6

Database specific

vanir_signatures

[
    {
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "function": "smu_v13_0_4_fini_smc_tables",
            "file": "drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_4_ppt.c"
        },
        "digest": {
            "function_hash": "47823232777511625114359353155628649661",
            "length": 287.0
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5afb76522a0af0513b6dc01f84128a73206b051b",
        "signature_type": "Function",
        "id": "CVE-2022-49971-6ca6324a"
    },
    {
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "function": "smu_v13_0_4_fini_smc_tables",
            "file": "drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_4_ppt.c"
        },
        "digest": {
            "function_hash": "47823232777511625114359353155628649661",
            "length": 287.0
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4b25bdb54578f3b96ff055e5d27bc1cb82950e51",
        "signature_type": "Function",
        "id": "CVE-2022-49971-7f67e879"
    },
    {
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "file": "drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_4_ppt.c"
        },
        "digest": {
            "line_hashes": [
                "34460015269031946784381869982433603957",
                "265060984721069914986200573223782372203",
                "319380929351927352471083609452337992501"
            ],
            "threshold": 0.9
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4b25bdb54578f3b96ff055e5d27bc1cb82950e51",
        "signature_type": "Line",
        "id": "CVE-2022-49971-8dd28a4e"
    },
    {
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "file": "drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_4_ppt.c"
        },
        "digest": {
            "line_hashes": [
                "34460015269031946784381869982433603957",
                "265060984721069914986200573223782372203",
                "319380929351927352471083609452337992501"
            ],
            "threshold": 0.9
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5afb76522a0af0513b6dc01f84128a73206b051b",
        "signature_type": "Line",
        "id": "CVE-2022-49971-9ecb8ed8"
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.19.0
Fixed
5.19.7