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

Published Dec 28, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

If platformgetresourcebyname() 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]

Other sources

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

Launchpad

Affected Software

4 affected componentsFixes available
Linux Linux kernel>=6.5<6.6.64
Linux Linux kernel>=6.7<6.11.11
Linux Linux kernel>=6.12<6.12.2
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1

Event History

Dec 28, 2024
CVE Published
via MITRE·09:46 AM
Data Sourced
via MITRE·09:46 AM
Description
Data Sourced
via NVD·10:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 25, 2025
Data Sourced
via Launchpad·01:13 AM
Description
Apr 29, 2025
Data Sourced
via Ubuntu·01:14 AM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-56689?

CVE-2024-56689 has been classified with a severity level that indicates potential risks related to NULL dereference vulnerabilities in the Linux kernel.

2

How do I fix CVE-2024-56689?

To fix CVE-2024-56689, update your Linux kernel to a version that includes the security fix, such as those specified in the advisory.

3

Which versions of the Linux kernel are affected by CVE-2024-56689?

CVE-2024-56689 affects Linux kernel versions from 6.5 to 6.6.64, as well as versions from 6.7 to 6.11.11, and from 6.12 to 6.12.2.

4

What is the vulnerability type of CVE-2024-56689?

CVE-2024-56689 is classified as a NULL dereference vulnerability within the PCI endpoint handling in the Linux kernel.

5

Is CVE-2024-56689 related to any specific Linux distributions?

CVE-2024-56689 is relevant to various Linux distributions that implement affected versions of the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203