# CVE-2026-45880: PCI/P2PDMA: Release per-CPU pgmap ref when vm_insert_page() fails

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-05-27T12:16:52.117Z
- Modified: 2026-11-06T16:18:49.123Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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().

(As written by CVE List.)

## Affected

- Linux Linux: from 7e9c7ef83d785236f5a8c3761dd053fae9b92fb8 before baa42b756d183a59572f3890981a3d32b8d05d40; from 7e9c7ef83d785236f5a8c3761dd053fae9b92fb8 before 51b7181cfbedf289ce794b6d97a1c596c309ec38; from 7e9c7ef83d785236f5a8c3761dd053fae9b92fb8 before e19cce88ec4c4877f4ff2469099b9cf23cc3e93e; from 7e9c7ef83d785236f5a8c3761dd053fae9b92fb8 before a1f4dc72efc3204db95d052058d785cad7ce755f; from 7e9c7ef83d785236f5a8c3761dd053fae9b92fb8 before 6220694c52a5a04102b48109e4f24e958b559bd3; 6.2 (not affected: before 6.2; from 6.6.128 up to 6.6.*; from 6.12.75 up to 6.12.*; from 6.18.14 up to 6.18.*; from 6.19.4 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.2 before 6.6.128; from 6.7 before 6.12.75; from 6.13 before 6.18.14; from 6.19 before 6.19.4

## References

- <https://git.kernel.org/stable/c/baa42b756d183a59572f3890981a3d32b8d05d40> (patch)
- <https://git.kernel.org/stable/c/51b7181cfbedf289ce794b6d97a1c596c309ec38> (patch)
- <https://git.kernel.org/stable/c/e19cce88ec4c4877f4ff2469099b9cf23cc3e93e> (patch)
- <https://git.kernel.org/stable/c/a1f4dc72efc3204db95d052058d785cad7ce755f> (patch)
- <https://git.kernel.org/stable/c/6220694c52a5a04102b48109e4f24e958b559bd3> (patch)

## Sources

- CVE List: [CVE-2026-45880](https://www.cve.org/CVERecord?id=CVE-2026-45880), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-45880](https://nvd.nist.gov/vuln/detail/CVE-2026-45880), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-45880 · Whole record: https://cve.day/CVE-2026-45880.json · Rebuilt by cve.day 2026-11-25T22:59:22.487Z
