Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: dmaengine: dw-edma-pcie: Reject devices without driver data dw_edma_pcie_probe() treats the PCI device ID driver_data as the template for the controller layout and copies it unconditionally. A device bound dynamically via sysfs can match the driver without that data, which leads to a NULL pointer dereference. Reject such matches before enabling the device.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 41aaff2a2ac01c5f5415f9de9cd7015ac2b8d569 before 2733b5dcb5a4ba4446f7bac954b97e4501dcaa64; affected 41aaff2a2ac01c5f5415f9de9cd7015ac2b8d569 before a1042599fa8f9e313be176eb1ea1ae199f983419; affected 41aaff2a2ac01c5f5415f9de9cd7015ac2b8d569 before 043acb00e4edd4b9ffb9dd0e357482dcd9086486; affected 41aaff2a2ac01c5f5415f9de9cd7015ac2b8d569 before 044f7b3252d4fb2143d4999eec2800c08f1001ed; affected 41aaff2a2ac01c5f5415f9de9cd7015ac2b8d569 before 11d7cfe0c119691b2dafbb699bbca90258c678aa |
| Linux / Linux | affected 5.3; unaffected 0 before 5.3; unaffected 6.6.148 through 6.6.*; unaffected 6.12.101 through 6.12.*; unaffected 6.18.42 through 6.18.*; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/2733b5dcb5a4ba4446f7bac954b97e4501dcaa64
- https://git.kernel.org/stable/c/a1042599fa8f9e313be176eb1ea1ae199f983419
- https://git.kernel.org/stable/c/043acb00e4edd4b9ffb9dd0e357482dcd9086486
- https://git.kernel.org/stable/c/044f7b3252d4fb2143d4999eec2800c08f1001ed
- https://git.kernel.org/stable/c/11d7cfe0c119691b2dafbb699bbca90258c678aa