syzbot


KCSAN: data-race in console_callback / kbd_event (2)

Status: auto-closed as invalid on 2021/12/18 10:16
Subsystems: serial
[Documentation on labels]
First crash: 893d, last: 893d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in console_callback / kbd_event serial 1 1261d 1233d 0/26 auto-closed as invalid on 2020/12/21 11:59

Sample crash report:
==================================================================
BUG: KCSAN: data-race in console_callback / kbd_event

read to 0xffffffff86dd81e8 of 4 bytes by task 25 on cpu 1:
 console_callback+0x122/0x300 drivers/tty/vt/vt.c:2993
 process_one_work+0x3fc/0x980 kernel/workqueue.c:2298
 worker_thread+0x616/0xa70 kernel/workqueue.c:2445
 kthread+0x2c7/0x2e0 kernel/kthread.c:327
 ret_from_fork+0x1f/0x30

write to 0xffffffff86dd81e8 of 4 bytes by task 25916 on cpu 0:
 kbd_event+0x1864/0x1ef0 drivers/tty/vt/keyboard.c:1536
 input_to_handler drivers/input/input.c:118 [inline]
 input_pass_values+0x417/0x8f0 drivers/input/input.c:145
 input_handle_event+0x8d3/0xd50 drivers/input/input.c:404
 input_inject_event+0xbc/0xe0 drivers/input/input.c:476
 evdev_write+0x326/0x400 drivers/input/evdev.c:530
 vfs_write+0x2af/0x950 fs/read_write.c:588
 ksys_write+0xd9/0x190 fs/read_write.c:643
 __do_sys_write fs/read_write.c:655 [inline]
 __se_sys_write fs/read_write.c:652 [inline]
 __x64_sys_write+0x3e/0x50 fs/read_write.c:652
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x00000001 -> 0x00000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 25916 Comm: syz-executor.2 Not tainted 5.15.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/11/13 10:11 upstream 66f4beaa6c1d 75b04091 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in console_callback / kbd_event
* Struck through repros no longer work on HEAD.