CVE-2025-68822 json
Input: alps - fix use-after-free bugs caused by dev3_register_work
published 2026-01-13 9 mo ago modified 2026-10-30 9 d ago also EUVD-2026-2280
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 7%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 6.1.191, 6.6.160, 6.12.64, 6.18.3, 6.19
- linux Debian 13 6.12.69-1
- linux Debian 14 6.18.3-1
debian advisories DEBIAN-CVE-2025-68822
- linux Ubuntu 25.10 6.17.0-22.22
- linux-aws Ubuntu 25.10 6.17.0-1012.12
- linux-gcp Ubuntu 25.10 6.17.0-1012.12
- linux-azure Ubuntu 25.10 6.17.0-1013.13
- linux-raspi Ubuntu 25.10 6.17.0-1013.13
- linux-riscv Ubuntu 25.10 6.17.0-22.22.1
- linux-oracle Ubuntu 25.10 6.17.0-1011.11
- linux-aws-6.17 Ubuntu 24.04 LTS 6.17.0-1012.12~24.04.1
ubuntu advisories UBUNTU-CVE-2025-68822
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt Real Time Module 15 SP7 6.4.0-150700.7.62.1
- kernel-syms-rt Real Time Module 15 SP7 6.4.0-150700.7.62.1
- kernel-source-rt Real Time Module 15 SP7 6.4.0-150700.7.62.1
- kernel-64kb SLE Module for Basesystem 15 SP7 6.4.0-150700.53.63.1
- kernel-syms SLE Module for Development Tools 15 SP7 6.4.0-150700.53.63.1
- kernel-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.53.63.1
- kernel-source SLE Module for Development Tools 15 SP7, SLE Module for Basesystem 15 SP7 6.4.0-150700.53.63.1
- kernel-default SLE Workstation Extension 15 SP7, SLE Module for Legacy 15 SP7, SLE Module for Basesystem 15 SP7 +2 more 6.4.0-150700.53.63.1
suse advisories SUSE-SU-2026:2799-1SUSE-SU-2026:2722-1SUSE-SU-2026:22436-1SUSE-SU-2026:22433-1SUSE-SU-2026:22460-1SUSE-SU-2026:22458-1
- kernel-rt openSUSE Leap 16.0 6.12.0-160000.26.1
- dtb-aarch64 openSUSE Leap 16.0 6.12.0-160000.26.1
- kernel-64kb openSUSE Leap 16.0 6.12.0-160000.26.1
- kernel-syms openSUSE Leap 16.0 6.12.0-160000.26.1
- kernel-azure openSUSE Leap 16.0 6.12.0-160000.26.1
- kernel-obs-qa openSUSE Leap 16.0 6.12.0-160000.26.1
- kernel-source openSUSE Leap 16.0 6.12.0-160000.26.1
- kernel-default openSUSE Leap 16.0 6.12.0-160000.26.1
opensuse advisories openSUSE-SU-2026:20287-1
- git.kernel.org/stable/c/55beb00222af2eee967322670a0c8f3c6426becb commit
- git.kernel.org/stable/c/b9d8cfd6d77f5072a4df10646810d128220457fb commit
- git.kernel.org/stable/c/ed8c61b89be0c45f029228b2913d5cf7b5cda1a7 commit
- git.kernel.org/stable/c/a9c115e017b2c633d25bdfe6709dda6fc36f08c2 commit
- git.kernel.org/stable/c/bf40644ef8c8a288742fa45580897ed0e0289474 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-68822 updated cvss 5.5
kernel: Input: alps - fix use-after-free bugs caused by dev3_register_work
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelaffected: no fix available “Fix deferred”
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 23 d ago
Exploit prediction
0.18% chance of exploitation in the next 30 days, higher than 7% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
- git.kernel.org /stable/c/55beb00222af2eee967322670a0c8f3c6426becb
- git.kernel.org /stable/c/b9d8cfd6d77f5072a4df10646810d128220457fb
- git.kernel.org /stable/c/ed8c61b89be0c45f029228b2913d5cf7b5cda1a7
- git.kernel.org /stable/c/a9c115e017b2c633d25bdfe6709dda6fc36f08c2
- git.kernel.org /stable/c/bf40644ef8c8a288742fa45580897ed0e0289474
Sources
- CVE List CVE-2025-68822
- NVD CVE-2025-68822
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.