PCI/P2PDMA: Release per-CPU pgmap ref when vm_insert_page() fails
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.18.14, Kernel 6.19.4, Kernel 6.6.128 and 6 more.
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().
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.13 <6.18.14, >=6.19 <6.19.4, >=6.2 <6.6.128, >=6.7 <6.12.75, >=7e9c7ef83d785236f5a8c3761dd053fae9b92fb8 <6220694c52a5a04102b48109e4f24e958b559bd3, >=7e9c7ef83d785236f5a8c3761dd053fae9b92fb8 <a1f4dc72efc3204db95d052058d785cad7ce755f, >=7e9c7ef83d785236f5a8c3761dd053fae9b92fb8 <baa42b756d183a59572f3890981a3d32b8d05d40, >=7e9c7ef83d785236f5a8c3761dd053fae9b92fb8 <e19cce88ec4c4877f4ff2469099b9cf23cc3e93e, =6.2, >=7e9c7ef83d785236f5a8c3761dd053fae9b92fb8 <51b7181cfbedf289ce794b6d97a1c596c309ec38 | 6.18.14, 6.19.4, 6.6.128, 6.12.75, 6220694c52a5a04102b48109e4f24e958b559bd3, a1f4dc72efc3204db95d052058d785cad7ce755f, baa42b756d183a59572f3890981a3d32b8d05d40, e19cce88ec4c4877f4ff2469099b9cf23cc3e93e, 51b7181cfbedf289ce794b6d97a1c596c309ec38 |
| linux-kernel: Kernel | >=6.13.0 <6.18.14, >=6.19.0 <6.19.4, >=6.2.0 <6.6.128, >=6.7.0 <6.12.75 | 6.18.14, 6.19.4, 6.6.128, 6.12.75 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket