CVEvulnerability
CVE-2024-56689
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-12-28
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- 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 configurations
• linux linux kernel (>= 6.5 < 6.6.64)
• linux linux kernel (>= 6.7 < 6.11.11)
• linux linux kernel (>= 6.12 < 6.12.2)
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/0e6d92e3b973de78eb7015154cf1197af9fac5c9 Patch
- https://git.kernel.org/stable/c/242ee2b0ad9b23f47084904fce3f9f228068a1f9 Patch
- https://git.kernel.org/stable/c/5089b3d874e9933d9842e90410d3af1520494757 Patch
- https://git.kernel.org/stable/c/c8b9d6b7d62a444e0bca5b9ae28f9f2b0f52feef Patch