CVE-2024-46761

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-46761
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-46761.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-46761
Downstream
Related
Published
2024-09-18T07:12:20.852Z
Modified
2025-11-28T02:35:14.602302Z
Summary
pci/hotplug/pnv_php: Fix hotplug driver crash on Powernv
Details

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 pcidisablemsi/msix() since its data structure is already freed.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46761.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Fixed
4eb4085c1346d19d4a05c55246eb93e74e671048
Fixed
c4c681999d385e28f84808bbf3a85ea8e982da55
Fixed
bc1faed19db95abf0933b104910a3fb01b138f59
Fixed
c0d8094dc740cfacf3775bbc6a1c4720459e8de4
Fixed
438d522227374042b5c8798f8ce83bbe479dca4d
Fixed
b82d4d5c736f4fd2ed224c35f554f50d1953d21e
Fixed
bfc44075b19740d372f989f21dd03168bfda0689
Fixed
335e35b748527f0c06ded9eebb65387f60647fda

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.19.322
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.284
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.226
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.167
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.110
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.51
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.10.10