syzbot


KCSAN: data-race in evdev_pass_values / evdev_read (6)

Status: auto-obsoleted due to no activity on 2023/02/12 16:10
Subsystems: input
[Documentation on labels]
First crash: 489d, last: 464d
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 (5) input 1 532d 532d 0/26 auto-obsoleted due to no activity on 2022/12/04 22:10
upstream KCSAN: data-race in evdev_pass_values / evdev_read input 1 1350d 1350d 0/26 auto-closed as invalid on 2020/09/08 04:08
upstream KCSAN: data-race in evdev_pass_values / evdev_read (2) input 1 1103d 1103d 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 574d 614d 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 279d 352d 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 160d 127d 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 655d 698d 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 0xffff8881048fe008 of 4 bytes by task 12154 on cpu 0:
 __pass_event drivers/input/evdev.c:239 [inline]
 evdev_pass_values+0x3b7/0x510 drivers/input/evdev.c:278
 evdev_events+0x91/0xd0 drivers/input/evdev.c:306
 input_to_handler drivers/input/input.c:128 [inline]
 input_pass_values+0x37a/0x8f0 drivers/input/input.c:160
 input_event_dispose+0x243/0x310 drivers/input/input.c:375
 input_handle_event+0x6a3/0xa70 drivers/input/input.c:403
 input_inject_event+0xbc/0xe0 drivers/input/input.c:462
 evdev_write+0x326/0x400 drivers/input/evdev.c:530
 vfs_write+0x25c/0x760 fs/read_write.c:582
 ksys_write+0xe8/0x1a0 fs/read_write.c:637
 __do_sys_write fs/read_write.c:649 [inline]
 __se_sys_write fs/read_write.c:646 [inline]
 __x64_sys_write+0x3e/0x50 fs/read_write.c:646
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff8881048fe008 of 4 bytes by task 2722 on cpu 1:
 evdev_read+0x1c5/0x7a0 drivers/input/evdev.c:574
 vfs_read+0x198/0x560 fs/read_write.c:468
 ksys_read+0xe8/0x1a0 fs/read_write.c:613
 __do_sys_read fs/read_write.c:623 [inline]
 __se_sys_read fs/read_write.c:621 [inline]
 __x64_sys_read+0x3e/0x50 fs/read_write.c:621
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x0000000c -> 0x00000010

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 2722 Comm: acpid Not tainted 6.2.0-rc2-syzkaller-00203-g1f5abbd77e2c-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
==================================================================

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/06 21:12 upstream 1f5abbd77e2c 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in evdev_pass_values / evdev_read
2023/01/04 12:37 upstream 69b41ac87e4a 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in evdev_pass_values / evdev_read
2022/12/21 20:03 upstream b6bb9676f216 4067838e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in evdev_pass_values / evdev_read
2022/12/15 11:03 upstream 041fae9c105a 6f9c033e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in evdev_pass_values / evdev_read
2022/12/12 11:18 upstream 4cee37b3a4e6 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in evdev_pass_values / evdev_read
* Struck through repros no longer work on HEAD.