syzbot


KCSAN: data-race in do_sendfile / ksys_write (7)

Status: auto-closed as invalid on 2022/02/27 04:59
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 333d, last: 309d
similar bugs (10):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in do_sendfile / ksys_write (5) 1 678d 678d 0/24 auto-closed as invalid on 2021/02/23 08:15
upstream KCSAN: data-race in do_sendfile / ksys_write (8) 1 268d 268d 0/24 auto-closed as invalid on 2022/04/08 18:00
upstream KCSAN: data-race in do_sendfile / ksys_write 1 1121d 1121d 0/24 closed as invalid on 2019/11/19 13:24
upstream KCSAN: data-race in do_sendfile / ksys_write (2) 2 1004d 1066d 0/24 auto-closed as invalid on 2020/05/08 04:57
upstream KCSAN: data-race in do_sendfile / ksys_write (6) 1 610d 610d 0/24 auto-closed as invalid on 2021/05/17 10:56
upstream KCSAN: data-race in do_sendfile / ksys_write (4) 1 713d 713d 0/24 auto-closed as invalid on 2021/01/18 19:47
upstream KCSAN: data-race in do_sendfile / ksys_write (10) 1 128d 128d 0/24 auto-closed as invalid on 2022/08/27 13:39
upstream KCSAN: data-race in do_sendfile / ksys_write (3) 1 787d 787d 0/24 auto-closed as invalid on 2020/11/06 02:13
upstream KCSAN: data-race in do_sendfile / ksys_write (9) 2 209d 212d 0/24 auto-closed as invalid on 2022/06/06 18:20
upstream KCSAN: data-race in do_sendfile / ksys_write (11) 1 60d 60d 0/24 auto-obsoleted due to no activity on 2022/11/02 18:18

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

write to 0xffff888133a5a368 of 8 bytes by task 389 on cpu 0:
 ksys_write+0x10c/0x190 fs/read_write.c:645
 __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

read to 0xffff888133a5a368 of 8 bytes by task 391 on cpu 1:
 do_sendfile+0x2a6/0xc40 fs/read_write.c:1216
 __do_sys_sendfile64 fs/read_write.c:1304 [inline]
 __se_sys_sendfile64 fs/read_write.c:1296 [inline]
 __x64_sys_sendfile64+0xb9/0x140 fs/read_write.c:1296
 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: 0x000000000000eeeb -> 0x000000000000eef2

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

Crashes (3):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/01/23 04:51 upstream 1c52283265a4 214351e1 .config log report info KCSAN: data-race in do_sendfile / ksys_write
ci2-upstream-kcsan-gce 2022/01/16 14:52 upstream d0a231f01e5b 723cfaf0 .config log report info KCSAN: data-race in do_sendfile / ksys_write
ci2-upstream-kcsan-gce 2021/12/30 05:45 upstream eec4df26e24e 6cc879d4 .config log report info KCSAN: data-race in do_sendfile / ksys_write
* Struck through repros no longer work on HEAD.