Skip to content
OpenAdvisories
High · 7.8 CVE-2025-68822 EUVD-2026-2280GHSA-5w2m-pcx5-5834

Input: alps - fix use-after-free bugs caused by dev3_register_work

Published Jan 13, 2026 · Updated Oct 30, 2026 · Assigned by Linux

Vendor: Linux Product: Linux Package: kernel Package: linux Package: linux Package: linux-allwinner-5.19 Package: linux-aws Package: linux-aws-5.0 Package: linux-aws-5.11 Package: linux-aws-5.13 Package: linux-aws-5.15 Package: linux-aws-5.19 Package: linux-aws-5.3 Package: linux-aws-5.4 Package: linux-aws-5.8 Package: linux-aws-6.14 Package: linux-aws-6.17 Package: linux-aws-6.2 Package: linux-aws-6.5 Package: linux-aws-6.8 Package: linux-aws-fips Package: linux-aws-hwe Package: linux-azure Package: linux-azure-4.15 Package: linux-azure-5.11 Package: linux-azure-5.13 Package: linux-azure-5.15 Package: linux-azure-5.19 Package: linux-azure-5.3 Package: linux-azure-5.4 Package: linux-azure-5.8 Package: linux-azure-6.11 Package: linux-azure-6.14 Package: linux-azure-6.17 Package: linux-azure-6.2 Package: linux-azure-6.5 Package: linux-azure-6.8 Package: linux-azure-edge Package: linux-azure-fde Package: linux-azure-fde-5.15 Package: linux-azure-fde-5.19 Package: linux-azure-fde-6.14 Package: linux-azure-fde-6.17 Package: linux-azure-fde-6.2 Package: linux-azure-fde-6.8 Package: linux-azure-fips Package: linux-azure-nvidia Package: linux-azure-nvidia-6.14 Package: linux-bluefield Package: linux-fips Package: linux-gcp Package: linux-gcp-4.15 Package: linux-gcp-5.11 Package: linux-gcp-5.13 Package: linux-gcp-5.15 Package: linux-gcp-5.19 Package: linux-gcp-5.3 Package: linux-gcp-5.4 Package: linux-gcp-5.8 Package: linux-gcp-6.11 Package: linux-gcp-6.14 Package: linux-gcp-6.17 Package: linux-gcp-6.2 Package: linux-gcp-6.5 Package: linux-gcp-6.8 Package: linux-gcp-fips Package: linux-gke Package: linux-gke-4.15 Package: linux-gke-5.15 Package: linux-gke-5.4 Package: linux-gkeop Package: linux-gkeop-5.15 Package: linux-gkeop-5.4 Package: linux-hwe Package: linux-hwe-5.11 Package: linux-hwe-5.13 Package: linux-hwe-5.15 Package: linux-hwe-5.19 Package: linux-hwe-5.4 Package: linux-hwe-5.8 Package: linux-hwe-6.11 Package: linux-hwe-6.14 Package: linux-hwe-6.17 Package: linux-hwe-6.2 Package: linux-hwe-6.5 Package: linux-hwe-6.8 Package: linux-hwe-edge Package: linux-ibm Package: linux-ibm-5.15 Package: linux-ibm-5.4 Package: linux-ibm-6.8 Package: linux-intel-5.13 Package: linux-intel-iot-realtime Package: linux-intel-iotg Package: linux-intel-iotg-5.15 Package: linux-iot Package: linux-kvm Package: linux-lowlatency Package: linux-lowlatency-hwe-5.15 Package: linux-lowlatency-hwe-5.19 Package: linux-lowlatency-hwe-6.11 Package: linux-lowlatency-hwe-6.2 Package: linux-lowlatency-hwe-6.5 Package: linux-lowlatency-hwe-6.8 Package: linux-lts-xenial Package: linux-nvidia Package: linux-nvidia-6.11 Package: linux-nvidia-6.17 Package: linux-nvidia-6.2 Package: linux-nvidia-6.5 Package: linux-nvidia-6.8 Package: linux-nvidia-lowlatency Package: linux-nvidia-tegra Package: linux-nvidia-tegra-5.15 Package: linux-nvidia-tegra-igx Package: linux-oem Package: linux-oem-5.10 Package: linux-oem-5.13 Package: linux-oem-5.14 Package: linux-oem-5.17 Package: linux-oem-5.6 Package: linux-oem-6.0 Package: linux-oem-6.1 Package: linux-oem-6.11 Package: linux-oem-6.14 Package: linux-oem-6.17 Package: linux-oem-6.5 Package: linux-oem-6.8 Package: linux-oracle Package: linux-oracle-5.0 Package: linux-oracle-5.11 Package: linux-oracle-5.13 Package: linux-oracle-5.15 Package: linux-oracle-5.3 Package: linux-oracle-5.4 Package: linux-oracle-5.8 Package: linux-oracle-6.14 Package: linux-oracle-6.17 Package: linux-oracle-6.5 Package: linux-oracle-6.8 Package: linux-raspi Package: linux-raspi-5.4 Package: linux-raspi-realtime Package: linux-raspi2 Package: linux-realtime Package: linux-realtime-6.14 Package: linux-realtime-6.17 Package: linux-realtime-6.8 Package: linux-riscv Package: linux-riscv-5.11 Package: linux-riscv-5.15 Package: linux-riscv-5.19 Package: linux-riscv-5.8 Package: linux-riscv-6.14 Package: linux-riscv-6.17 Package: linux-riscv-6.5 Package: linux-riscv-6.8 Package: linux-starfive-5.19 Package: linux-starfive-6.2 Package: linux-starfive-6.5 Package: linux-vmware Package: linux-xilinx Package: linux-xilinx-zynqmp Platform: Linux Ecosystem: Azure Linux Ecosystem: Debian Ecosystem: Ubuntu

