{"id":"CVE-2026-139459","summary":"PCI/P2PDMA: Wait for RCU readers before freeing state","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI/P2PDMA: Wait for RCU readers before freeing state\n\npci_p2pmem_find_many() scans all PCI devices without locking or protection\nagainst driver unbind, including devices with poolless P2PDMA state.\npci_has_p2pmem() may observe pdev-\u003ep2pdma just before driver unbind clears\nit, while pci_p2pdma_release() skips the grace period when no pool is\npresent. This allows devres to free the object while it is still in use.\n\nClear the pointer with RCU_INIT_POINTER() and always wait for pre-existing\nRCU readers before returning. The same grace period continues to protect\ngen_pool users for pool-backed providers.","modified":"2026-12-01T21:02:38.356814652Z","published":"2026-11-30T13:34:57.049Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139459.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1b82c6657e957f598b6e19e045e0bbd5cb370083"},{"type":"WEB","url":"https://git.kernel.org/stable/c/210b39b5963cab9b6d78f1311f999a8de508df60"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139459.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139459"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"372d6d1b8ae3cdfe6b0638a0a848c6865ec94567"},{"fixed":"210b39b5963cab9b6d78f1311f999a8de508df60"},{"fixed":"1b82c6657e957f598b6e19e045e0bbd5cb370083"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139459.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139459.json"}}],"schema_version":"1.9.2"}