CVE-2024-56689 Details
Description
In the Linux kernel, the following vulnerability has been resolved: PCI: endpoint: epf-mhi: Avoid NULL dereference if DT lacks 'mmio' If platform_get_resource_byname() fails and returns NULL because DT lacks an 'mmio' property for the MHI endpoint, dereferencing res->start will cause a NULL pointer access. Add a check to prevent it. [kwilczynski: error message update per the review feedback] [bhelgaas: commit log]
A vulnerability in the Linux kernel's PCI endpoint function driver for the MHI bus can lead to a NULL pointer dereference. This issue occurs when the device tree (DT) does not include an 'mmio' property for the MHI endpoint. The absence of this property causes the function platform_get_resource_byname() to return NULL. Consequently, dereferencing the resource's start address results in a NULL pointer access, which can cause a system crash. The vulnerability affects the Linux kernel stable tree.
Users can update to the latest version of the Linux kernel stable tree, where this vulnerability has been addressed. Instructions for downloading the patched version are available on the Linux kernel official website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0e6d92e3b973de78eb7015154cf1197af9fac5c9 | kernel.org | Patch |
| https://git.kernel.org/stable/c/242ee2b0ad9b23f47084904fce3f9f228068a1f9 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5089b3d874e9933d9842e90410d3af1520494757 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c8b9d6b7d62a444e0bca5b9ae28f9f2b0f52feef | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
| CWE-476 | NULL Pointer Dereference | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.5, < 6.6.64 >= 6.7, < 6.11.11 >= 6.12, < 6.12.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Jan 8, 2025 | Initial Analysis | [email protected] |
| Dec 28, 2024 | New CVE Received | kernel.org |