syzbot


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

Status: auto-obsoleted due to no activity on 2022/12/06 21:10
Subsystems: fs
[Documentation on labels]
First crash: 540d, last: 540d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in do_splice / ksys_write fs 1 1631d 1631d 0/26 closed as invalid on 2019/11/19 13:54
upstream KCSAN: data-race in do_splice / ksys_write (2) fs 1 1278d 1278d 0/26 auto-closed as invalid on 2020/11/29 01:06

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

write to 0xffff888122023a68 of 8 bytes by task 6448 on cpu 0:
 do_splice+0xa4f/0xd90 fs/splice.c:1078
 __do_splice fs/splice.c:1139 [inline]
 __do_sys_splice fs/splice.c:1346 [inline]
 __se_sys_splice+0x2a4/0x380 fs/splice.c:1328
 __x64_sys_splice+0x74/0x80 fs/splice.c:1328
 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

write to 0xffff888122023a68 of 8 bytes by task 6445 on cpu 1:
 ksys_write+0x11b/0x1a0 fs/read_write.c:639
 __do_sys_write fs/read_write.c:649 [inline]
 __se_sys_write fs/read_write.c:646 [inline]
 __x64_sys_write+0x3e/0x50 fs/read_write.c:646
 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: 0x0000000000000000 -> 0x0000000000000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 6445 Comm: syz-executor.2 Tainted: G        W          6.1.0-rc3-syzkaller-00035-gf526d6a82242-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/01 21:09 upstream f526d6a82242 08977f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_splice / ksys_write
* Struck through repros no longer work on HEAD.