Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139459

PCI/P2PDMA: Wait for RCU readers before freeing state

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 372d6d1b8ae3cdfe6b0638a0a848c6865ec94567 to < 210b39b5963cab9b6d78f1311f999a8de508df60affected
  • 372d6d1b8ae3cdfe6b0638a0a848c6865ec94567 to < 1b82c6657e957f598b6e19e045e0bbd5cb370083affected

Linux Linux

Default version status: affected

  • 6.19affected
  • 0 to < 6.19unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References