Skip to content
Heist/ feed
Back to feed
UnratedFix available

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

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: platform/mellanox: mlxbf-pmc: Check ACPI_COMPANION() against NULL Every platform driver can be forced to match a device that doesn't match its list of device IDs because of device_match_driver_override(), so platform drivers that rely on the existence of a device's ACPI companion object need to verify its presence. mlxbf_pmc_probe() passes the result of ACPI_COMPANION() to acpi_device_hid(), 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 ACPI_COMPANION() check against NULL to the mlxbf-pmc driver and return -ENODEV when the companion is missing.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.221, 6.1.188, 6.12.110, 6.18.52, 6.6.157, 7.2.6
CVEs
CVE-2026-93115
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 01:51 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 17 Sept 2026, 16:11 UTC

In the Linux kernel, the following vulnerability has been resolved: platform/mellanox: mlxbf-pmc: Check ACPI_COMPANION() against NULL Every platform driver can be forced to match a device that doesn't match its list of device IDs because of device_match_driver_override(), so platform drivers that rely on the existence of a device's ACPI companion object need to verify its presence. mlxbf_pmc_probe() passes the result of ACPI_COMPANION() to acpi_device_hid(), 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 ACPI_COMPANION() check against NULL to the mlxbf-pmc driver and return -ENODEV when the companion is missing.

osv:CVE-2026-93115

Kernel

Fixed versions: 5.15.221, 6.1.188, 6.6.157, 6.12.110, 6.18.52, 7.2.6

Complete source record
{
  "id": "e28bf78885288394c40ce6ed4fd5e5d26f64f84858e2563b60afc9d414c14693",
  "url": "https://osv.dev/vulnerability/CVE-2026-93115",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "platform/mellanox: mlxbf-pmc: Check ACPI_COMPANION() against NULL",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: platform/mellanox: mlxbf-pmc: Check ACPI_COMPANION() against NULL Every platform driver can be forced to match a device that doesn't match its list of device IDs because of device_match_driver_override(), so platform drivers that rely on the existence of a device's ACPI companion object need to verify its presence. mlxbf_pmc_probe() passes the result of ACPI_COMPANION() to acpi_device_hid(), 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 ACPI_COMPANION() check against NULL to the mlxbf-pmc driver and return -ENODEV when the companion is missing.",
    "evidence": "osv:CVE-2026-93115",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.221",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.188",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.157",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.110",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.52",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.6",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-93115",
      "aliases": [
        "CVE-2026-93115"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "1a218d312e65ec396b2739056a8ea78493015f21"
                },
                {
                  "fixed": "950d8e8375f3ff4787de51b7bdf8dd23a3ad6547"
                },
                {
                  "fixed": "fdfb736282b9665c0169df0c4152ec91fdea2767"
                },
                {
                  "fixed": "bf1e0cc5cc1d4e71b699fc98cc9198ead0ed53e0"
                },
                {
                  "fixed": "a75b84119e56fc34b0f1403f3b93d357a55dabb6"
                },
                {
                  "fixed": "71ba8b6e28f7a83b724036f5de07e03bb5473286"
                },
                {
                  "fixed": "d25dd08268aeaceb485189aaa84aa6d68a460291"
                },
                {
                  "fixed": "c38cce70adef874c2a7b5132c14d6c221401deff"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93115.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.221"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.188"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.157"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.110"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.52"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.2.6"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93115.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:48.702242927Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/71ba8b6e28f7a83b724036f5de07e03bb5473286",
        "https://git.kernel.org/stable/c/950d8e8375f3ff4787de51b7bdf8dd23a3ad6547",
        "https://git.kernel.org/stable/c/a75b84119e56fc34b0f1403f3b93d357a55dabb6",
        "https://git.kernel.org/stable/c/bf1e0cc5cc1d4e71b699fc98cc9198ead0ed53e0",
        "https://git.kernel.org/stable/c/c38cce70adef874c2a7b5132c14d6c221401deff",
        "https://git.kernel.org/stable/c/d25dd08268aeaceb485189aaa84aa6d68a460291",
        "https://git.kernel.org/stable/c/fdfb736282b9665c0169df0c4152ec91fdea2767",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93115.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-93115",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93115.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-93115",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 517123,
  "published_at": "2026-09-17T16:11:23.145+00:00"
}