{"id":"CVE-2026-93115","state":"PUBLISHED","title":"platform/mellanox: mlxbf-pmc: Check ACPI_COMPANION() against NULL","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/mellanox: mlxbf-pmc: Check ACPI_COMPANION() against NULL\n\nEvery platform driver can be forced to match a device that doesn't match\nits list of device IDs because of device_match_driver_override(), so\nplatform drivers that rely on the existence of a device's ACPI companion\nobject need to verify its presence.\n\nmlxbf_pmc_probe() passes the result of ACPI_COMPANION() to\nacpi_device_hid(), which dereferences it, so force-binding the driver to\na device without an ACPI companion leads to a NULL pointer dereference.\n\nAccordingly, add a requisite ACPI_COMPANION() check against NULL to the\nmlxbf-pmc driver and return -ENODEV when the companion is missing.","publishedAt":"2026-09-17T16:11:23.145Z","updatedAt":"2026-10-19T09:05:49.022Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1a218d312e65ec396b2739056a8ea78493015f21","status":"affected","lessThan":"950d8e8375f3ff4787de51b7bdf8dd23a3ad6547","versionType":"git"},{"version":"1a218d312e65ec396b2739056a8ea78493015f21","status":"affected","lessThan":"fdfb736282b9665c0169df0c4152ec91fdea2767","versionType":"git"},{"version":"1a218d312e65ec396b2739056a8ea78493015f21","status":"affected","lessThan":"bf1e0cc5cc1d4e71b699fc98cc9198ead0ed53e0","versionType":"git"},{"version":"1a218d312e65ec396b2739056a8ea78493015f21","status":"affected","lessThan":"a75b84119e56fc34b0f1403f3b93d357a55dabb6","versionType":"git"},{"version":"1a218d312e65ec396b2739056a8ea78493015f21","status":"affected","lessThan":"71ba8b6e28f7a83b724036f5de07e03bb5473286","versionType":"git"},{"version":"1a218d312e65ec396b2739056a8ea78493015f21","status":"affected","lessThan":"d25dd08268aeaceb485189aaa84aa6d68a460291","versionType":"git"},{"version":"1a218d312e65ec396b2739056a8ea78493015f21","status":"affected","lessThan":"c38cce70adef874c2a7b5132c14d6c221401deff","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/platform/mellanox/mlxbf-pmc.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.11","versionType":"semver"},{"version":"5.15.221","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.188","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.157","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.110","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.52","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.6","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/platform/mellanox/mlxbf-pmc.c"]}],"references":["https://git.kernel.org/stable/c/950d8e8375f3ff4787de51b7bdf8dd23a3ad6547","https://git.kernel.org/stable/c/fdfb736282b9665c0169df0c4152ec91fdea2767","https://git.kernel.org/stable/c/bf1e0cc5cc1d4e71b699fc98cc9198ead0ed53e0","https://git.kernel.org/stable/c/a75b84119e56fc34b0f1403f3b93d357a55dabb6","https://git.kernel.org/stable/c/71ba8b6e28f7a83b724036f5de07e03bb5473286","https://git.kernel.org/stable/c/d25dd08268aeaceb485189aaa84aa6d68a460291","https://git.kernel.org/stable/c/c38cce70adef874c2a7b5132c14d6c221401deff"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:34.582Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/93xxx/CVE-2026-93115.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-93115","state":"PUBLISHED","datePublished":"2026-09-17T16:11:23.145Z","dateUpdated":"2026-10-19T09:05:49.022Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-17T16:02:15.086Z"},"containers":{"cna":{"title":"platform/mellanox: mlxbf-pmc: Check ACPI_COMPANION() against NULL","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/mellanox: mlxbf-pmc: Check ACPI_COMPANION() against NULL\n\nEvery platform driver can be forced to match a device that doesn't match\nits list of device IDs because of device_match_driver_override(), so\nplatform drivers that rely on the existence of a device's ACPI companion\nobject need to verify its presence.\n\nmlxbf_pmc_probe() passes the result of ACPI_COMPANION() to\nacpi_device_hid(), which dereferences it, so force-binding the driver to\na device without an ACPI companion leads to a NULL pointer dereference.\n\nAccordingly, add a requisite ACPI_COMPANION() check against NULL to the\nmlxbf-pmc driver and return -ENODEV when the companion is missing."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1a218d312e65ec396b2739056a8ea78493015f21","status":"affected","lessThan":"950d8e8375f3ff4787de51b7bdf8dd23a3ad6547","versionType":"git"},{"version":"1a218d312e65ec396b2739056a8ea78493015f21","status":"affected","lessThan":"fdfb736282b9665c0169df0c4152ec91fdea2767","versionType":"git"},{"version":"1a218d312e65ec396b2739056a8ea78493015f21","status":"affected","lessThan":"bf1e0cc5cc1d4e71b699fc98cc9198ead0ed53e0","versionType":"git"},{"version":"1a218d312e65ec396b2739056a8ea78493015f21","status":"affected","lessThan":"a75b84119e56fc34b0f1403f3b93d357a55dabb6","versionType":"git"},{"version":"1a218d312e65ec396b2739056a8ea78493015f21","status":"affected","lessThan":"71ba8b6e28f7a83b724036f5de07e03bb5473286","versionType":"git"},{"version":"1a218d312e65ec396b2739056a8ea78493015f21","status":"affected","lessThan":"d25dd08268aeaceb485189aaa84aa6d68a460291","versionType":"git"},{"version":"1a218d312e65ec396b2739056a8ea78493015f21","status":"affected","lessThan":"c38cce70adef874c2a7b5132c14d6c221401deff","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/platform/mellanox/mlxbf-pmc.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.11","versionType":"semver"},{"version":"5.15.221","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.188","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.157","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.110","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.52","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.6","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/platform/mellanox/mlxbf-pmc.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/950d8e8375f3ff4787de51b7bdf8dd23a3ad6547"},{"url":"https://git.kernel.org/stable/c/fdfb736282b9665c0169df0c4152ec91fdea2767"},{"url":"https://git.kernel.org/stable/c/bf1e0cc5cc1d4e71b699fc98cc9198ead0ed53e0"},{"url":"https://git.kernel.org/stable/c/a75b84119e56fc34b0f1403f3b93d357a55dabb6"},{"url":"https://git.kernel.org/stable/c/71ba8b6e28f7a83b724036f5de07e03bb5473286"},{"url":"https://git.kernel.org/stable/c/d25dd08268aeaceb485189aaa84aa6d68a460291"},{"url":"https://git.kernel.org/stable/c/c38cce70adef874c2a7b5132c14d6c221401deff"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:05:49.022Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"5.15.221"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"6.1.188"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"6.6.157"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"6.12.110"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"6.18.52"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"7.2.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}