Skip to main content
CVE-2026-64363VulnerabilityPublished 07/25/2026Updated 09/04/2026

In the Linux kernel, the following vulnerability has been resolved: HID: appleir: fix UAF on pending key_up_timer in remove() appleir_remove() runs… (CVE-2026-64363)

Source GCVE Database

0
CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
Exploitation

Not in CISA KEV, no exploitation reported

EPSS
0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What to do

AI-suggested

A fix is available and has been applied to the Linux kernel appleir HID driver. Users should update to a kernel version that includes this patch. No additional mitigation is required once the patch is applied.

Description

A use-after-free (UAF) vulnerability in the Linux kernel's appleir HID driver was fixed. The issue occurs because the timer callback can access freed input device memory after device removal, leading to potential memory corruption. The fix introduces a removal flag and synchronizes timer shutdown to prevent use-after-free conditions.

Impact

This vulnerability allows local attackers with limited privileges (local vector, low complexity, low privileges required) to cause use-after-free conditions, potentially leading to memory corruption with high impact on confidentiality, integrity, and availability of the system. Exploitation could result in system crashes or privilege escalation.

Summary

The Linux kernel appleir HID driver had a use-after-free vulnerability (CVE-2026-64363) caused by the key_up_timer firing after the input device was freed during device removal. The removal sequence called hid_hw_stop() before timer_delete_sync(), allowing a timer callback to dereference freed memory. The fix adds a 'removing' flag protected by a spinlock to prevent timer re-arming and callbacks after removal begins, and synchronizes timer shutdown to drain in-flight callbacks. This prevents use-after-free on appleir->input_dev and closes a related race condition on appleir->current_key.

Weaknesses

References

Community reviews

Loading reviews…