GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2022-50562 (GCVE-0-2022-50562)

Vulnerability from cvelistv5 – Published: 2025-10-22 13:23 – Updated: 2026-05-11 19:21
VLAI
Title
tpm: acpi: Call acpi_put_table() to fix memory leak
Summary
In the Linux kernel, the following vulnerability has been resolved: tpm: acpi: Call acpi_put_table() to fix memory leak The start and length of the event log area are obtained from TPM2 or TCPA table, so we call acpi_get_table() to get the ACPI information, but the acpi_get_table() should be coupled with acpi_put_table() to release the ACPI memory, add the acpi_put_table() properly to fix the memory leak. While we are at it, remove the redundant empty line at the end of the tpm_read_log_acpi().
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 0bfb23746052168620c5b52f49d8a47c3bb022fa , < 8ddc48068ac85740d3d5f9f3b0b323e733a35b33 (git)
Affected: 0bfb23746052168620c5b52f49d8a47c3bb022fa , < 638cd298dfebce46919cbd6cf1884701215f506d (git)
Affected: 0bfb23746052168620c5b52f49d8a47c3bb022fa , < 694a3d66f493afd77c704c6de91d9be4d6e004e4 (git)
Affected: 0bfb23746052168620c5b52f49d8a47c3bb022fa , < bf31e3f8077af539feaf4e9bbf82e8eb51e7e5a8 (git)
Affected: 0bfb23746052168620c5b52f49d8a47c3bb022fa , < 8740a12ca2e2959531ad253bac99ada338b33d80 (git)
guessed Create a notification for this product.
Linux Linux Affected: 4.18
Unaffected: 0 , < 4.18 (semver)
Unaffected: 5.10.163 , ≤ 5.10.* (semver)
Unaffected: 5.15.87 , ≤ 5.15.* (semver)
Unaffected: 6.0.17 , ≤ 6.0.* (semver)
Unaffected: 6.1.3 , ≤ 6.1.* (semver)
Unaffected: 6.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/char/tpm/eventlog/acpi.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "8ddc48068ac85740d3d5f9f3b0b323e733a35b33",
              "status": "affected",
              "version": "0bfb23746052168620c5b52f49d8a47c3bb022fa",
              "versionType": "git"
            },
            {
              "lessThan": "638cd298dfebce46919cbd6cf1884701215f506d",
              "status": "affected",
              "version": "0bfb23746052168620c5b52f49d8a47c3bb022fa",
              "versionType": "git"
            },
            {
              "lessThan": "694a3d66f493afd77c704c6de91d9be4d6e004e4",
              "status": "affected",
              "version": "0bfb23746052168620c5b52f49d8a47c3bb022fa",
              "versionType": "git"
            },
            {
              "lessThan": "bf31e3f8077af539feaf4e9bbf82e8eb51e7e5a8",
              "status": "affected",
              "version": "0bfb23746052168620c5b52f49d8a47c3bb022fa",
              "versionType": "git"
            },
            {
              "lessThan": "8740a12ca2e2959531ad253bac99ada338b33d80",
              "status": "affected",
              "version": "0bfb23746052168620c5b52f49d8a47c3bb022fa",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/char/tpm/eventlog/acpi.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.18"
            },
            {
              "lessThan": "4.18",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.87",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.17",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.163",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.87",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.17",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.3",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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()."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T19:21:49.466Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "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"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50562",
    "datePublished": "2025-10-22T13:23:21.421Z",
    "dateReserved": "2025-10-22T13:20:23.759Z",
    "dateUpdated": "2026-05-11T19:21:49.466Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2022-50562",
      "date": "2026-09-13",
      "epss": "0.00199",
      "percentile": "0.09877"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-50562\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-10-22T14:15:40.953\",\"lastModified\":\"2026-06-17T05:23:47.810\",\"vulnStatus\":\"Deferred\",\"cveTags\":[],\"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\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/char/tpm/eventlog/acpi.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"0bfb23746052168620c5b52f49d8a47c3bb022fa\",\"lessThan\":\"8ddc48068ac85740d3d5f9f3b0b323e733a35b33\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0bfb23746052168620c5b52f49d8a47c3bb022fa\",\"lessThan\":\"638cd298dfebce46919cbd6cf1884701215f506d\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0bfb23746052168620c5b52f49d8a47c3bb022fa\",\"lessThan\":\"694a3d66f493afd77c704c6de91d9be4d6e004e4\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0bfb23746052168620c5b52f49d8a47c3bb022fa\",\"lessThan\":\"bf31e3f8077af539feaf4e9bbf82e8eb51e7e5a8\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0bfb23746052168620c5b52f49d8a47c3bb022fa\",\"lessThan\":\"8740a12ca2e2959531ad253bac99ada338b33d80\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/char/tpm/eventlog/acpi.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"4.18\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"4.18\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.163\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.87\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.0.17\",\"lessThanOrEqual\":\"6.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.3\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/638cd298dfebce46919cbd6cf1884701215f506d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/694a3d66f493afd77c704c6de91d9be4d6e004e4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8740a12ca2e2959531ad253bac99ada338b33d80\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8ddc48068ac85740d3d5f9f3b0b323e733a35b33\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/bf31e3f8077af539feaf4e9bbf82e8eb51e7e5a8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-07-21T19:08:33+00:00",
      "cve": "CVE-2022-50562",
      "id": "CVE-2022-50562",
      "initial_release_date": "2022-01-01T00:00:00+00:00",
      "product_status:fixed": "120",
      "product_status:known_affected": "124",
      "product_status:known_not_affected": "118",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: tpm: acpi: Call acpi_put_table() to fix memory leak",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-50562.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-02T12:43:23Z",
      "cve": "CVE-2022-50562",
      "id": "CVE-2022-50562",
      "initial_release_date": "2025-10-24T01:16:48Z",
      "product_status:known_affected": "423",
      "product_status:known_not_affected": "317",
      "product_status:recommended": "245",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2022-50562",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2022-50562.json",
      "version": "30"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…