Lucene search

K
vulnrichmentLinuxVULNRICHMENT: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
github.com
4
linux kernel
vulnerability
mmio mapping

AI Score

7.2

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

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

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

AI Score

7.2

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial