syzbot


KCSAN: data-race in evdev_pass_values / evdev_poll

Status: auto-closed as invalid on 2022/07/29 11:48
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 402d, last: 155d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in evdev_pass_values / evdev_poll (2) 2 87d 90d 0/24 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 0xffff888103f55008 of 4 bytes by task 4890 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:126 [inline]
 input_pass_values+0x37a/0x8f0 drivers/input/input.c:156
 input_handle_event+0x8d4/0xd50 drivers/input/input.c:415
 input_inject_event+0xbc/0xe0 drivers/input/input.c:487
 evdev_write+0x326/0x400 drivers/input/evdev.c:530
 vfs_write+0x26d/0x890 fs/read_write.c:589
 ksys_write+0xe8/0x1a0 fs/read_write.c:644
 __do_sys_write fs/read_write.c:656 [inline]
 __se_sys_write fs/read_write.c:653 [inline]
 __x64_sys_write+0x3e/0x50 fs/read_write.c:653
 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+0x46/0xb0

read to 0xffff888103f55008 of 4 bytes by task 1428 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+0x46/0xb0

value changed: 0x0000001f -> 0x00000021

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 1428 Comm: acpid Tainted: G        W         5.19.0-rc3-syzkaller-00146-g92f20ff72066-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (65):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/06/24 11:41 upstream 92f20ff72066 a371c43c .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/06/20 12:37 upstream a111daf0c53a b9406563 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/06/19 18:50 upstream 05c6ca8512f2 8f633d84 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/06/19 05:50 upstream 354c6e071be9 8f633d84 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/06/15 01:46 upstream 24625f7d91fb 127d1faf .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/06/13 09:04 upstream b13baccc3850 0d5abf15 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/06/06 04:22 upstream f2906aa86338 c8857892 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/06/04 13:47 upstream 032dcf09e2bf c8857892 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/06/03 23:42 upstream 744983d87842 c8857892 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/06/01 13:22 upstream 700170bf6b4d 3666edfe .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/05/30 07:55 upstream b00ed48bb0a7 a46af346 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/05/28 12:20 upstream 9d004b2f4fea a46af346 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/05/27 22:30 upstream 8291eaafed36 a46af346 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/05/26 02:12 upstream fdaf9a5840ac 3037caa9 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/05/20 16:13 upstream 3d7285a335ed bd37ad7e .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/05/20 14:17 upstream 3d7285a335ed cb1ac2e7 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/05/20 01:08 upstream b015dcd62b86 cb1ac2e7 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/05/18 17:47 upstream ef1302160bfb 50c53f39 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/05/15 00:17 upstream 2fe1020d73ca 744a39e2 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/05/13 22:38 upstream f2dd007445b1 107f6434 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/05/13 08:53 upstream f3f19f939c11 9ad6612a .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/05/09 11:21 upstream c5eb0a61238d 8b277b8e .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/05/09 04:46 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/05/09 02:26 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/05/08 18:00 upstream 379c72654524 e60b1103 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/05/08 07:54 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/05/08 05:53 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/05/07 11:52 upstream 4b97bac0756a e60b1103 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/05/07 01:35 upstream 4b97bac0756a e60b1103 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/05/06 18:56 upstream 64267926e01b e60b1103 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/05/06 05:23 upstream fe27d189e3f4 efeff0a5 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/05/06 03:43 upstream fe27d189e3f4 efeff0a5 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/05/06 00:25 upstream 0f5d752b1395 efeff0a5 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/05/05 09:00 upstream a7391ad35724 b3f09415 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/05/04 11:24 upstream 107c948d1d3e dc9e5259 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/05/03 05:22 upstream 9050ba3a61a4 2df221f6 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/04/06 11:34 upstream 3e732ebf7316 86b4b7f8 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/03/28 00:34 upstream f82da161ea75 89bc8608 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/03/24 23:38 upstream 52deda9551a0 89bc8608 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/03/21 21:35 upstream eaa54b1458ca e2d91b1d .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/03/20 19:37 upstream 14702b3b2438 e2d91b1d .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/03/08 15:23 upstream ea4424be1688 7bdd8b2c .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/02/25 16:51 upstream 53ab78cd6d5a 7c337266 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/02/15 11:31 upstream d567f5db412e 8b9ca619 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/02/04 10:26 upstream dcb85f85fa6f a3e470b2 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/02/02 11:51 upstream 9f7fb8de5d9b 4ebb2798 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/01/30 12:51 upstream 8dd71685dcb7 495e00c5 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/01/25 21:35 upstream 49d766f3a0e4 2cbffd88 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/01/25 10:33 upstream dd81e1c7d5fb 2cbffd88 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/01/15 05:14 upstream 112450df61b7 723cfaf0 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/01/05 23:58 upstream 49ef78e59b07 6acc789a .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/01/04 08:33 upstream c9e6606c7fe9 7f723fbe .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2022/01/04 02:51 upstream c9e6606c7fe9 4a3f34f2 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2021/12/30 05:38 upstream eec4df26e24e 6cc879d4 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2021/12/28 17:26 upstream a8ad9a2434dc 76c8cf06 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2021/12/25 14:49 upstream b927dfc67d05 6caa12e4 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2021/12/06 22:38 upstream f80ef9e49fdf 0230ba3e .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2021/11/24 07:11 upstream 5d9f4cf36721 545ab074 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2021/11/14 22:26 upstream ce49bfc8d037 75b04091 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2021/10/22 14:15 upstream 64222515138e 55f90bc6 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2021/10/21 19:16 upstream 2f111a6fd5b5 55f90bc6 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2021/10/21 16:18 upstream 2f111a6fd5b5 c5cb7da8 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
ci2-upstream-kcsan-gce 2021/10/20 08:26 upstream d9abdee5fd5a 466b7db1 .config log report info KCSAN: data-race in evdev_pass_values / evdev_poll
* Struck through repros no longer work on HEAD.