Bug 2334685 (CVE-2024-56689) - CVE-2024-56689 kernel: PCI: endpoint: epf-mhi: Avoid NULL dereference if DT lacks 'mmio'
Summary: CVE-2024-56689 kernel: PCI: endpoint: epf-mhi: Avoid NULL dereference if DT l...
Keywords:
Status: NEW
Alias: CVE-2024-56689
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-12-28 10:02 UTC by OSIDB Bzimport
Modified: 2025-01-21 12:16 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-12-28 10:02:31 UTC
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]

Comment 1 Avinash Hanwate 2024-12-29 06:15:55 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024122834-CVE-2024-56689-69ca@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.