syzbot


KCSAN: data-race in uhid_char_read / uhid_char_read (2)

Status: auto-closed as invalid on 2022/01/01 14:49
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 375d, last: 375d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in uhid_char_read / uhid_char_read 1 1118d 1118d 0/24 auto-closed as invalid on 2020/01/24 04:26

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

write to 0xffff888107b8117d of 1 bytes by task 24514 on cpu 1:
 uhid_char_read+0x390/0x3e0 drivers/hid/uhid.c:691
 do_loop_readv_writev fs/read_write.c:746 [inline]
 do_iter_read+0x370/0x5d0 fs/read_write.c:788
 vfs_readv fs/read_write.c:906 [inline]
 do_readv+0x171/0x2c0 fs/read_write.c:943
 __do_sys_readv fs/read_write.c:1034 [inline]
 __se_sys_readv fs/read_write.c:1031 [inline]
 __x64_sys_readv+0x41/0x50 fs/read_write.c:1031
 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

read to 0xffff888107b8117d of 1 bytes by task 24513 on cpu 0:
 uhid_char_read+0x192/0x3e0 drivers/hid/uhid.c:669
 do_loop_readv_writev fs/read_write.c:746 [inline]
 do_iter_read+0x370/0x5d0 fs/read_write.c:788
 vfs_readv fs/read_write.c:906 [inline]
 do_readv+0x171/0x2c0 fs/read_write.c:943
 __do_sys_readv fs/read_write.c:1034 [inline]
 __se_sys_readv fs/read_write.c:1031 [inline]
 __x64_sys_readv+0x41/0x50 fs/read_write.c:1031
 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: 0x00 -> 0x01

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

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/11/27 14:47 upstream c5c17547b778 63eeac02 .config log report info KCSAN: data-race in uhid_char_read / uhid_char_read
* Struck through repros no longer work on HEAD.