{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2022-50562",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2025-10-22T13:20:23.759Z",
        "datePublished": "2025-10-22T13:23:21.421Z",
        "dateUpdated": "2026-05-11T19:21:49.466Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-05-11T19:21:49.466Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ntpm: acpi: Call acpi_put_table() to fix memory leak\n\nThe start and length of the event log area are obtained from\nTPM2 or TCPA table, so we call acpi_get_table() to get the\nACPI information, but the acpi_get_table() should be coupled with\nacpi_put_table() to release the ACPI memory, add the acpi_put_table()\nproperly to fix the memory leak.\n\nWhile we are at it, remove the redundant empty line at the\nend of the tpm_read_log_acpi()."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/char/tpm/eventlog/acpi.c"
                    ],
                    "versions": [
                        {
                            "version": "0bfb23746052168620c5b52f49d8a47c3bb022fa",
                            "lessThan": "8ddc48068ac85740d3d5f9f3b0b323e733a35b33",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0bfb23746052168620c5b52f49d8a47c3bb022fa",
                            "lessThan": "638cd298dfebce46919cbd6cf1884701215f506d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0bfb23746052168620c5b52f49d8a47c3bb022fa",
                            "lessThan": "694a3d66f493afd77c704c6de91d9be4d6e004e4",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0bfb23746052168620c5b52f49d8a47c3bb022fa",
                            "lessThan": "bf31e3f8077af539feaf4e9bbf82e8eb51e7e5a8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0bfb23746052168620c5b52f49d8a47c3bb022fa",
                            "lessThan": "8740a12ca2e2959531ad253bac99ada338b33d80",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/char/tpm/eventlog/acpi.c"
                    ],
                    "versions": [
                        {
                            "version": "4.18",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.18",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.163",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.87",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.0.17",
                            "lessThanOrEqual": "6.0.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.3",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.2",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.18",
                                    "versionEndExcluding": "5.10.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.18",
                                    "versionEndExcluding": "5.15.87"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.18",
                                    "versionEndExcluding": "6.0.17"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.18",
                                    "versionEndExcluding": "6.1.3"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.18",
                                    "versionEndExcluding": "6.2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/8ddc48068ac85740d3d5f9f3b0b323e733a35b33"
                },
                {
                    "url": "https://git.kernel.org/stable/c/638cd298dfebce46919cbd6cf1884701215f506d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/694a3d66f493afd77c704c6de91d9be4d6e004e4"
                },
                {
                    "url": "https://git.kernel.org/stable/c/bf31e3f8077af539feaf4e9bbf82e8eb51e7e5a8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/8740a12ca2e2959531ad253bac99ada338b33d80"
                }
            ],
            "title": "tpm: acpi: Call acpi_put_table() to fix memory leak",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}