Description

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 products

VendorProductAffectedFixed
Linux Linux 4.0 6.1.191

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 6.18.3-1 —
Debian 13 linux 6.12.69-1 DSA-6126-1
Debian 12 linux No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu Nvidia-BlueField 24.04 LTS linux-bluefield No fix yet —
Ubuntu Nvidia-BlueField 22.04 LTS linux-bluefield No fix yet —
Ubuntu 25.10 linux 6.17.0-22.22 USN-8177-1
Ubuntu 25.10 linux-aws +1 6.17.0-1012.12 USN-8183-2, USN-8183-1
Ubuntu 25.10 linux-azure +1 6.17.0-1013.13 USN-8245-1
Ubuntu 25.10 linux-azure-fde No fix yet —
Ubuntu 25.10 linux-oracle 6.17.0-1011.11 USN-8183-2
Ubuntu 25.10 linux-realtime 6.17.0-1010.11 USN-8177-1
Ubuntu 25.10 linux-riscv 6.17.0-22.22.1 —
Ubuntu 24.04 LTS linux +35 No fix yet —
Ubuntu 24.04 LTS linux-aws-6.17 +1 6.17.0-1012.12~24.04.1 USN-8183-2, USN-8183-1
Ubuntu 24.04 LTS linux-azure-6.17 6.17.0-1013.13~24.04.1 USN-8245-1
Ubuntu 24.04 LTS linux-hwe-6.17 6.17.0-22.22~24.04.1 USN-8183-2
Ubuntu 24.04 LTS linux-nvidia-6.17 6.17.0-1018.18 —
Ubuntu 24.04 LTS linux-nvidia-tegra 6.8.0-1035.38 USN-8781-1
Ubuntu 24.04 LTS linux-oem-6.17 6.17.0-1020.20 USN-8245-1
Ubuntu 24.04 LTS linux-oracle-6.17 6.17.0-1011.11~24.04.1 USN-8183-2
Ubuntu 24.04 LTS linux-riscv-6.17 6.17.0-22.22.1~24.04.1 —
Ubuntu 22.04 LTS linux +59 No fix yet —
Show 18 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS linux-gke +28 No fix yet —
Ubuntu 18.04 LTS linux-gcp +14 No fix yet —
Ubuntu 16.04 LTS linux-hwe-edge No fix yet —
Ubuntu Pro Realtime 24.04 LTS linux-realtime +2 No fix yet —
Ubuntu Pro Realtime 24.04 LTS linux-realtime-6.17 6.17.0-1010.11~24.04.1 USN-8177-2
Ubuntu Pro Realtime 22.04 LTS linux-realtime +2 No fix yet —
Ubuntu Pro FIPS 20.04 LTS linux-fips +3 No fix yet —
Ubuntu Pro FIPS 18.04 LTS linux-fips +3 No fix yet —
Ubuntu Pro FIPS 16.04 LTS linux-fips No fix yet —
Ubuntu Pro FIPS-updates 24.04 LTS linux-fips +3 No fix yet —
Ubuntu Pro FIPS-updates 22.04 LTS linux-fips +3 No fix yet —
Ubuntu Pro FIPS-updates 20.04 LTS linux-fips +3 No fix yet —
Ubuntu Pro FIPS-updates 18.04 LTS linux-fips +3 No fix yet —
Ubuntu Pro FIPS-updates 16.04 LTS linux-fips No fix yet —
Ubuntu Pro FIPS-preview 22.04 LTS linux-fips +3 No fix yet —
Ubuntu Pro 20.04 LTS linux +21 No fix yet —
Ubuntu Pro 18.04 LTS linux +12 No fix yet —
Ubuntu Pro 16.04 LTS linux +7 No fix yet —
Ubuntu Pro 14.04 LTS linux-aws +2 No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 kernel-64kb +7 6.4.0-150700.53.63.1 SUSE-SU-2026:2722-1
SLES 15 SP7 kernel-default-base 6.4.0-150700.53.63.1.150700.17.37.1 SUSE-SU-2026:2722-1
SLES 12 SP5 kernel-syms +2 4.12.14-122.317.1 SUSE-SU-2026:2450-1
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 kernel-64kb +8 6.12.0-160000.26.1 SUSE-SU-2026:20599-1
SLES for SAP 16.0 kernel-default-base 6.12.0-160000.26.1.160000.2.7 SUSE-SU-2026:20599-1
SLES 16.0 kernel-64kb +8 6.12.0-160000.26.1 SUSE-SU-2026:20615-1, SUSE-SU-2026:20599-1
SLES 16.0 kernel-default-base 6.12.0-160000.26.1.160000.2.7 SUSE-SU-2026:20599-1
SLE Micro 6.2 kernel-default-base 6.12.0-160000.26.1.160000.2.7 SUSE-SU-2026:20555-1
SLE Micro 6.2 kernel-rt +5 6.12.0-160000.26.1 SUSE-SU-2026:20570-1, SUSE-SU-2026:20555-1
SLE Micro 6.1 kernel-default-base 6.4.0-48.1.21.25 SUSE-SU-2026:22460-1
SLE Micro 6.1 kernel-rt +4 6.4.0-48.1 SUSE-SU-2026:22460-1, SUSE-SU-2026:22458-1
SLE Micro 6.0 kernel-default-base 6.4.0-48.1.21.25 SUSE-SU-2026:22436-1
SLE Micro 6.0 kernel-rt +4 6.4.0-48.1 SUSE-SU-2026:22436-1, SUSE-SU-2026:22433-1
SLE Live Patching 15 SP7 kernel-default 6.4.0-150700.53.63.1 SUSE-SU-2026:2722-1
SLE Live Patching 15 SP7 kernel-livepatch-SLE15-SP7-RT_Update_17 1-150700.1.3.1 SUSE-SU-2026:2799-1
SLE Live Patching 15 SP7 kernel-livepatch-SLE15-SP7_Update_17 1-150700.15.3.1 SUSE-SU-2026:2722-1
SLE Live Patching 12 SP5 kernel-default 4.12.14-122.317.1 SUSE-SU-2026:2450-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_84 1-8.7.1 SUSE-SU-2026:2450-1
SUSE Real Time Module 15 SP7 kernel-rt +2 6.4.0-150700.7.62.1 SUSE-SU-2026:2799-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 kernel-default-base 6.12.0-160000.26.1.160000.2.7 openSUSE-SU-2026:20287-1
openSUSE Leap 16.0 kernel-rt +11 6.12.0-160000.26.1 openSUSE-SU-2026:20287-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 kernel-livepatch-6.12.64-87.122 1:1.0-0.amzn2023 ALAS2023-2026-1423
Amazon Linux 2023 perf6.12 +14 1:6.12.64-87.122.amzn2023 ALAS2023-2026-1423

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 kernel 6.6.161.1-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 kernel-uek +34 6.12.0-108.64.6.3.el10uek ELSA-2026-50112

Advisories 22

References