What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: Linux kernel 6.11.11, 6.12.2, 6.6.64. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-56689 or the next vulnerability affects your stack