CVE-2024-56689

MEDIUM

Linux Kernel - NULL Pointer Dereference in PCI Endpoint MHI MMIO Resource Handling

Title source: llm
STIX 2.1

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]

Scores

CVSS v3 5.5
EPSS 0.0020
EPSS Percentile 10.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-476
Status published
Products (14)
linux/Kernel 6.12.0 - 6.12.2linux
linux/Kernel 6.5.0 - 6.6.64linux
linux/Kernel 6.7.0 - 6.11.11linux
Linux/Linux < 6.5
Linux/Linux 1bf5f25324f7f6a52c3eb566ec5f78f6a901db96 - 0e6d92e3b973de78eb7015154cf1197af9fac5c9
Linux/Linux 1bf5f25324f7f6a52c3eb566ec5f78f6a901db96 - 242ee2b0ad9b23f47084904fce3f9f228068a1f9
Linux/Linux 1bf5f25324f7f6a52c3eb566ec5f78f6a901db96 - 5089b3d874e9933d9842e90410d3af1520494757
Linux/Linux 1bf5f25324f7f6a52c3eb566ec5f78f6a901db96 - c8b9d6b7d62a444e0bca5b9ae28f9f2b0f52feef
Linux/Linux 6.11.11 - 6.11.*
Linux/Linux 6.12.2 - 6.12.*
... and 4 more
Published Dec 28, 2024
Tracked Since Feb 18, 2026