syzbot


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

Status: auto-obsoleted due to no activity on 2023/03/10 09:08
Subsystems: input
[Documentation on labels]
First crash: 774d, last: 749d
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in evdev_pass_values / evdev_poll (10) input 2 36d 38d 0/28 moderation: reported on 2024/12/21 21:19
upstream KCSAN: data-race in evdev_pass_values / evdev_poll (3) input 2 828d 840d 0/28 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 304d 304d 0/28 auto-obsoleted due to no activity on 2024/05/04 08:18
upstream KCSAN: data-race in evdev_pass_values / evdev_poll (9) input 6 229d 257d 0/28 auto-obsoleted due to no activity on 2024/07/18 19:14
upstream KCSAN: data-race in evdev_pass_values / evdev_poll input 65 949d 1196d 0/28 auto-closed as invalid on 2022/07/29 11:48
upstream KCSAN: data-race in evdev_pass_values / evdev_poll (5) input 16 586d 619d 0/28 auto-obsoleted due to no activity on 2023/07/27 03:31
upstream KCSAN: data-race in evdev_pass_values / evdev_poll (7) input 5 401d 414d 0/28 auto-obsoleted due to no activity on 2024/01/28 04:16
upstream KCSAN: data-race in evdev_pass_values / evdev_poll (6) input 5 510d 529d 0/28 auto-obsoleted due to no activity on 2023/10/11 10:42
upstream KCSAN: data-race in evdev_pass_values / evdev_poll (2) input 2 882d 884d 0/28 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 0xffff888104d7d808 of 4 bytes by task 14689 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 0xffff888104d7d808 of 4 bytes by task 2721 on cpu 1:
 evdev_poll+0xdd/0x110 drivers/input/evdev.c:623
 vfs_poll include/linux/poll.h:88 [inline]
 do_select+0x951/0x1020 fs/select.c:538
 core_sys_select+0x368/0x520 fs/select.c:681
 do_pselect fs/select.c:763 [inline]
 __do_sys_pselect6+0x1f4/0x250 fs/select.c:804
 __se_sys_pselect6 fs/select.c:795 [inline]
 __x64_sys_pselect6+0x74/0x80 fs/select.c:795
 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: 0x0000003a -> 0x0000003c

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

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/10 00:27 upstream 1fe4fd6f5cad 48bc529a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in evdev_pass_values / evdev_poll
2023/01/09 03:22 upstream 1fe4fd6f5cad 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in evdev_pass_values / evdev_poll
2023/01/06 02:59 upstream 41c03ba9beea 1dac8c7a .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in evdev_pass_values / evdev_poll
2022/12/23 10:26 upstream 8395ae05cb5a 9da18ae8 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in evdev_pass_values / evdev_poll
2022/12/18 05:39 upstream f9ff5644bcc0 05494336 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in evdev_pass_values / evdev_poll
2022/12/17 11:57 upstream 77856d911a8c 05494336 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in evdev_pass_values / evdev_poll
2022/12/16 08:22 upstream 851f657a8642 6f9c033e .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in evdev_pass_values / evdev_poll
* Struck through repros no longer work on HEAD.