Lucene search

K
cvelistLinuxCVELIST:CVE-2024-26977
HistoryMay 01, 2024 - 5:20 a.m.

CVE-2024-26977 pci_iounmap(): Fix MMIO mapping leak

2024-05-0105:20:28
Linux
www.cve.org
9
cve-2024-26977
pci_iounmap
mmio mapping
linux kernel
vulnerability
iounmap
mapping leak

AI Score

6.8

Confidence

Low

EPSS

0

Percentile

10.3%

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

pci_iounmap(): Fix MMIO mapping leak

The #ifdef ARCH_HAS_GENERIC_IOPORT_MAP accidentally also guards iounmap(),
which means MMIO mappings are leaked.

Move the guard so we call iounmap() for MMIO mappings.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "lib/pci_iomap.c"
    ],
    "versions": [
      {
        "version": "316e8d79a095",
        "lessThan": "5e4b23e7a7b3",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "316e8d79a095",
        "lessThan": "6d21d0356aa4",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "316e8d79a095",
        "lessThan": "b5d40f02e722",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "316e8d79a095",
        "lessThan": "f3749345a9b7",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "316e8d79a095",
        "lessThan": "af280e137e27",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "316e8d79a095",
        "lessThan": "7626913652cc",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "lib/pci_iomap.c"
    ],
    "versions": [
      {
        "version": "5.15",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.15",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.154",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.84",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.24",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7.12",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.3",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.8

Confidence

Low

EPSS

0

Percentile

10.3%