syzbot


KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack (3)
Status: moderation: reported on 2020/12/07 11:53
Reported-by: syzbot+85537422410fcb98abbd@syzkaller.appspotmail.com
First crash: 634d, last: 4d16h
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack (2) 4 671d 691d 0/22 auto-closed as invalid on 2020/08/28 23:47
upstream KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack 6 787d 851d 0/22 auto-closed as invalid on 2020/06/09 05:57

Sample crash report:
==================================================================
BUG: KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack

write to 0xffff888103bb0840 of 8 bytes by interrupt on cpu 1:
 ps2_handle_ack+0x1b3/0x320 drivers/input/serio/libps2.c:444
 atkbd_interrupt+0xa5b/0xc30 drivers/input/keyboard/atkbd.c:422
 serio_interrupt+0x5d/0xe0 drivers/input/serio/serio.c:1001
 i8042_interrupt+0x37e/0x710 drivers/input/serio/i8042.c:606
 __handle_irq_event_percpu+0x92/0x400 kernel/irq/handle.c:158
 handle_irq_event_percpu kernel/irq/handle.c:193 [inline]
 handle_irq_event+0x60/0xf0 kernel/irq/handle.c:210
 handle_edge_irq+0x17e/0x5a0 kernel/irq/chip.c:817
 generic_handle_irq_desc include/linux/irqdesc.h:158 [inline]
 handle_irq arch/x86/kernel/irq.c:231 [inline]
 __common_interrupt+0x60/0x100 arch/x86/kernel/irq.c:250
 common_interrupt+0x9a/0xc0 arch/x86/kernel/irq.c:240
 asm_common_interrupt+0x1e/0x40
 kcsan_setup_watchpoint+0x3e9/0x3f0 kernel/kcsan/core.c:694
 batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:406 [inline]
 batadv_nc_worker+0x78/0xc00 net/batman-adv/network-coding.c:719
 process_one_work+0x3d3/0x720 kernel/workqueue.c:2289
 worker_thread+0x618/0xa70 kernel/workqueue.c:2436
 kthread+0x1a9/0x1e0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30

read to 0xffff888103bb0840 of 8 bytes by task 11697 on cpu 0:
 ps2_do_sendbyte+0x1ae/0x380 drivers/input/serio/libps2.c:45
 __ps2_command+0x35e/0x8c0 drivers/input/serio/libps2.c:273
 ps2_command+0x51/0x90 drivers/input/serio/libps2.c:332
 atkbd_set_repeat_rate drivers/input/keyboard/atkbd.c:583 [inline]
 atkbd_event_work+0x2a8/0x2e0 drivers/input/keyboard/atkbd.c:637
 process_one_work+0x3d3/0x720 kernel/workqueue.c:2289
 worker_thread+0x618/0xa70 kernel/workqueue.c:2436
 kthread+0x1a9/0x1e0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30

value changed: 0x0000000000000001 -> 0x0000000000000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 11697 Comm: kworker/0:0 Not tainted 5.18.0-rc7-syzkaller-00185-g978df3e15846-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events atkbd_event_work
==================================================================

Crashes (185):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/05/22 23:55 upstream 978df3e15846 7268fa62 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2022/04/27 05:53 upstream cf424ef014ac 1fa34c1b .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2022/04/23 14:01 upstream c00c5e1d157b 131df97d .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2022/04/14 17:41 upstream a19944809fe9 b17b2923 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2022/04/05 09:51 upstream 312310928417 5915c2cb .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2022/04/02 22:38 upstream be2d3ecedd99 79a2a8fc .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2022/03/31 17:15 upstream 787af64d05cd c4c32d8c .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2022/03/28 16:00 upstream f82da161ea75 89bc8608 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2022/03/11 17:59 upstream 79b00034e9dc 9e8eaa75 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2022/03/03 22:59 upstream 5859a2b19911 45a13a73 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2022/03/01 00:08 upstream 7e57714cd0ad 45a13a73 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2022/01/27 15:42 upstream 626b2dda7651 2cbffd88 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2022/01/23 10:11 upstream 1c52283265a4 214351e1 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2022/01/16 03:41 upstream a33f5c380c4b 723cfaf0 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/12/30 12:17 upstream eec4df26e24e 2e49f10d .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/12/11 07:01 upstream 9e65da135b39 49ca1f59 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/11/18 06:26 upstream ee1703cda8dc cafff8b6 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/10/31 00:07 upstream 119c85055d86 098b5d53 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/10/29 04:10 upstream 411a44c24a56 be531bb4 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/10/27 10:33 upstream d25f27432f80 d50eb50a .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/10/27 02:52 upstream 3906fe9bb7f1 d50eb50a .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/10/24 19:56 upstream 9c0c4d24ac00 282f03fb .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/10/22 05:37 upstream 2f111a6fd5b5 55f90bc6 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/10/18 13:43 upstream cf52ad5ff16c 0c5d9412 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/10/16 05:41 upstream 8fe31e0995f0 0c5d9412 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/10/12 10:20 upstream fa5878760579 838e7e2c .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/10/09 17:18 upstream 5d6ab0bb408f 838e7e2c .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/09/28 20:13 upstream d33bec7b3dfa d82cb927 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/09/25 02:26 upstream 7d42e9818258 8cac236e .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/09/23 14:26 upstream 58e2cf5d7946 8cac236e .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/09/17 08:29 upstream bdb575f87217 5b989942 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/09/15 09:34 upstream 3ca706c189db 07e953c1 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/09/03 23:36 upstream a9c9a6f741cd d236a457 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/08/28 16:52 upstream 64b4fc45bea6 d5a29e53 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/08/27 13:56 upstream 77dd11439b86 b318694d .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/08/22 07:20 upstream 9ff50bf2f2ff b599f2fc .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/08/18 15:22 upstream 614cb2751d31 a2fe1cb5 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/08/14 18:44 upstream ba31f97d43be 2489ab88 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/08/11 18:30 upstream 761c6d7ec820 6972b106 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/08/09 12:13 upstream 36a21d51725a 6972b106 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/08/09 02:43 upstream 66745863ecde 6972b106 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/08/05 08:58 upstream 251a1524293d 7f7bb950 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/08/04 15:11 upstream d5ad8ec3cfb5 6c236867 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/08/02 11:34 upstream c500bee1c5b2 6c236867 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/07/31 21:55 upstream f3438b4c4e69 6c236867 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/07/30 22:55 upstream 4669e13cd67f 6c236867 .config log report info KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack
ci2-upstream-kcsan-gce 2021/01/03 16:01 upstream 3516bd729358 79264ae3 .config log report info
ci2-upstream-kcsan-gce 2020/11/28 03:46 upstream c84e1efae022 486f93ef .config log report info
ci2-upstream-kcsan-gce 2020/08/31 09:21 upstream dcc5c6f013d8 d5a3ae1f .config log report