In the Linux kernel, the following vulnerability has been resolved: Input: lkkbd - disable pending work before freeing device lkkbd_interrupt() schedules lk->tq via schedule_work(), and the work handler lkkbd_reinit() dereferences the lkkbd structure and its serio/input_dev fields. lkkbd_disconnect() and error paths in lkkbd_connect() free the lkkbd structure without preventing the reinit work from being queued again until serio_close() returns. This can allow the work handler to run after the structure has been freed, leading to a potential use-after-free. Use disable_work_sync() instead of cancel_work_sync() to ensure the reinit work cannot be re-queued, and call it both in lkkbd_disconnect() and in lkkbd_connect() error paths after serio_open().
Fix
Patch, vendor advisory and mitigation references on NVD 3
- https://git.kernel.org/stable/c/3a7cd1397c209076c371d53bf39a55c138f62342 Patch
- https://git.kernel.org/stable/c/cffc4e29b1e2d44ab094cf142d7c461ff09b9104 Patch
- https://git.kernel.org/stable/c/e58c88f0cb2d8ed89de78f6f17409d29cfab6c5c Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 5
- CwesCWE-416NVD modified 2026-10-21 13:18
- Cpes+14 CPE criteria (now 14)NVD modified 2026-10-21 13:18
- StatusPublished → ModifiedNVD modified 2026-10-21 13:18
- CVSS7.8 (v3.1, CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)NVD modified 2026-10-21 13:18
- First seenunscored · linuxNVD modified 2026-10-21 12:38
Affected (CPE criteria) 14
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:2.6.12:-:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:2.6.12:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:2.6.12:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:2.6.12:rc4:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:2.6.12:rc5:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.19:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.19:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.19:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.19:rc4:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.19:rc5:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.19:rc6:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.19:rc7:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.19:rc8:*:*:*:*:*:*
References 4
- https://git.kernel.org/stable/c/3a7cd1397c209076c371d53bf39a55c138f62342 Patch
- https://git.kernel.org/stable/c/8cf889d45bbc8477206dda78c8f757ea8ff68213
- https://git.kernel.org/stable/c/cffc4e29b1e2d44ab094cf142d7c461ff09b9104 Patch
- https://git.kernel.org/stable/c/e58c88f0cb2d8ed89de78f6f17409d29cfab6c5c Patch