What’s Vulnerable › Vulnerabilities
CVE-2024-56689: PCI: endpoint: epf-mhi: Avoid NULL dereference if DT lacks 'mmio'
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-12-28 · updated 2026-06-17
- Weakness: CWE-476
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]
Affected products
- Linux kernel: from 6.5 before 6.6.64; from 6.7 before 6.11.11; from 6.12 before 6.12.2 — fixed in 6.11.11, 6.12.2, 6.6.64
How to fix
Upgrade to a fixed version: Linux kernel 6.11.11, 6.12.2, 6.6.64. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0e6d92e3b973de78eb7015154cf1197af9fac5c9
- https://git.kernel.org/stable/c/242ee2b0ad9b23f47084904fce3f9f228068a1f9
- https://git.kernel.org/stable/c/5089b3d874e9933d9842e90410d3af1520494757
- https://git.kernel.org/stable/c/c8b9d6b7d62a444e0bca5b9ae28f9f2b0f52feef
Get alerted when CVE-2024-56689 or the next vulnerability affects your stack