bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-100072

7.8high

linux6.18.60 · 6.18.54 · 6.18.8 · 6.12.21in 4 of 4 releases

Reach linux · 8 builds in 4 of 4 releases

full reviewcross-check✓ a member decided

Description · NVD

ACPI: platform: Use acpi_bus_get_primary_device()

The acpi_get_first_physical_node() usage in acpi_platform_fill_resource() and acpi_create_platform_device() is generally unsafe because in theory the device returned by it may be freed at any time [1].

It is also inefficient because acpi_get_first_physical_node() is called multiple times for the same argument which can be avoided.

Address these issues by using acpi_bus_get_primary_device() instead of acpi_get_first_physical_node() and adjusting the code to call it just once at the beginning of and acpi_create_platform_device() and drop the device reference acquired by it upon the return from that function.

Published 2026-09-25NVD

CVSS 3.1Local · low privileges · no user interaction

How it is reached

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None

What it costs

Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References 4
Review Av26.10.0aarch64_minimalNot exposed✓ accepted by a member, 2026-11-18 · settles 4 of 8

Fable 5.1 · high confidence · 2026-11-06

The fix is absent: drivers/acpi/acpi_platform.c in this tree still calls acpi_get_first_physical_node() in acpi_platform_fill_resource() and acpi_create_platform_device(), no applied patch touches ACPI, and CONFIG_ACPI=y so acpi_platform.o is compiled in.

However, the affected code only runs during ACPI bus enumeration (drivers/acpi/scan.c acpi_default_enumeration), and on arm64 ACPI is disabled by default (acpi_disabled = 1) whenever a device tree is supplied. Every Infix aarch64 board, including the QEMU target, boots via U-Boot with a DTB (board/aarch64/boot.script, board/common/qemu/itb/run.sh -dtb), so the ACPI scan never executes on a shipped device; reaching it would require booting the kernel under UEFI firmware with ACPI tables or passing acpi=force/acpi=on on the kernel command line, neither of which is exposed by the product.

Not reachable from the network.

Evidence 10
  1. acpi_platform_fill_resource() still uses acpi_get_first_physical_node(acpi_dev_parent(adev)) - fix not present

    output/build/linux-6.18.60/drivers/acpi/acpi_platform.c:122

  2. acpi_create_platform_device() still uses acpi_get_first_physical_node(parent) - fix not present; acpi_bus_get_primary_device() does not appear in the file

    output/build/linux-6.18.60/drivers/acpi/acpi_platform.c:209

  3. No applied patch mentions ACPI

    output/build/linux-6.18.60/.applied_patches_list

  4. CONFIG_ACPI=y; drivers/acpi/Makefile:53 builds acpi_platform.o unconditionally under ACPI

    output/build/linux-6.18.60/.config:641

  5. drivers/acpi/acpi_platform.o was produced by the build

    output/objects.txt:20857

  6. acpi_create_platform_device() is called from acpi_default_enumeration() during ACPI bus scan (boot-time / ACPI hotplug-rescan only)

    output/build/linux-6.18.60/drivers/acpi/scan.c:2209

  7. int acpi_disabled = 1; ACPI stays disabled unless acpi=on/force is given or the DT is a stub - with a real DTB ACPI is never initialised

    output/build/linux-6.18.60/arch/arm64/kernel/acpi.c:40,207

  8. All aarch64 boards boot via U-Boot: booti ${kernel_addr_r} ${ramdisk} ${fdt_addr} - device tree boot, no UEFI/ACPI tables

    board/aarch64/boot.script

  9. QEMU target also boots with -dtb (DT), not ACPI

    board/common/qemu/itb/run.sh:450-453

  10. CONFIG_CMDLINE="" - no acpi=force/on baked into the kernel

    output/build/linux-6.18.60/.config:558

Version and patches

Kernel CNA record lists drivers/acpi/acpi_platform.c; fix commits 527a497f.., a75e5de5.., a9ba4dd2.., c9d202d3.. (stable branches). The 6.18.60 source in this tree does not contain the fix (still calls acpi_get_first_physical_node), and none of the 139 Buildroot/Infix patches touch drivers/acpi. CPE match for linux_kernel 6.18.60 is correct.

Recommendation

Document as N/A for shipped devices (ACPI never initialised on DT-booted arm64 boards). Pick up the fix with the next routine stable kernel bump; no urgent backport needed. Re-evaluate if any future Infix target boots via UEFI/ACPI (e.g. x86_64 or an ACPI-only arm64 server board).

Open questions

Only the aarch64_minimal build was reviewed; x86_64 or UEFI-booting Infix variants (if any) would boot with ACPI and the code would then run at boot (EXPOSED_BY_DEFAULT for those). The exact upstream patch hunks were not fetched (no network), the fix presence was judged by the function calls described in the CVE text.

Review Bv26.10.0x86_64Exposed by defaultAccepted by a member, 2026-11-18. The fix is not in this tree: output/build/linux-6.18.60/drivers/acpi/acpi_platform.c still calls acpi_get_first_physical_node() in both acpi_platform_fill_resource() (line 122) and acpi_create_platform_device() (line 209), and none of the 139 applied patches touch ACPI.Open the review →

Members of Kernel Kit decide. Sign in if you are one.