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.
[
{
"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"
}
]
}
]
git.kernel.org/stable/c/5e4b23e7a7b33a1e56bfa3e5598138a2234d55b6
git.kernel.org/stable/c/6d21d0356aa44157a62e39c0d1a13d4c69a8d0c8
git.kernel.org/stable/c/7626913652cc786c238e2dd7d8740b17d41b2637
git.kernel.org/stable/c/af280e137e273935f2e09f4d73169998298792ed
git.kernel.org/stable/c/b5d40f02e7222da032c2042aebcf2a07de9b342f
git.kernel.org/stable/c/f3749345a9b7295dd071d0ed589634cb46364f77