syzbot


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

Status: moderation: reported on 2022/05/17 13:01
Reported-by: syzbot+ebb2a29c729a15afa998@syzkaller.appspotmail.com
First crash: 252d, last: 1d00h
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in evdev_pass_values / evdev_read 1 690d 690d 0/22 auto-closed as invalid on 2020/09/08 04:08
upstream KCSAN: data-race in evdev_pass_values / evdev_read (2) 1 443d 443d 0/22 auto-closed as invalid on 2021/05/12 19:26

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

write to 0xffff88810362c808 of 4 bytes by task 12954 on cpu 1:
 __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 0xffff88810362c808 of 4 bytes by task 1428 on cpu 0:
 evdev_read+0x1c5/0x7a0 drivers/input/evdev.c:574
 vfs_read+0x1a1/0x6a0 fs/read_write.c:480
 ksys_read+0xe8/0x1a0 fs/read_write.c:620
 __do_sys_read fs/read_write.c:630 [inline]
 __se_sys_read fs/read_write.c:628 [inline]
 __x64_sys_read+0x3e/0x50 fs/read_write.c:628
 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: 0x0000003d -> 0x00000003

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

Crashes (77):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/06/24 09:25 upstream 92f20ff72066 a5dbd430 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/06/23 21:50 upstream 92f20ff72066 912f5df7 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/06/23 07:24 upstream de5c208d533a 912f5df7 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/06/22 19:28 upstream 3abc3ae553c7 912f5df7 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/06/22 06:26 upstream ca1fdab7fd27 0fc5c330 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/06/18 09:18 upstream 4b35035bcf80 8f633d84 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/06/17 21:46 upstream 462abc9de7a1 8f633d84 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/06/17 07:07 upstream 47700948a4ab cb58b3b2 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/06/16 22:16 upstream 48a23ec6ff2b 1719ee24 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/06/16 03:18 upstream 30306f6194ca 1719ee24 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/06/15 11:43 upstream 018ab4fabddd 1719ee24 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/06/11 14:01 upstream 0885eacdc81f 0d5abf15 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/06/08 04:25 upstream 9886142c7a22 b2706118 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/06/07 01:39 upstream e71e60cd74df c8857892 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/06/05 18:53 upstream 952923ddc011 c8857892 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/06/05 04:38 upstream d0e60d46bc03 c8857892 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/06/01 18:27 upstream 8eca6b0a647a b4bc6a3d .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/05/31 11:07 upstream 8ab2afa23bd1 af70c3a9 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/05/30 19:41 upstream 2c5ca23f7414 af70c3a9 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/05/29 20:15 upstream c3a9a3c5f559 a46af346 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/05/29 03:52 upstream 664a393a2663 a46af346 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/05/26 07:09 upstream d7227785e384 3037caa9 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/05/19 12:29 upstream f993aed406ea cb1ac2e7 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/05/18 01:15 upstream 210e04ff7681 744a39e2 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/05/16 03:44 upstream 42226c989789 744a39e2 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/05/15 16:23 upstream bc403203d65a 744a39e2 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/05/14 12:20 upstream ec7f49619d8e 744a39e2 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/05/13 12:44 upstream f3f19f939c11 7ce5a022 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/05/12 13:22 upstream feb9c5e19e91 9ad6612a .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/05/11 16:58 upstream feb9c5e19e91 beb0b407 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/05/11 05:18 upstream feb9c5e19e91 8d7b3b67 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/05/09 09:20 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/05/09 03:34 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/05/08 12:08 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/05/08 06:08 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/05/07 16:37 upstream 4b97bac0756a e60b1103 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/05/07 08:29 upstream 4b97bac0756a e60b1103 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/05/06 23:21 upstream 64267926e01b e60b1103 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/05/04 20:00 upstream a7391ad35724 dc9e5259 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/05/03 18:30 upstream ef8e4d3c2ab1 dc9e5259 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/05/03 00:51 upstream 9050ba3a61a4 2df221f6 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/05/02 10:15 upstream 672c0c517342 2df221f6 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/05/02 05:59 upstream b2da7df52e16 2df221f6 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/04/24 19:06 upstream 22da5264abf4 131df97d .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/03/31 16:02 upstream 787af64d05cd c4c32d8c .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/03/27 10:29 upstream f022814633e1 89bc8608 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/03/26 05:12 upstream 52d543b5497c 89bc8608 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/03/18 03:28 upstream 551acdc3c3d2 e2d91b1d .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/03/17 04:11 upstream 56e337f2cf13 dfa9a8ed .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/03/11 11:13 upstream 79b00034e9dc 9e8eaa75 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/02/28 01:00 upstream 52a025546731 45a13a73 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/02/16 16:21 upstream c5d9ae265b10 8b9ca619 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/02/13 20:07 upstream 42964a18f81c 8b9ca619 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/02/12 10:12 upstream 83e396641110 8b9ca619 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/02/11 22:09 upstream 1d41d2e82623 8b9ca619 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/02/11 18:06 upstream f1baf68e1383 8b9ca619 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/02/09 18:45 upstream f4bc5bbb5fef 0b33604d .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/02/04 23:19 upstream 86286e486cbd e13a05ed .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/01/31 08:51 upstream 26291c54e111 a491ad2d .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/01/28 21:05 upstream df0001545b27 495e00c5 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/01/22 12:59 upstream 0809edbae347 214351e1 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2022/01/02 07:02 upstream 278218f6778b e1768e9c .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2021/12/30 23:25 upstream 9bad743e8d22 36bd2e48 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2021/12/30 10:16 upstream eec4df26e24e 2e49f10d .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2021/12/29 03:14 upstream ecf71de775a0 76c8cf06 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2021/12/28 01:57 upstream a8ad9a2434dc 6b3c5e64 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2021/12/15 00:47 upstream 5472f14a3742 f752fb53 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2021/12/12 17:33 upstream a763d5a5abd6 49ca1f59 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2021/12/11 23:28 upstream 6f513529296f 49ca1f59 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2021/11/24 19:41 upstream 5f53fa508db0 545ab074 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2021/11/19 01:09 upstream 6fdf886424cf 31a30fc0 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2021/11/18 15:03 upstream 42eb8fdac2fc 31a30fc0 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2021/11/17 14:32 upstream 8ab774587903 cafff8b6 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2021/11/13 03:02 upstream 66f4beaa6c1d 75b04091 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2021/11/12 13:33 upstream 5833291ab6de 75b04091 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2021/11/01 01:37 upstream 8bb7eca972ad 098b5d53 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read
ci2-upstream-kcsan-gce 2021/10/15 15:42 upstream 8fe31e0995f0 0c5d9412 .config log report info KCSAN: data-race in evdev_pass_values / evdev_read