CVE-2024-56689

PCI: endpoint: epf-mhi: Avoid NULL dereference if DT lacks 'mmio'

Medium · published December 28, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
10.2
In the wild
Unconfirmed
What it is

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]

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00207 · 10.2th percentile
Published
2024-12-28T09:46Z
EPSS history
Timeline
  • 28 DEC 09:46Z
    PCI: endpoint: epf-mhi: Avoid NULL dereference if DT lacks 'mmio'
    cvelistv5