CVE-2025-68822
High · 7.8CVSS
7.8
EPSS
0.2%
Published
Jan 13, 2026
CISA due date
—
Cloudanix analysis
A timing flaw in Linux touchpad handling can let the system use memory after it has already been freed, risking crashes or security bypass on affected hardware.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Moderate
- Impact
- Full Compromise
- Component
- OS kernel
- Class
- Use After Free
- Remediation
- Patch
- Effort
- Medium
- Patch risk
- Low
What it actually does
Race condition in ALPS touchpad driver allows dev3_register_work delayed work to execute after psmouse_disconnect frees the alps_data structure, resulting in use-after-free.
Why it matters to the business
Linux systems using ALPS touchpads face risk of kernel crashes or memory corruption that can lead to denial of service or potential privilege escalation; urgency is low given absence from known exploitation lists and modest EPSS growth.
How an attack unfolds
An attacker with local access triggers repeated attach/detach of an external PS/2 device connected to an ALPS touchpad, racing the cleanup path that frees private data against the delayed work item that dereferences it after free.
How to fix it
Apply the upstream fix in commit ed8c61b89be0c45f029228b2913d5cf7b5cda1a7 or later; rebuild and deploy updated kernel packages to all affected systems.
How to confirm the fix worked
Verify the running kernel contains commit ed8c61b89be0c45f029228b2913d5cf7b5cda1a7 or equivalent backport; confirm absence of the original flush_workqueue pattern in alps_disconnect and presence of disable_delayed_work_sync.
Typical attack path
- Attach external PS/2 device to ALPS touchpad
- Trigger alps_reconnect and queue dev3_register_work via bare PS/2 packet
- Initiate psmouse_disconnect while work is still pending
- Execute flush_workqueue which misses newly queued work
- Free alps_data structure
- Delayed work runs and performs container_of plus field accesses on freed memory
How to detect it
Review kernel crash logs for use-after-free signatures involving alps_data or psmouse structures; inspect audit logs for repeated PS/2 device attach/detach events around the time of any kernel oops or panic.
What your security team should do
- Prioritize kernel update on any system exposing ALPS hardware within the next maintenance window
- Monitor EPSS trend and CISA KEV additions for escalation to immediate patching
- Harden local access controls until patches are deployed
The record
In the Linux kernel, the following vulnerability has been resolved: Input: alps - fix use-after-free bugs caused by dev3_register_work The dev3_register_work delayed work item is initialized within alps_reconnect() and scheduled upon receipt of the first bare PS/2 packet from an external PS/2 device connected to the ALPS touchpad. During device detachment, the original implementation calls flush_workqueue() in psmouse_disconnect() to ensure completion of dev3_register_work. However, the flush_workqueue() in psmouse_disconnect() only blocks and waits for work items that were already queued to the workqueue prior to its invocation. Any work items submitted after flush_workqueue() is called are not included in the set of tasks that the flush operation awaits. This means that after flush_workqueue() has finished executing, the dev3_register_work could still be scheduled. Although the psmouse state is set to PSMOUSE_CMD_MODE in psmouse_disconnect(), the scheduling of dev3_register_work remains unaffected. The race condition can occur as follows: CPU 0 (cleanup path) | CPU 1 (delayed work) psmouse_disconnect() | psmouse_set_state() | flush_workqueue() | alps_report_bare_ps2_packet() alps_disconnect() | psmouse_queue_work() kfree(priv); // FREE | alps_register_bare_ps2_mouse() | priv = container_of(work...); // USE | priv->dev3 // USE Add disable_delayed_work_sync() in alps_disconnect() to ensure that dev3_register_work is properly canceled and prevented from executing after the alps_data structure has been deallocated. This bug is identified by static analysis.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Linux | Kernel | 4.0.0 | 6.12.64 |
| openSUSE:Leap 16.0 | dtb-aarch64 | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-64kb | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-azure | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-default | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-default-base | 0 | 6.12.0-160000.26.1.160000.2.7 |
| openSUSE:Leap 16.0 | kernel-docs | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-kvmsmall | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-obs-build | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-obs-qa | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-rt | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-source | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-syms | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-zfcpdump | 0 | 6.12.0-160000.26.1 |
Related vulnerabilities
- CVE-2026-23226 In the Linux kernel, the following vulnerability has been resolved: ksmbd: add chann_lock… Also affects Kernel
- CVE-2026-23225 In the Linux kernel, the following vulnerability has been resolved: sched/mmcid: Don't… Also affects Kernel
- CVE-2026-23230 In the Linux kernel, the following vulnerability has been resolved: smb: client: split… Also affects Kernel
- CVE-2026-23224 In the Linux kernel, the following vulnerability has been resolved: erofs: fix UAF issue… Also affects Kernel
- CVE-2026-23227 In the Linux kernel, the following vulnerability has been resolved: drm/exynos: vidi: use… Also affects Kernel
- CVE-2026-23223 In the Linux kernel, the following vulnerability has been resolved: xfs: fix UAF in… Also affects Kernel
- CVE-2026-23228 In the Linux kernel, the following vulnerability has been resolved: smb: server: fix leak… Also affects Kernel
- CVE-2026-23229 In the Linux kernel, the following vulnerability has been resolved: crypto: virtio - Add… Also affects Kernel