syzbot


KCSAN: data-race in evdev_pass_values / evdev_read

Status: auto-closed as invalid on 2020/09/08 04:08
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 736d, last: 736d
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in evdev_pass_values / evdev_read (2) 1 490d 490d 0/23 auto-closed as invalid on 2021/05/12 19:26
upstream KCSAN: data-race in evdev_pass_values / evdev_read (3) 78 41d 85d 0/23 auto-closed as invalid on 2022/08/03 23:33

Sample crash report:
==================================================================
BUG: KCSAN: data-race in evdev_pass_values / evdev_read

write to 0xffff888046ece008 of 4 bytes by task 5784 on cpu 1:
 __pass_event drivers/input/evdev.c:239 [inline]
 evdev_pass_values+0x3d2/0x530 drivers/input/evdev.c:279
 evdev_events+0x92/0xd0 drivers/input/evdev.c:307
 input_to_handler drivers/input/input.c:115 [inline]
 input_pass_values+0x397/0x8d0 drivers/input/input.c:145
 input_handle_event+0x8fe/0xd70 drivers/input/input.c:399
 input_inject_event+0xbc/0xe0 drivers/input/input.c:471
 evdev_write+0x317/0x3f0 drivers/input/evdev.c:530
 vfs_write+0x1d6/0x690 fs/read_write.c:576
 ksys_write+0xce/0x180 fs/read_write.c:631
 __do_sys_write fs/read_write.c:643 [inline]
 __se_sys_write fs/read_write.c:640 [inline]
 __x64_sys_write+0x3e/0x50 fs/read_write.c:640
 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:384
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff888046ece008 of 4 bytes by task 5769 on cpu 0:
 evdev_read+0x1a4/0x6f0 drivers/input/evdev.c:574
 do_loop_readv_writev fs/read_write.c:734 [inline]
 do_iter_read+0x3f5/0x480 fs/read_write.c:955
 vfs_readv fs/read_write.c:1073 [inline]
 do_readv+0x13d/0x290 fs/read_write.c:1110
 __do_sys_readv fs/read_write.c:1201 [inline]
 __se_sys_readv fs/read_write.c:1198 [inline]
 __x64_sys_readv+0x41/0x50 fs/read_write.c:1198
 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:384
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 5769 Comm: syz-executor.3 Not tainted 5.8.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2020/08/04 04:07 upstream e4cbce4d1317 96dd3623 .config log report