# CVE-2024-46761: pci/hotplug/pnv_php: Fix hotplug driver crash on Powernv

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 18% of CVEs (2026-12-01)
- Published: 2024-09-18T07:12:20.852Z
- Modified: 2026-06-17T07:55:52.727Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 49f4b08e61547a5ccd2db551d994c4503efe5666 before 4eb4085c1346d19d4a05c55246eb93e74e671048; from 49f4b08e61547a5ccd2db551d994c4503efe5666 before c4c681999d385e28f84808bbf3a85ea8e982da55; from 49f4b08e61547a5ccd2db551d994c4503efe5666 before bc1faed19db95abf0933b104910a3fb01b138f59; from 49f4b08e61547a5ccd2db551d994c4503efe5666 before c0d8094dc740cfacf3775bbc6a1c4720459e8de4; from 49f4b08e61547a5ccd2db551d994c4503efe5666 before 438d522227374042b5c8798f8ce83bbe479dca4d; from 49f4b08e61547a5ccd2db551d994c4503efe5666 before b82d4d5c736f4fd2ed224c35f554f50d1953d21e; from 49f4b08e61547a5ccd2db551d994c4503efe5666 before bfc44075b19740d372f989f21dd03168bfda0689; from 49f4b08e61547a5ccd2db551d994c4503efe5666 before 335e35b748527f0c06ded9eebb65387f60647fda; 1fb738a3dc1304250c755e5e31715137c1c44c50; bc4c9766324a7e9fda48de58691796430c8511bf; from 4.9.14 before 4.10; from 4.10.2 before 4.11; and 1 more (not affected: before 4.11; from 4.19.322 up to 4.19.*; from 5.4.284 up to 5.4.*; from 5.10.226 up to 5.10.*; from 5.15.167 up to 5.15.*; from 6.1.110 up to 6.1.*; from 6.6.51 up to 6.6.*; from 6.10.10 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: before 4.19.322; from 4.20 before 5.4.284; from 5.5 before 5.10.226; from 5.11 before 5.15.167; from 5.16 before 6.1.110; from 6.2 before 6.6.51; from 6.7 before 6.10.10

## References

- <https://git.kernel.org/stable/c/4eb4085c1346d19d4a05c55246eb93e74e671048> (patch)
- <https://git.kernel.org/stable/c/c4c681999d385e28f84808bbf3a85ea8e982da55> (patch)
- <https://git.kernel.org/stable/c/bc1faed19db95abf0933b104910a3fb01b138f59> (patch)
- <https://git.kernel.org/stable/c/c0d8094dc740cfacf3775bbc6a1c4720459e8de4> (patch)
- <https://git.kernel.org/stable/c/438d522227374042b5c8798f8ce83bbe479dca4d> (patch)
- <https://git.kernel.org/stable/c/b82d4d5c736f4fd2ed224c35f554f50d1953d21e> (patch)
- <https://git.kernel.org/stable/c/bfc44075b19740d372f989f21dd03168bfda0689> (patch)
- <https://git.kernel.org/stable/c/335e35b748527f0c06ded9eebb65387f60647fda> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-46761](https://www.cve.org/CVERecord?id=CVE-2024-46761), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2024-46761](https://nvd.nist.gov/vuln/detail/CVE-2024-46761), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-46761 · Whole record: https://cve.day/CVE-2024-46761.json · Rebuilt by cve.day 2026-11-25T22:58:45.559Z
