PCI/P2PDMA: Wait for RCU readers before freeing state
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | 372d6d1b8ae3cdfe6b0638a0a848c6865ec94567 to before 210b39b5963cab9b6d78f1311f999a8de508df60 Affected372d6d1b8ae3cdfe6b0638a0a848c6865ec94567 to before 1b82c6657e957f598b6e19e045e0bbd5cb370083 Affected |
| Linux Linux | 6.19 Affectedbefore 6.19 Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.