bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-64013

5.5medium

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

Reach linux · 6 builds in 3 of 4 releases

full reviewcross-check✓ a member decided

v25.03.1not in NVD's range
v26.01.06.18.8
v26.09.06.18.54
v26.10.0latest6.18.60
aarch64_minimal
x86_64
aarch64_minimal–
x86_64–
aarch64_minimalOpenx86_64Openaarch64_minimalOpenx86_64Openaarch64_minimalANot affected · autox86_64ANot affected

Description · NVD

ACPI: button: Fix ACPI GPE handler leak during removal

Commit a7e23ec17fee ("ACPI: button: Install notifier for system events as well") changed the ACPI notify handler type for ACPI buttons to ACPI_ALL_NOTIFY, but it forgot to update acpi_button_remove() to reflect that change. This leads to leaking the notify handler past driver removal, which may cause a kernel crash to occur if ACPI notify on the given device is triggered after removing the driver, and causes a subsequent probe of the given device with the same driver to fail.

Address this by updating the acpi_remove_notify_handler() call in acpi_button_remove() as appropriate.

Published 2026-07-19NVD

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
None
Integrity
None
Availability
High
Scope
Unchanged

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

References 3
Review Av26.10.0x86_64Not affected✓ accepted by a member, 2026-11-11 · settles 2 of 6

Fable 5.1 · high confidence · 2026-11-05

The fix for CVE-2026-64013 is already present in the linux 6.18.60 sources in this tree: acpi_button_remove() in drivers/acpi/button.c calls acpi_remove_notify_handler() with ACPI_ALL_NOTIFY, matching the handler type installed in acpi_button_add() (the exact change made by the upstream fix commit).

The code is compiled in (CONFIG_ACPI_BUTTON=y, button.o produced), but because the vulnerable mismatch is not in this build, the finding is not applicable.

NVD's version range appears not to account for this stable backport.

Evidence 6
  1. acpi_button_remove() calls acpi_remove_notify_handler(adev->handle, ACPI_ALL_NOTIFY, ...) — this is the fixed code; the vulnerable version passed ACPI_DEVICE_NOTIFY.

    output/build/linux-6.18.60/drivers/acpi/button.c:686

  2. acpi_button_add() installs the handler with ACPI_ALL_NOTIFY; install and remove types now match, so no handler leak on removal.

    output/build/linux-6.18.60/drivers/acpi/button.c:640-641

  3. CONFIG_ACPI_BUTTON=y — the driver is built into the kernel (relevant only for completeness; the code is fixed).

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

  4. button.c was compiled into the image.

    output/objects.txt (drivers/acpi/button.o)

  5. No Buildroot/Infix patch touches drivers/acpi or button; the fix comes from the upstream 6.18.60 stable sources themselves.

    output/build/linux-6.18.60/.applied_patches_list

  6. Kernel is 6.18.60, confirming the SBOM version.

    output/build/linux-6.18.60/Makefile (VERSION/PATCHLEVEL/SUBLEVEL)

Version and patches

Upstream fix: "ACPI: button: Fix ACPI GPE handler leak during removal" (stable refs 614cb8c2, c85f325d, fe802511). The fix changes the acpi_remove_notify_handler() argument in acpi_button_remove() from ACPI_DEVICE_NOTIFY to ACPI_ALL_NOTIFY. The 6.18.60 source in this tree already contains that change (button.c:686), i.e. the stable backport is included in this release. No local patches touch drivers/acpi/button.c.

Recommendation

No action; document as N/A (fix already present in linux 6.18.60 as shipped). Optionally add the CVE to the package's IGNORE_CVES metadata to suppress future matches.

Open questions

None. Even had the fix been missing, the bug requires unbinding/removing the ACPI button driver (built-in, =y, so not unloadable as a module) via sysfs from a root shell, which is outside the product's management interfaces.

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