Description
In the Linux kernel, the following vulnerability has been resolved: alpha/PCI: Add security_locked_down() check to pci_mmap_resource() Currently, Alpha's pci_mmap_resource() does not check security_locked_down(LOCKDOWN_PCI_ACCESS) before allowing userspace to mmap PCI BARs. The generic version has had this check since commit eb627e17727e ("PCI: Lock down BAR access when the kernel is locked down") to prevent DMA attacks when the kernel is locked down. Add the same check to Alpha's pci_mmap_resource().
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
eb627e17727ebeede70697ae1798688b0d328b54 to < 6e368485a1ac19fbde0a8b6a332d4545ae72a8acaffectedeb627e17727ebeede70697ae1798688b0d328b54 to < ed2cd1fee0ed16a1c2dff49175e65c641eb8ae2baffectedeb627e17727ebeede70697ae1798688b0d328b54 to < c3234efe21d4198945492cf7dba6859476f0f6ffaffectedeb627e17727ebeede70697ae1798688b0d328b54 to < 4de5ff924c0a8ef8166c1a68af9087826e1e8d61affectedeb627e17727ebeede70697ae1798688b0d328b54 to < 85f966b1120874fe530edec50d28373ceb06ebcdaffectedeb627e17727ebeede70697ae1798688b0d328b54 to < 94defb18ac792fd16407d5a52ad0d3f5055c4b43affectedeb627e17727ebeede70697ae1798688b0d328b54 to < 257b55dc3d18d7ef01f62a8ff7317871f7597e28affectedeb627e17727ebeede70697ae1798688b0d328b54 to < 78a228f0aa0e9eba31955950c8a40a9945e2c8bbaffected
Linux Linux
Default version status: affected
5.4affected0 to < 5.4unaffected5.10.261 to ≤ 5.10.*unaffected5.15.212 to ≤ 5.15.*unaffected6.1.178 to ≤ 6.1.*unaffected6.6.145 to ≤ 6.6.*unaffected6.12.97 to ≤ 6.12.*unaffected6.18.40 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/6e368485a1ac19fbde0a8b6a332d4545ae72a8ac ↗
- https://git.kernel.org/stable/c/ed2cd1fee0ed16a1c2dff49175e65c641eb8ae2b ↗
- https://git.kernel.org/stable/c/c3234efe21d4198945492cf7dba6859476f0f6ff ↗
- https://git.kernel.org/stable/c/4de5ff924c0a8ef8166c1a68af9087826e1e8d61 ↗
- https://git.kernel.org/stable/c/85f966b1120874fe530edec50d28373ceb06ebcd ↗
- https://git.kernel.org/stable/c/94defb18ac792fd16407d5a52ad0d3f5055c4b43 ↗
- https://git.kernel.org/stable/c/257b55dc3d18d7ef01f62a8ff7317871f7597e28 ↗
- https://git.kernel.org/stable/c/78a228f0aa0e9eba31955950c8a40a9945e2c8bb ↗