Lucene search

K
cvelistLinuxCVELIST:CVE-2022-48904
HistoryAug 22, 2024 - 1:30 a.m.

CVE-2022-48904 iommu/amd: Fix I/O page table memory leak

2024-08-2201:30:28
Linux
www.cve.org
2
vulnerability
iommu
linux kernel
memory leak
cve-2022-48904

EPSS

0

Percentile

5.1%

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

iommu/amd: Fix I/O page table memory leak

The current logic updates the I/O page table mode for the domain
before calling the logic to free memory used for the page table.
This results in IOMMU page table memory leak, and can be observed
when launching VM w/ pass-through devices.

Fix by freeing the memory used for page table before updating the mode.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/iommu/amd/io_pgtable.c"
    ],
    "versions": [
      {
        "version": "e42ba0633064",
        "lessThan": "378e2fe1eb58",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "e42ba0633064",
        "lessThan": "c78627f757e3",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "e42ba0633064",
        "lessThan": "6b0b2d9a6a30",
        "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/iommu/amd/io_pgtable.c"
    ],
    "versions": [
      {
        "version": "5.12",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.12",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.27",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.16.13",
        "lessThanOrEqual": "5.16.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.17",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

EPSS

0

Percentile

5.1%