CVE-2024-46761
IBM Power PCIe MSI NULL Pointer Dereference CentOS Remote Stack Buffer Overwrite
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.
INFO
Published Date :
Sept. 18, 2024, 8:15 a.m.
Last Modified :
Sept. 23, 2024, 4:06 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update the Linux kernel package.
- Reboot the system after the update.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-46761
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-46761
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-46761
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-46761
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-46761
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Sep. 23, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://git.kernel.org/stable/c/335e35b748527f0c06ded9eebb65387f60647fda No Types Assigned https://git.kernel.org/stable/c/335e35b748527f0c06ded9eebb65387f60647fda Patch Changed Reference Type https://git.kernel.org/stable/c/438d522227374042b5c8798f8ce83bbe479dca4d No Types Assigned https://git.kernel.org/stable/c/438d522227374042b5c8798f8ce83bbe479dca4d Patch Changed Reference Type https://git.kernel.org/stable/c/4eb4085c1346d19d4a05c55246eb93e74e671048 No Types Assigned https://git.kernel.org/stable/c/4eb4085c1346d19d4a05c55246eb93e74e671048 Patch Changed Reference Type https://git.kernel.org/stable/c/b82d4d5c736f4fd2ed224c35f554f50d1953d21e No Types Assigned https://git.kernel.org/stable/c/b82d4d5c736f4fd2ed224c35f554f50d1953d21e Patch Changed Reference Type https://git.kernel.org/stable/c/bc1faed19db95abf0933b104910a3fb01b138f59 No Types Assigned https://git.kernel.org/stable/c/bc1faed19db95abf0933b104910a3fb01b138f59 Patch Changed Reference Type https://git.kernel.org/stable/c/bfc44075b19740d372f989f21dd03168bfda0689 No Types Assigned https://git.kernel.org/stable/c/bfc44075b19740d372f989f21dd03168bfda0689 Patch Changed Reference Type https://git.kernel.org/stable/c/c0d8094dc740cfacf3775bbc6a1c4720459e8de4 No Types Assigned https://git.kernel.org/stable/c/c0d8094dc740cfacf3775bbc6a1c4720459e8de4 Patch Changed Reference Type https://git.kernel.org/stable/c/c4c681999d385e28f84808bbf3a85ea8e982da55 No Types Assigned https://git.kernel.org/stable/c/c4c681999d385e28f84808bbf3a85ea8e982da55 Patch Added CWE NIST CWE-476 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 4.19.322 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.284 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.226 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.167 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.110 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.51 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.10.10 -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Sep. 18, 2024
Action Type Old Value New Value Added 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. Added Reference kernel.org https://git.kernel.org/stable/c/4eb4085c1346d19d4a05c55246eb93e74e671048 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/c4c681999d385e28f84808bbf3a85ea8e982da55 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/bc1faed19db95abf0933b104910a3fb01b138f59 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/c0d8094dc740cfacf3775bbc6a1c4720459e8de4 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/438d522227374042b5c8798f8ce83bbe479dca4d [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/b82d4d5c736f4fd2ed224c35f554f50d1953d21e [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/bfc44075b19740d372f989f21dd03168bfda0689 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/335e35b748527f0c06ded9eebb65387f60647fda [No types assigned]