# CVE-2026-139459: PCI/P2PDMA: Wait for RCU readers before freeing state

- Severity: not scored yet
- 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.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-11-30T13:34:57.049Z
- Modified: 2026-11-30T14:19:17.153Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

PCI/P2PDMA: Wait for RCU readers before freeing state

pci_p2pmem_find_many() scans all PCI devices without locking or protection
against driver unbind, including devices with poolless P2PDMA state.
pci_has_p2pmem() may observe pdev->p2pdma just before driver unbind clears
it, while pci_p2pdma_release() skips the grace period when no pool is
present. This allows devres to free the object while it is still in use.

Clear the pointer with RCU_INIT_POINTER() and always wait for pre-existing
RCU readers before returning. The same grace period continues to protect
gen_pool users for pool-backed providers.

(As written by CVE List.)

## Affected

- Linux Linux: from 372d6d1b8ae3cdfe6b0638a0a848c6865ec94567 before 210b39b5963cab9b6d78f1311f999a8de508df60; from 372d6d1b8ae3cdfe6b0638a0a848c6865ec94567 before 1b82c6657e957f598b6e19e045e0bbd5cb370083; 6.19 (not affected: before 6.19; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/210b39b5963cab9b6d78f1311f999a8de508df60>
- <https://git.kernel.org/stable/c/1b82c6657e957f598b6e19e045e0bbd5cb370083>

## Sources

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

---

Page: https://cve.day/CVE-2026-139459 · Whole record: https://cve.day/CVE-2026-139459.json · Rebuilt by cve.day 2026-11-30T14:33:02.366Z
