5.5medium
PCI: endpoint: epf-mhi: Avoid NULL dereference if DT lacks 'mmio'
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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]
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| linux linux_kernel | from 6.5 before 6.6.64, from 6.7 before 6.11.11, from 6.12 before 6.12.2 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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]
NVD (es)
En el núcleo de Linux, se ha resuelto la siguiente vulnerabilidad: PCI: endpoint: epf-mhi: Evitar la desreferenciación NULL si DT carece de 'mmio' Si platform_get_resource_byname() falla y devuelve NULL porque DT carece de una propiedad 'mmio' para el endpoint MHI, la desreferenciación de res->start provocará un acceso al puntero NULL. Agregue una verificación para evitarlo. [kwilczynski: actualización del mensaje de error según los comentarios de la revisión] [bhelgaas: registro de confirmaciones]
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-56689 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-56689 changed 2026-06-17 | Public domain |