perf/dwc_pcie: fix duplicate pci_dev devices
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.12.1146.14.36.15In the Linux kernel, the following vulnerability has been resolved:
perf/dwc_pcie: fix duplicate pci_dev devices
During platform_device_register, wrongly using struct device pci_dev as platform_data caused a kmemdup copy of pci_dev. Worse still, accessing the duplicated device leads to list corruption as its mutex content (e.g., list, magic) remains the same as the original.
From the CVE record · Linux
The Linux kernel’s perf/dwc_pcie component can duplicate a pci_dev during platform device registration. Accessing the duplicate can corrupt a list because its copied mutex contents match the original. The input does not specify attack access requirements or user interaction.
Engineers running Linux kernels with the perf/dwc_pcie component should check whether their kernel includes the fix; affected versions were not provided.