syzbot


KCSAN: data-race in ksys_read / ksys_write (3)

Status: auto-closed as invalid on 2022/08/18 02:32
Subsystems: fs
[Documentation on labels]
First crash: 645d, last: 645d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in ksys_read / ksys_write fs 8 1603d 1640d 0/26 auto-closed as invalid on 2020/02/07 14:57
upstream KCSAN: data-race in ksys_read / ksys_write (2) fs 1 1338d 1338d 0/26 auto-closed as invalid on 2020/09/24 13:26

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

write to 0xffff888140b8ee68 of 8 bytes by task 23181 on cpu 0:
 ksys_read+0x11b/0x1a0 fs/read_write.c:622
 __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+0x63/0xcd

read to 0xffff888140b8ee68 of 8 bytes by task 23180 on cpu 1:
 ksys_write+0xa9/0x1a0 fs/read_write.c:641
 __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+0x63/0xcd

value changed: 0x0000000000001262 -> 0x0000000000001a18

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 23180 Comm: syz-executor.3 Not tainted 5.19.0-rc6-syzkaller-00115-g4a57a8400075-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/07/14 02:25 upstream 4a57a8400075 5d921b08 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ksys_read / ksys_write
* Struck through repros no longer work on HEAD.