{"id":"CVE-2026-139459","aliases":["CVE-2026-139459"],"related":[],"kind":"vulnerability","state":"published","title":"PCI/P2PDMA: Wait for RCU readers before freeing state","summary":"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->p2pdma 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->p2pdma 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.","source":"cvelist"}],"published":"2026-11-30T13:34:57.049Z","modified":"2026-11-30T14:19:17.153Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"372d6d1b8ae3cdfe6b0638a0a848c6865ec94567","fixed":"210b39b5963cab9b6d78f1311f999a8de508df60","status":"affected"},{"type":"git","introduced":"372d6d1b8ae3cdfe6b0638a0a848c6865ec94567","fixed":"1b82c6657e957f598b6e19e045e0bbd5cb370083","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.19","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/210b39b5963cab9b6d78f1311f999a8de508df60","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1b82c6657e957f598b6e19e045e0bbd5cb370083","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139459","url":"https://www.cve.org/CVERecord?id=CVE-2026-139459","licence":"CVE Terms of Use","modified":"2026-11-30T13:34:57.049Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139459","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139459","licence":"Public domain","modified":"2026-11-30T14:19:17.153Z"}],"updatedAt":"2026-11-30T14:33:02.366Z","epss":{"score":0.0019,"percentile":0.09062,"date":"2026-12-01T12:00:22.000Z"}}