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.
CVSS Details
- CVSS 3.1 Base Score: 7.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon_linux_2023 | — | Upgrade kernel6.12-modules-extra-commonUpgrade kernel6.12-tools-debuginfoUpgrade kernel-livepatch-6.12.64-87.122Upgrade perf6.12-debuginfoUpgrade kernel6.12-libbpf-debuginfoUpgrade kernel6.12-modules-extraUpgrade kernel6.12-libbpf-develUpgrade kernel6.12-libbpf-staticUpgrade bpftool6.12-debuginfoUpgrade kernel6.12-debuginfo-common-aarch64Upgrade kernel6.12-libbpfUpgrade bpftool6.12Upgrade python3-perf6.12-debuginfoUpgrade kernel6.12-headersUpgrade kernel6.12-debuginfo-common-x86_64Upgrade python3-perf6.12Upgrade kernel6.12-develUpgrade kernel6.12-tools-develUpgrade kernel6.12Upgrade perf6.12Upgrade kernel6.12-toolsUpgrade kernel6.12-debuginfo | Feb 20, 2026 | Jan 13, 2026 |
| Debian | — | Upgrade linux | Jul 23, 2026 | Jul 23, 2026 |
| Oracle_linux | — | Upgrade kernel-uek | Feb 24, 2026 | Jan 13, 2026 |
| Redhat_linux | — | No solution exists | Jul 17, 2026 | Jan 13, 2026 |
| Ubuntu | — | Upgrade linux-image-azureUpgrade linux-image-nvidia-tegraUpgrade linux-image-gcp-64kUpgrade linux-image-raspi-6.17Upgrade linux-image-6.17.0-22-genericUpgrade linux-image-oem-24.04cUpgrade linux-image-6.17.0-1011-oracleUpgrade linux-image-generic-hwe-24.04Upgrade linux-image-oem-24.04Upgrade linux-image-virtual-hwe-24.04Upgrade linux-image-oracle-64kUpgrade linux-image-gcpUpgrade linux-image-6.17.0-1012-aws-64kUpgrade linux-image-6.17.0-1014-raspiUpgrade linux-image-generic-6.17Upgrade linux-image-oem-24.04dUpgrade linux-image-aws-6.17Upgrade linux-image-6.17.0-1010-realtimeUpgrade linux-image-oem-24.04aUpgrade linux-image-virtual-6.17Upgrade linux-image-azure-6.17Upgrade linux-image-realtime-hwe-24.04Upgrade linux-image-6.8.0-1035-nvidia-tegra-rtUpgrade linux-image-realtime-6.17Upgrade linux-image-aws-64k-6.17Upgrade linux-image-generic-64kUpgrade linux-image-aws-64kUpgrade linux-image-raspiUpgrade linux-image-6.8.0-1035-nvidia-tegraUpgrade linux-image-6.17.0-1020-oemUpgrade linux-image-genericUpgrade linux-image-generic-64k-6.17Upgrade linux-image-6.17.0-1013-azureUpgrade linux-image-oracle-64k-6.17Upgrade linux-image-nvidia-tegra-rt-6.8Upgrade linux-image-6.17.0-1012-gcp-64kUpgrade linux-image-virtualUpgrade linux-image-nvidia-tegra-6.8Upgrade linux-image-generic-64k-hwe-24.04Upgrade linux-image-gcp-64k-6.17Upgrade linux-image-oem-24.04bUpgrade linux-image-nvidia-tegra-rtUpgrade linux-image-gcp-6.17Upgrade linux-image-6.17.0-1011-oracle-64kUpgrade linux-image-awsUpgrade linux-image-oracle-6.17Upgrade linux-image-oracleUpgrade linux-image-6.17.0-1012-gcpUpgrade linux-image-6.17.0-1012-awsUpgrade linux-image-realtimeUpgrade linux-image-oem-6.17Upgrade linux-image-6.17.0-22-generic-64k | Apr 17, 2026 | Jan 13, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub