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)
A use-after-free (UAF) vulnerability in the Linux kernel's appleir HID driver was resolved. The issue occurs because the appleir_remove() function stops the HID device before properly synchronizing timer shutdown, allowing a timer callback to access freed memory. This can happen if a key event triggers the timer shortly before device removal. The fix introduces a removal flag and proper locking to prevent timer callbacks and input device dereferences after teardown begins.
AI Analysis
Technical Summary
The Linux kernel appleir HID driver contained a use-after-free vulnerability (CVE-2026-64363) due to improper ordering in device removal. Specifically, appleir_remove() called hid_hw_stop() before timer_delete_sync(), allowing a timer callback (key_up_tick) to access the freed input_dev pointer after hid_hw_stop() freed it. The timer is re-armed on key events, creating a race condition where the timer fires after device removal. The fix adds a 'removing' flag protected by a spinlock to prevent timer re-arming and input device access during removal, ensuring the timer is fully drained and disabled before device teardown completes. This also closes a pre-existing race on appleir->current_key.
Potential Impact
This vulnerability could lead to use-after-free conditions in the kernel, potentially causing kernel crashes or undefined behavior. The description does not specify exploitation in the wild or direct privilege escalation, but use-after-free bugs in kernel input drivers can be security-critical if exploited. No known exploits are reported.
Mitigation Recommendations
A fix has been implemented in the Linux kernel appleir driver that properly synchronizes timer shutdown and prevents use-after-free by introducing a removal flag and locking. Users should update to a Linux kernel version that includes this patch. Since this is a kernel vulnerability, applying the official kernel update or patch is the recommended mitigation. Patch status is not explicitly stated here; check the vendor or kernel mailing list advisories for the exact fixed kernel version.
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)
Description
A use-after-free (UAF) vulnerability in the Linux kernel's appleir HID driver was resolved. The issue occurs because the appleir_remove() function stops the HID device before properly synchronizing timer shutdown, allowing a timer callback to access freed memory. This can happen if a key event triggers the timer shortly before device removal. The fix introduces a removal flag and proper locking to prevent timer callbacks and input device dereferences after teardown begins.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel appleir HID driver contained a use-after-free vulnerability (CVE-2026-64363) due to improper ordering in device removal. Specifically, appleir_remove() called hid_hw_stop() before timer_delete_sync(), allowing a timer callback (key_up_tick) to access the freed input_dev pointer after hid_hw_stop() freed it. The timer is re-armed on key events, creating a race condition where the timer fires after device removal. The fix adds a 'removing' flag protected by a spinlock to prevent timer re-arming and input device access during removal, ensuring the timer is fully drained and disabled before device teardown completes. This also closes a pre-existing race on appleir->current_key.
Potential Impact
This vulnerability could lead to use-after-free conditions in the kernel, potentially causing kernel crashes or undefined behavior. The description does not specify exploitation in the wild or direct privilege escalation, but use-after-free bugs in kernel input drivers can be security-critical if exploited. No known exploits are reported.
Mitigation Recommendations
A fix has been implemented in the Linux kernel appleir driver that properly synchronizes timer shutdown and prevents use-after-free by introducing a removal flag and locking. Users should update to a Linux kernel version that includes this patch. Since this is a kernel vulnerability, applying the official kernel update or patch is the recommended mitigation. Patch status is not explicitly stated here; check the vendor or kernel mailing list advisories for the exact fixed kernel version.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-ffm7-cr74-h9f8
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64363"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a65420b9c2644c7f8084766
Added to database: 07/25/2026, 23:08:59 UTC
Last enriched: 07/25/2026, 23:29:01 UTC
Last updated: 07/26/2026, 03:45:01 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.