# CVE-2024-46761: pci/hotplug/pnv\_php: Fix hotplug driver crash on Powernv

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-09-18T07:12:20.852Z
- **Modified:** 2026-06-17T07:55:52.727Z

## Who should check

- Anyone running Linux \>= 49f4b08e61547a5ccd2db551d994c4503efe5666, \< 4eb4085c1346d19d4a05c55246eb93e74e671048; \>= 49f4b08e61547a5ccd2db551d994c4503efe5666, \< c4c681999d385e28f84808bbf3a85ea8e982da55; \>= 49f4b08e61547a5ccd2db551d994c4503efe5666, \< bc1faed19db95abf0933b104910a3fb01b138f59; \>= 49f4b08e61547a5ccd2db551d994c4503efe5666, \< c0d8094dc740cfacf3775bbc6a1c4720459e8de4; \>= 49f4b08e61547a5ccd2db551d994c4503efe5666, \< 438d522227374042b5c8798f8ce83bbe479dca4d; \>= 49f4b08e61547a5ccd2db551d994c4503efe5666, \< b82d4d5c736f4fd2ed224c35f554f50d1953d21e; \>= 49f4b08e61547a5ccd2db551d994c4503efe5666, \< bfc44075b19740d372f989f21dd03168bfda0689; \>= 49f4b08e61547a5ccd2db551d994c4503efe5666, \< 335e35b748527f0c06ded9eebb65387f60647fda; 1fb738a3dc1304250c755e5e31715137c1c44c50; bc4c9766324a7e9fda48de58691796430c8511bf; …
- Anyone running Linux 4.11

## 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.

## Affected and fixed versions

- Linux: \>= 49f4b08e61547a5ccd2db551d994c4503efe5666, \< 4eb4085c1346d19d4a05c55246eb93e74e671048; \>= 49f4b08e61547a5ccd2db551d994c4503efe5666, \< c4c681999d385e28f84808bbf3a85ea8e982da55; \>= 49f4b08e61547a5ccd2db551d994c4503efe5666, \< bc1faed19db95abf0933b104910a3fb01b138f59; \>= 49f4b08e61547a5ccd2db551d994c4503efe5666, \< c0d8094dc740cfacf3775bbc6a1c4720459e8de4; \>= 49f4b08e61547a5ccd2db551d994c4503efe5666, \< 438d522227374042b5c8798f8ce83bbe479dca4d; \>= 49f4b08e61547a5ccd2db551d994c4503efe5666, \< b82d4d5c736f4fd2ed224c35f554f50d1953d21e; \>= 49f4b08e61547a5ccd2db551d994c4503efe5666, \< bfc44075b19740d372f989f21dd03168bfda0689; \>= 49f4b08e61547a5ccd2db551d994c4503efe5666, \< 335e35b748527f0c06ded9eebb65387f60647fda; 1fb738a3dc1304250c755e5e31715137c1c44c50; bc4c9766324a7e9fda48de58691796430c8511bf; … (cvelist)
- Linux: 4.11 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-46761. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-46761.md
Affected: Linux >= 49f4b08e61547a5ccd2db551d994c4503efe5666, < 4eb4085c1346d19d4a05c55246eb93e74e671048; >= 49f4b08e61547a5ccd2db551d994c4503efe5666, < c4c681999d385e28f84808bbf3a85ea8e982da55; >= 49f4b08e61547a5ccd2db551d994c4503efe5666, < bc1faed19db95abf0933b104910a3fb01b138f59; >= 49f4b08e61547a5ccd2db55…
Fixed in: Linux 4eb4085c1346d19d4a05c55246eb93e74e671048, Linux 438d522227374042b5c8798f8ce83bbe479dca4d, Linux 335e35b748527f0c06ded9eebb65387f60647fda

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-46761 being exploited?

There is no confirmed exploitation: CVE-2024-46761 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-46761?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-46761?

Linux \>= 49f4b08e61547a5ccd2db551d994c4503efe5666, \< 4eb4085c1346d19d4a05c55246eb93e74e671048; \>= 49f4b08e61547a5ccd2db551d994c4503efe5666, \< c4c681999d385e28f84808bbf3a85ea8e982da55; \>= 49f4b08e61547a5ccd2db551d994c4503efe5666, \< bc1faed19db95abf0933b104910a3fb01b138f59; \>= 49f4b08e61547a5ccd2db551d994c4503efe5666, \< c0d8094dc740cfacf3775bbc6a1c4720459e8de4; \>= 49f4b08e61547a5ccd2db551d994c4503efe5666, \< 438d522227374042b5c8798f8ce83bbe479dca4d; \>= 49f4b08e61547a5ccd2db551d994c4503efe5666, \< b82d4d5c736f4fd2ed224c35f554f50d1953d21e; \>= 49f4b08e61547a5ccd2db551d994c4503efe5666, \< bfc44075b19740d372f989f21dd03168bfda0689; \>= 49f4b08e61547a5ccd2db551d994c4503efe5666, \< 335e35b748527f0c06ded9eebb65387f60647fda; 1fb738a3dc1304250c755e5e31715137c1c44c50; bc4c9766324a7e9fda48de58691796430c8511bf; …; Linux 4.11.

### Is there a fix for CVE-2024-46761?

Yes. Fixed in Linux 4eb4085c1346d19d4a05c55246eb93e74e671048, Linux 438d522227374042b5c8798f8ce83bbe479dca4d, Linux 335e35b748527f0c06ded9eebb65387f60647fda. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-46761?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-46761>

HTML: <https://flawdb.com/CVE-2024-46761> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-46761>
