CVE-2026-93115: platform/mellanox: mlxbf-pmc: Check ACPI_COMPANION() against NULL

Published Sep 17, 2026
·
Updated

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

platform/mellanox: mlxbf-pmc: Check ACPICOMPANION() against NULL

Every platform driver can be forced to match a device that doesn't match its list of device IDs because of devicematchdriveroverride(), so platform drivers that rely on the existence of a device's ACPI companion object need to verify its presence.

mlxbfpmcprobe() passes the result of ACPICOMPANION() to acpidevicehid(), which dereferences it, so force-binding the driver to a device without an ACPI companion leads to a NULL pointer dereference.

Accordingly, add a requisite ACPICOMPANION() check against NULL to the mlxbf-pmc driver and return -ENODEV when the companion is missing.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    In platform/mellanox/mlxbf-pmc, add a requisite ACPI_COMPANION() check against NULL before calling code paths that dereference the companion (e.g., those reaching acpi_device_hid()); if the companion is NULL, force the probe to return -ENODEV.

    Linux kernel platform driver (platform/mellanox: mlxbf-pmc) ACPI_COMPANION() null check = Add check of ACPI_COMPANION() against NULL and return -ENODEV when the companion is missing (in mlxbf_pmc_probe, after ACPI_COMPANION())

Event History

Sep 17, 2026
CVE Published
via MITRE·04:11 PM
Data Sourced
via MITRE·04:11 PM
Description

Frequently Asked Questions

1

Under what condition can the NULL pointer dereference occur?

The mlxbf-pmc driver must be force-bound to a platform device that has no ACPI companion object. In that case, the driver passes a NULL ACPI companion to acpi_device_hid().

2

How does the resolved driver handle a device without an ACPI companion?

It checks whether ACPI_COMPANION() returned NULL before using it. If no companion exists, probing stops and returns -ENODEV rather than dereferencing NULL.

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