Skip to main content

Linux Kernel CVE-2025-68822

HIGH
2026-01-13 416baaa9-dc9f-4396-8d5f-8c081fb06d67
High
Disputed · 7.8 Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Share

Severity by source

Sources disagree (Low–High)
Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY
7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI
7.0 HIGH

Local-only kernel UAF (AV:L, PR:L) gated by a disconnect-vs-delayed-work timing race and ALPS hardware, so AC:H; kernel heap corruption keeps C/I/A High.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE
5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat
5.5 LOW
qualitative

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

6
Analysis Updated
Jul 30, 2026 - 07:02 vuln.today
v3 (cvss_changed)
Analysis Updated
Jul 30, 2026 - 07:00 vuln.today
v2 (cvss_changed)
Re-analysis Queued
Jul 30, 2026 - 06:37 vuln.today
cvss_changed
CVSS changed
Jul 30, 2026 - 06:37 NVD
7.8 (HIGH)
Analysis Generated
Mar 12, 2026 - 21:54 vuln.today
CVE Published
Jan 13, 2026 - 16:16 nvd
N/A

DescriptionCVE.org

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.

AnalysisAI

Local privilege-escalation-capable memory corruption in the Linux kernel's ALPS PS/2 touchpad driver (drivers/input/mouse/alps.c) lets a use-after-free be triggered when an ALPS touchpad is detached while the dev3_register_work delayed work item is still pending. Because psmouse_disconnect() only flushes work already queued, alps_register_bare_ps2_mouse() can run and dereference the alps_data structure (priv->dev3) after alps_disconnect() has kfree()'d it, corrupting freed kernel heap memory. There is no public exploit identified at time of analysis, EPSS is negligible (0.02%), and the flaw was found by static analysis rather than in-the-wild activity.

Technical ContextAI

The bug lives in the PS/2 mouse subsystem's ALPS driver. dev3_register_work is a delayed workqueue item set up in alps_reconnect() and scheduled the first time a bare PS/2 packet arrives from an external PS/2 device chained through the ALPS touchpad. The root cause is a classic use-after-free (CWE-416) driven by a workqueue lifetime race: flush_workqueue() in psmouse_disconnect() waits only for items enqueued before it was called, so a work item scheduled after the flush survives, then executes container_of(work, alps_data, ...) and touches priv->dev3 after alps_disconnect() frees priv. The fix replaces the flush with disable_delayed_work_sync() inside alps_disconnect(), which both cancels any pending instance and prevents re-scheduling before the structure is freed.

Affected ProductsAI

The affected product is the mainline and stable Linux kernel, specifically the ALPS touchpad input driver (drivers/input/mouse/alps.c). Only builds that include and load the ALPS PS/2 driver on systems with ALPS touchpad hardware are practically exposed. No CPE strings were provided in the input, so exact version ranges are not enumerated here; the fix is carried across multiple stable branches per the three git.kernel.org stable commits (a9c115e0, bf40644e, ed8c61b8). Distribution-level exposure is documented by Ubuntu in USN-8177-1 (https://ubuntu.com/security/notices/USN-8177-1) and cross-listed at https://vuldb.com/vuln/340631.

RemediationAI

Apply the vendor-released kernel update that includes the disable_delayed_work_sync() fix in alps_disconnect(); the upstream fix is available as stable commits a9c115e017b2c633d25bdfe6709dda6fc36f08c2, bf40644ef8c8a288742fa45580897ed0e0289474, and ed8c61b89be0c45f029228b2913d5cf7b5cda1a7 (https://git.kernel.org/stable/c/ed8c61b89be0c45f029228b2913d5cf7b5cda1a7). Ubuntu users should upgrade to the fixed kernel packages per USN-8177-1 (https://ubuntu.com/security/notices/USN-8177-1) and reboot; other distributions ship the same backport. Where immediate patching is not possible, the exposure is bounded by requiring local access and ALPS touchpad hardware, so compensating controls include restricting physical access to affected laptops and, on systems that do not need it, blacklisting the psmouse/ALPS module (e.g. via modprobe blacklist) - with the trade-off that the built-in touchpad will stop functioning and fall back to a generic PS/2 or USB pointing device.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Container suse/sl-micro/6.0/baremetal-os-container:latest Container suse/sl-micro/6.0/toolbox:latest Image SL-Micro Image SLE-Micro Image SLE-Micro-Azure Image SLE-Micro-BYOS Image SLE-Micro-BYOS-Azure Image SLE-Micro-BYOS-EC2 Image SLE-Micro-BYOS-GCE Image SLE-Micro-EC2 Image SLE-Micro-GCE Affected
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.162 Affected
Container suse/sl-micro/6.0/kvm-os-container:2.1.3-6.176 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.193 Affected
Container suse/sl-micro/6.1/base-os-container:2.2.1-5.148 Affected

Share

CVE-2025-68822 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy