CVE-2024-46761
pci/hotplug/pnv_php: Fix hotplug driver crash on Powernv
Check your servers for CVE-2024-46761
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-46761 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 18.0% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 29 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 49f4b08e61547a5ccd2db551d994c4503efe5666, before 4eb4085c1346d19d4a05c55246eb93e74e671048 affected from 49f4b08e61547a5ccd2db551d994c4503efe5666, before c4c681999d385e28f84808bbf3a85ea8e982da55 affected from 49f4b08e61547a5ccd2db551d994c4503efe5666, before bc1faed19db95abf0933b104910a3fb01b138f59 affected from 49f4b08e61547a5ccd2db551d994c4503efe5666, before c0d8094dc740cfacf3775bbc6a1c4720459e8de4 affected from 49f4b08e61547a5ccd2db551d994c4503efe5666, before 438d522227374042b5c8798f8ce83bbe479dca4d affected from 49f4b08e61547a5ccd2db551d994c4503efe5666, before b82d4d5c736f4fd2ed224c35f554f50d1953d21e affected from 49f4b08e61547a5ccd2db551d994c4503efe5666, before bfc44075b19740d372f989f21dd03168bfda0689 affected from 49f4b08e61547a5ccd2db551d994c4503efe5666, before 335e35b748527f0c06ded9eebb65387f60647fda affected 1fb738a3dc1304250c755e5e31715137c1c44c50 affected bc4c9766324a7e9fda48de58691796430c8511bf affected from 4.9.14, before 4.10 affected from 4.10.2, before 4.11
Other versions: unaffected
|
| Linux |
affected 4.11 unaffected before 4.11 unaffected from 4.19.322 up to and including 4.19.* unaffected from 5.4.284 up to and including 5.4.* unaffected from 5.10.226 up to and including 5.10.* unaffected from 5.15.167 up to and including 5.15.* unaffected from 6.1.110 up to and including 6.1.* unaffected from 6.6.51 up to and including 6.6.* unaffected from 6.10.10 up to and including 6.10.* unaffected 6.11 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-46761 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-46761
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-46761
trivy image --scanners vuln IMAGE | grep CVE-2024-46761
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/4eb4085c1346d19d4a05c55246eb93e74e671048 git.kernel.org
- https://git.kernel.org/stable/c/c4c681999d385e28f84808bbf3a85ea8e982da55 git.kernel.org
- https://git.kernel.org/stable/c/bc1faed19db95abf0933b104910a3fb01b138f59 git.kernel.org
- https://git.kernel.org/stable/c/c0d8094dc740cfacf3775bbc6a1c4720459e8de4 git.kernel.org
- https://git.kernel.org/stable/c/438d522227374042b5c8798f8ce83bbe479dca4d git.kernel.org
- https://git.kernel.org/stable/c/b82d4d5c736f4fd2ed224c35f554f50d1953d21e git.kernel.org
- https://git.kernel.org/stable/c/bfc44075b19740d372f989f21dd03168bfda0689 git.kernel.org
- https://git.kernel.org/stable/c/335e35b748527f0c06ded9eebb65387f60647fda git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
Source: the record CVE-2024-46761 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse