CVE-2026-45880

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

State
Published
Severity
Not scored
Published
May 27, 2026
Updated
May 27, 2026
Reserved
May 13, 2026

Read the record on cve.org

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 7e9c7ef83d785236f5a8c3761dd053fae9b92fb8 to before baa42b756d183a59572f3890981a3d32b8d05d40Affected
  • 7e9c7ef83d785236f5a8c3761dd053fae9b92fb8 to before 51b7181cfbedf289ce794b6d97a1c596c309ec38Affected
  • 7e9c7ef83d785236f5a8c3761dd053fae9b92fb8 to before e19cce88ec4c4877f4ff2469099b9cf23cc3e93eAffected
  • 7e9c7ef83d785236f5a8c3761dd053fae9b92fb8 to before a1f4dc72efc3204db95d052058d785cad7ce755fAffected
  • 7e9c7ef83d785236f5a8c3761dd053fae9b92fb8 to before 6220694c52a5a04102b48109e4f24e958b559bd3Affected
LinuxLinux
  • 6.2Affected
  • before 6.2Not affected
  • 6.6.128 through 6.6.*Not affected
  • 6.12.75 through 6.12.*Not affected
  • 6.18.14 through 6.18.*Not affected
  • 6.19.4 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.