CVE-2024-46761

Source
https://cve.org/CVERecord?id=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
2026-03-11T07:48:00.889557Z
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
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46761.json",
    "cna_assigner": "Linux"
}
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
49f4b08e61547a5ccd2db551d994c4503efe5666
Fixed
4eb4085c1346d19d4a05c55246eb93e74e671048
Fixed
c4c681999d385e28f84808bbf3a85ea8e982da55
Fixed
bc1faed19db95abf0933b104910a3fb01b138f59
Fixed
c0d8094dc740cfacf3775bbc6a1c4720459e8de4
Fixed
438d522227374042b5c8798f8ce83bbe479dca4d
Fixed
b82d4d5c736f4fd2ed224c35f554f50d1953d21e
Fixed
bfc44075b19740d372f989f21dd03168bfda0689
Fixed
335e35b748527f0c06ded9eebb65387f60647fda
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
1fb738a3dc1304250c755e5e31715137c1c44c50
Last affected
bc4c9766324a7e9fda48de58691796430c8511bf

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-46761.json"