Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: pci/hotplug/pnv_php: Fix hotplug driver crash on Powernv The hotplug driver for powerpc (pci/hotplug/pnv_php.c) causes a kernel crash when we try to hot-unplug/disable the PCIe switch/bridge from the PHB. The crash occurs because although the MSI data structure has been released during disable/hot-unplug path and it has been assigned with NULL, still during unregistration the code was again trying to explicitly disable the MSI which causes the NULL pointer dereference and kernel crash. The patch fixes the check during unregistration path to prevent invoking pci_disable_msi/msix() since its data structure is already freed.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 49f4b08e61547a5ccd2db551d994c4503efe5666 before 4eb4085c1346d19d4a05c55246eb93e74e671048; affected 49f4b08e61547a5ccd2db551d994c4503efe5666 before c4c681999d385e28f84808bbf3a85ea8e982da55; affected 49f4b08e61547a5ccd2db551d994c4503efe5666 before bc1faed19db95abf0933b104910a3fb01b138f59; affected 49f4b08e61547a5ccd2db551d994c4503efe5666 before c0d8094dc740cfacf3775bbc6a1c4720459e8de4; affected 49f4b08e61547a5ccd2db551d994c4503efe5666 before 438d522227374042b5c8798f8ce83bbe479dca4d; affected 49f4b08e61547a5ccd2db551d994c4503efe5666 before b82d4d5c736f4fd2ed224c35f554f50d1953d21e; affected 49f4b08e61547a5ccd2db551d994c4503efe5666 before bfc44075b19740d372f989f21dd03168bfda0689; affected 49f4b08e61547a5ccd2db551d994c4503efe5666 before 335e35b748527f0c06ded9eebb65387f60647fda; affected 1fb738a3dc1304250c755e5e31715137c1c44c50; affected bc4c9766324a7e9fda48de58691796430c8511bf; affected 4.9.14 before 4.10; affected 4.10.2 before 4.11 |
| Linux / Linux | affected 4.11; unaffected 0 before 4.11; unaffected 4.19.322 through 4.19.*; unaffected 5.4.284 through 5.4.*; unaffected 5.10.226 through 5.10.*; unaffected 5.15.167 through 5.15.*; unaffected 6.1.110 through 6.1.*; unaffected 6.6.51 through 6.6.*; unaffected 6.10.10 through 6.10.*; unaffected 6.11 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/4eb4085c1346d19d4a05c55246eb93e74e671048
- https://git.kernel.org/stable/c/c4c681999d385e28f84808bbf3a85ea8e982da55
- https://git.kernel.org/stable/c/bc1faed19db95abf0933b104910a3fb01b138f59
- https://git.kernel.org/stable/c/c0d8094dc740cfacf3775bbc6a1c4720459e8de4
- https://git.kernel.org/stable/c/438d522227374042b5c8798f8ce83bbe479dca4d
- https://git.kernel.org/stable/c/b82d4d5c736f4fd2ed224c35f554f50d1953d21e
- https://git.kernel.org/stable/c/bfc44075b19740d372f989f21dd03168bfda0689
- https://git.kernel.org/stable/c/335e35b748527f0c06ded9eebb65387f60647fda
ADP enrichment
No English description supplied.
No references supplied.
No English description supplied.