syzbot


KCSAN: data-race in evdev_pass_values / evdev_read

Status: auto-closed as invalid on 2020/09/08 04:08
Subsystems: input
[Documentation on labels]
First crash: 1360d, last: 1360d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in evdev_pass_values / evdev_read (6) input 5 474d 500d 0/26 auto-obsoleted due to no activity on 2023/02/12 16:10
upstream KCSAN: data-race in evdev_pass_values / evdev_read (5) input 1 542d 542d 0/26 auto-obsoleted due to no activity on 2022/12/04 22:10
upstream KCSAN: data-race in evdev_pass_values / evdev_read (2) input 1 1113d 1113d 0/26 auto-closed as invalid on 2021/05/12 19:26
upstream KCSAN: data-race in evdev_pass_values / evdev_read (4) input 4 585d 624d 0/26 auto-obsoleted due to no activity on 2022/10/23 08:11
upstream KCSAN: data-race in evdev_pass_values / evdev_read (7) input 28 289d 362d 0/26 auto-obsoleted due to no activity on 2023/08/14 19:50
upstream KCSAN: data-race in evdev_pass_values / evdev_read (8) input 16 170d 137d 0/26 auto-obsoleted due to no activity on 2023/12/24 00:01
upstream KCSAN: data-race in evdev_pass_values / evdev_read (3) input 78 665d 708d 0/26 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):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/08/04 04:07 upstream e4cbce4d1317 96dd3623 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.