⚠️

سلب مسئولیت و اخلاق حرفه‌ای

این مطالب صرفاً برای اهداف آموزشی، پژوهشی و افزایش آگاهی امنیتی ارائه شده‌اند. هرگونه استفاده غیرمجاز، غیرقانونی یا سوءاستفاده از اطلاعات، ابزارها و روش‌های مطرح‌شده، کاملاً بر عهده مخاطب است. نویسنده و منتشرکننده هیچ مسئولیتی در قبال خسارات، آسیب‌ها یا پیامدهای ناشی از استفاده نادرست از این مطالب نخواهند داشت.

CVE-2026-139689: Linux Kernel Topstar Driver NULL Pointer Dereference Resolved Upstream | Alireza Bolbolabadi - Red Team Security
LOADING

CVE-2026-139689: Linux Kernel Topstar Driver NULL Pointer Dereference Resolved Upstream

Background

CVE-2026-139689 documents a Linux kernel defect in the x86 platform driver path. The vulnerability was recorded by the NVD on 2026-11-30 and references an upstream commit subject line of platform/x86: Add ACPI_COMPANION() NULL check in topstar_acpi_probe. Rather than introducing a new attack surface, the issue reflects a missing defensive NULL check in an obscure platform driver that ships in the mainline Linux kernel.

Technical description

The Topstar platform driver (platform/x86) exposes a probe routine, topstar_acpi_probe(), which resolves a platform device's ACPI companion via the ACPI_COMPANION() helper. When the helper returns NULL — because the matched device has no ACPI companion entry — the original code proceeded to dereference that NULL result, triggering a kernel oops during device probing.

The defect is reached when a platform device matches the Topstar driver through the driver_override mechanism, the userspace-influenced sysfs attribute that pins a device to a specific driver name. The triggering condition is therefore an environmental mismatch between driver binding and firmware/ACPI state, not a memory-corruption primitive an attacker can craft remotely.

Impact

A NULL pointer dereference in topstar_acpi_probe() aborts the device binding for the affected device and, at minimum, surfaces as a kernel oops. In the worst case, an unrecoverable oops in probe context takes down the running host, producing a denial-of-service outcome for the affected machine. There is no indication in the available intelligence of privilege escalation, code execution, or information disclosure.

Affected systems

  • Product: Linux kernel

  • Component: platform/x86 Topstar device driver — topstar_acpi_probe()

  • Trigger requires: a Topstar-compatible platform device present in firmware/ACPI tables, the device bound to the Topstar driver (automatically or via driver_override), and absence of an ACPI companion entry for that device

  • Affected versions: not explicitly enumerated in the context; kernels lacking the NULL check in topstar_acpi_probe() are affected in principle, but patched release tags and stable-branch backports are not specified in the supplied material

  • Fix availability: an upstream resolution exists, identified by the subject line platform/x86: Add ACPI_COMPANION() NULL check in topstar_acpi_probe; the exact commit hash and the specific kernel releases carrying the patch are not stated in the available context

  • Exposure scope: limited to Topstar-equipped x86 hardware/platforms; not a generally internet-exposed service

Mitigation

Patch

The upstream resolution adds the missing NULL check to topstar_acpi_probe(). Distributors and end users seeking to confirm remediation should look for the upstream commit under that title in the platform/x86 history and check whether their running kernel — or distribution kernel update channel — contains it. Because the affected code is small and self-contained, the change is straightforward to backport where upstream stable coverage has not yet landed. A reboot is required to load the patched kernel image, as the defect cannot be repaired in a running kernel that already exposed the buggy probe path.

Workarounds where patching is delayed

  • Avoid binding devices to the Topstar driver through driver_override unless the device has a confirmed ACPI companion entry, and remove any stale or mistargeted driver_override values from affected sysfs paths.

  • Where the Topstar driver is not needed, suppress its matching (for example, by blacklisting the module or unbinding the device) so the faulty probe path is not entered at all.

  • At the firmware level, supply proper ACPI companion entries for the affected Topstar devices, which removes the precondition that triggers the defect on unpatched hosts — though firmware control is generally not in the operator's hands.

Detection and monitoring

The observable signature is a kernel oops or panic whose stack references topstar_acpi_probe or the Topstar driver and which is followed by a failed device binding. Correlating crash stacks with sysfs activity on driver_override for the relevant platform devices can confirm exposure. No indicators of compromise or attacker tooling are associated with this record in the available context — detection here is crash-based rather than IOC-based.

Caveats and gaps in the available intelligence

  • The CVE record does not enumerate affected or fixed kernel version ranges; upstream commit hash and stable-branch backports are likewise absent from the supplied material.

  • No CVSS vector or score is published for CVE-2026-139689, so the severity classification used here is drawn from the supplied risk assessment (technical 25/100, low) rather than from the CVE record itself.

  • No exploitation evidence, no public exploit code, and no CISA KEV listing accompany this vulnerability.

  • The specific Topstar devices or firmware states that produce the "no ACPI companion" condition are not described in the available intelligence.

منابع

·
← اخبار