syzbot


KCSAN: data-race in atkbd_event_work / input_handle_event

Status: auto-obsoleted due to no activity on 2023/05/26 03:24
Subsystems: input
[Documentation on labels]
First crash: 816d, last: 816d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in atkbd_event_work / input_handle_event

read to 0xffff8881036c4938 of 4 bytes by task 19573 on cpu 1:
 input_get_disposition drivers/input/input.c:329 [inline]
 input_handle_event+0x220/0xb80 drivers/input/input.c:399
 input_inject_event+0xd1/0xf0 drivers/input/input.c:463
 evdev_do_ioctl drivers/input/evdev.c:1071 [inline]
 evdev_ioctl_handler+0x10e8/0x1650 drivers/input/evdev.c:1272
 evdev_ioctl+0x24/0x30 drivers/input/evdev.c:1281
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl+0xc9/0x140 fs/ioctl.c:856
 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

write to 0xffff8881036c4938 of 4 bytes by task 22820 on cpu 0:
 atkbd_set_repeat_rate drivers/input/keyboard/atkbd.c:582 [inline]
 atkbd_event_work+0x29a/0x300 drivers/input/keyboard/atkbd.c:639
 process_one_work+0x3e6/0x750 kernel/workqueue.c:2390
 worker_thread+0x5f2/0xa10 kernel/workqueue.c:2537
 kthread+0x1a6/0x1e0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308

value changed: 0x000000c3 -> 0x00000007

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 22820 Comm: kworker/0:2 Not tainted 6.3.0-rc7-syzkaller-00136-g6a66fdd29ea1 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
Workqueue: events atkbd_event_work
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/21 03:23 upstream 6a66fdd29ea1 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in atkbd_event_work / input_handle_event
* Struck through repros no longer work on HEAD.