CVE-2024-46761: pci/hotplug/pnv_php: Fix hotplug driver crash on Powernv
In the Linux kernel, the following vulnerability has been resolved:
pci/hotplug/pnvphp: Fix hotplug driver crash on Powernv
The hotplug driver for powerpc (pci/hotplug/pnvphp.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.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-46761?
The severity of CVE-2024-46761 is considered medium due to the potential for kernel crashes during PCIe operations.
How do I fix CVE-2024-46761?
To fix CVE-2024-46761, update to the recommended kernel version: 6.1.123-1, 6.1.119-1, or later versions as specified.
What systems are affected by CVE-2024-46761?
CVE-2024-46761 affects the Linux kernel versions up to 5.10.226 and various versions of the 6.x series.
What is the impact of CVE-2024-46761?
The impact of CVE-2024-46761 includes potential kernel crashes when attempting to hot-unplug or disable PCIe switches or bridges.
Is there a specific Debian package affected by CVE-2024-46761?
Yes, the Debian package 'linux' versions up to 5.10.226 and 'linux-6.1' version 6.1.119-1~deb11u1 are affected by CVE-2024-46761.