syzbot


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

Status: auto-obsoleted due to no activity on 2023/10/11 10:42
Subsystems: input
[Documentation on labels]
First crash: 252d, last: 234d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in evdev_pass_values / evdev_poll (3) input 2 552d 564d 0/26 auto-obsoleted due to no activity on 2022/11/27 08:01
upstream KCSAN: data-race in evdev_pass_values / evdev_poll (8) input 1 28d 28d 0/26 moderation: reported on 2024/03/30 08:18
upstream KCSAN: data-race in evdev_pass_values / evdev_poll input 65 673d 920d 0/26 auto-closed as invalid on 2022/07/29 11:48
upstream KCSAN: data-race in evdev_pass_values / evdev_poll (5) input 16 310d 343d 0/26 auto-obsoleted due to no activity on 2023/07/27 03:31
upstream KCSAN: data-race in evdev_pass_values / evdev_poll (4) input 7 473d 498d 0/26 auto-obsoleted due to no activity on 2023/03/10 09:08
upstream KCSAN: data-race in evdev_pass_values / evdev_poll (7) input 5 125d 138d 0/26 auto-obsoleted due to no activity on 2024/01/28 04:16
upstream KCSAN: data-race in evdev_pass_values / evdev_poll (2) input 2 605d 607d 0/26 auto-closed as invalid on 2022/10/04 21:56

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

write to 0xffff88810392b008 of 4 bytes by task 24869 on cpu 1:
 __pass_event drivers/input/evdev.c:239 [inline]
 evdev_pass_values+0x3a8/0x510 drivers/input/evdev.c:278
 evdev_events+0x90/0xd0 drivers/input/evdev.c:306
 input_to_handler drivers/input/input.c:129 [inline]
 input_pass_values+0x305/0x770 drivers/input/input.c:161
 input_event_dispose+0x243/0x310 drivers/input/input.c:378
 input_handle_event+0xac0/0xaf0 drivers/input/input.c:406
 input_inject_event+0xd1/0xf0 drivers/input/input.c:465
 evdev_write+0x332/0x410 drivers/input/evdev.c:530
 vfs_write+0x27a/0x7d0 fs/read_write.c:582
 ksys_write+0xeb/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+0x42/0x50 fs/read_write.c:646
 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

read to 0xffff88810392b008 of 4 bytes by task 2761 on cpu 0:
 evdev_poll+0xe1/0x110 drivers/input/evdev.c:623
 vfs_poll include/linux/poll.h:88 [inline]
 do_select+0x954/0xf90 fs/select.c:538
 core_sys_select+0x361/0x520 fs/select.c:681
 do_pselect fs/select.c:763 [inline]
 __do_sys_pselect6 fs/select.c:804 [inline]
 __se_sys_pselect6+0x213/0x280 fs/select.c:795
 __x64_sys_pselect6+0x78/0x90 fs/select.c:795
 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

value changed: 0x00000022 -> 0x00000028

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 2761 Comm: acpid Not tainted 6.5.0-syzkaller-11938-g65d6e954e378 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
==================================================================
==================================================================
BUG: KCSAN: data-race in evdev_pass_values / evdev_read

write to 0xffff88810392b008 of 4 bytes by task 24913 on cpu 1:
 __pass_event drivers/input/evdev.c:239 [inline]
 evdev_pass_values+0x3a8/0x510 drivers/input/evdev.c:278
 evdev_events+0x90/0xd0 drivers/input/evdev.c:306
 input_to_handler drivers/input/input.c:129 [inline]
 input_pass_values+0x305/0x770 drivers/input/input.c:161
 input_event_dispose+0x243/0x310 drivers/input/input.c:378
 input_handle_event+0xac0/0xaf0 drivers/input/input.c:406
 input_inject_event+0xd1/0xf0 drivers/input/input.c:465
 evdev_write+0x332/0x410 drivers/input/evdev.c:530
 vfs_write+0x27a/0x7d0 fs/read_write.c:582
 ksys_write+0xeb/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+0x42/0x50 fs/read_write.c:646
 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

read to 0xffff88810392b008 of 4 bytes by task 2761 on cpu 0:
 evdev_read+0x1c9/0x780 drivers/input/evdev.c:574
 vfs_read+0x19f/0x5c0 fs/read_write.c:468
 ksys_read+0xeb/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+0x42/0x50 fs/read_write.c:621
 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

value changed: 0x00000008 -> 0x00000010

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 2761 Comm: acpid Not tainted 6.5.0-syzkaller-11938-g65d6e954e378 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
==================================================================

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/09/06 10:39 upstream 65d6e954e378 0b6286dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in evdev_pass_values / evdev_poll
2023/09/05 03:07 upstream 3f86ed6ec0b3 0b6286dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in evdev_pass_values / evdev_poll
2023/09/02 11:20 upstream 0468be89b3fa 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in evdev_pass_values / evdev_poll
2023/08/31 17:26 upstream b97d64c72259 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in evdev_pass_values / evdev_poll
2023/08/18 19:36 upstream 0e8860d2125f acb1ba71 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in evdev_pass_values / evdev_poll
* Struck through repros no longer work on HEAD.