All reports
Low

kernel: PCI/P2PDMA: Release per-CPU pgmap ref when vm_insert_page() fails

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-45880

Probability of exploitation in the next 30 days: 0.16%

FIRST EPSS · 2026-11-23

Description

In the Linux kernel, the following vulnerability has been resolved: PCI/P2PDMA: Release per-CPU pgmap ref when vm_insert_page() fails When vm_insert_page() fails in p2pmem_alloc_mmap(), p2pmem_alloc_mmap() doesn't invoke percpu_ref_put() to free the per-CPU ref of pgmap acquired after gen_pool_alloc_owner(), and memunmap_pages() will hang forever when trying to remove the PCI device. Fix it by adding the missed percpu_ref_put().

A flaw was found in the Linux kernel's PCI/P2PDMA subsystem. When the vm_insert_page() function fails during memory allocation, the system does not properly release a per-CPU reference for the page map. This oversight can lead to a resource leak, causing the memunmap_pages() function to hang indefinitely when attempting to remove a PCI device. Consequently, a local attacker could potentially trigger a Denial of Service (DoS) condition, making the system unresponsive.