# CVE-2024-56689: PCI: endpoint: epf-mhi: Avoid NULL dereference if DT lacks 'mmio'

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-12-28T09:46:15.587Z
- Modified: 2026-06-17T08:12:44.990Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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]

(As written by CVE List.)

## Affected

- Linux Linux: from 1bf5f25324f7f6a52c3eb566ec5f78f6a901db96 before 242ee2b0ad9b23f47084904fce3f9f228068a1f9; from 1bf5f25324f7f6a52c3eb566ec5f78f6a901db96 before c8b9d6b7d62a444e0bca5b9ae28f9f2b0f52feef; from 1bf5f25324f7f6a52c3eb566ec5f78f6a901db96 before 0e6d92e3b973de78eb7015154cf1197af9fac5c9; from 1bf5f25324f7f6a52c3eb566ec5f78f6a901db96 before 5089b3d874e9933d9842e90410d3af1520494757; 6.5 (not affected: before 6.5; from 6.6.64 up to 6.6.*; from 6.11.11 up to 6.11.*; from 6.12.2 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 6.5 before 6.6.64; from 6.7 before 6.11.11; from 6.12 before 6.12.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/242ee2b0ad9b23f47084904fce3f9f228068a1f9> (patch)
- <https://git.kernel.org/stable/c/c8b9d6b7d62a444e0bca5b9ae28f9f2b0f52feef> (patch)
- <https://git.kernel.org/stable/c/0e6d92e3b973de78eb7015154cf1197af9fac5c9> (patch)
- <https://git.kernel.org/stable/c/5089b3d874e9933d9842e90410d3af1520494757> (patch)

## Sources

- CVE List: [CVE-2024-56689](https://www.cve.org/CVERecord?id=CVE-2024-56689), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-56689](https://nvd.nist.gov/vuln/detail/CVE-2024-56689), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-56689 · Whole record: https://cve.day/CVE-2024-56689.json · Rebuilt by cve.day 2026-11-25T22:58:50.533Z
