CVE-2022-49665

Source
https://cve.org/CVERecord?id=CVE-2022-49665
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49665.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-49665
Downstream
Related
Published
2025-02-26T02:24:00.496Z
Modified
2026-03-11T06:26:37.789288Z
Summary
platform/x86: thinkpad_acpi: Fix a memory leak of EFCH MMIO resource
Details

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

platform/x86: thinkpad_acpi: Fix a memory leak of EFCH MMIO resource

Unlike releasememregion(), a call to release_resource() does not free the resource, so it has to be freed explicitly to avoid a memory leak.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49665.json"
}
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
455cd867b85b53fd3602345f9b8a8facc551adc9
Fixed
3884bf75fa044c73e843d95dd71a424e80ebb095
Fixed
d2f33f0c3ad7b0d5262d9b986f1353265fad7a08

Affected versions

v5.*
v5.18
v5.18-rc2
v5.18-rc3
v5.18-rc4
v5.18-rc5
v5.18-rc6
v5.18-rc7
v5.18.1
v5.18.2
v5.18.3
v5.18.4
v5.18.5
v5.18.6
v5.18.7
v5.18.8
v5.18.9
v5.19-rc1

Database specific

vanir_signatures
[
    {
        "signature_type": "Line",
        "deprecated": false,
        "id": "CVE-2022-49665-319b7308",
        "target": {
            "file": "drivers/platform/x86/thinkpad_acpi.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "50554308331477888483664851015186468552",
                "126608233409473621013468327703484357503",
                "88260237329331722661708635455930582134",
                "45023359822487579558794973872645928365"
            ]
        },
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d2f33f0c3ad7b0d5262d9b986f1353265fad7a08"
    },
    {
        "signature_type": "Line",
        "deprecated": false,
        "id": "CVE-2022-49665-49fbbfe6",
        "target": {
            "file": "drivers/platform/x86/thinkpad_acpi.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "50554308331477888483664851015186468552",
                "126608233409473621013468327703484357503",
                "88260237329331722661708635455930582134",
                "45023359822487579558794973872645928365"
            ]
        },
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3884bf75fa044c73e843d95dd71a424e80ebb095"
    },
    {
        "signature_type": "Function",
        "deprecated": false,
        "id": "CVE-2022-49665-8aafc763",
        "target": {
            "file": "drivers/platform/x86/thinkpad_acpi.c",
            "function": "thinkpad_acpi_amd_s2idle_restore"
        },
        "digest": {
            "length": 411.0,
            "function_hash": "94355225242365779760735700429752977404"
        },
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d2f33f0c3ad7b0d5262d9b986f1353265fad7a08"
    },
    {
        "signature_type": "Function",
        "deprecated": false,
        "id": "CVE-2022-49665-b213a445",
        "target": {
            "file": "drivers/platform/x86/thinkpad_acpi.c",
            "function": "thinkpad_acpi_amd_s2idle_restore"
        },
        "digest": {
            "length": 411.0,
            "function_hash": "94355225242365779760735700429752977404"
        },
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3884bf75fa044c73e843d95dd71a424e80ebb095"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49665.json"