syzbot


KCSAN: data-race in do_sendfile / do_sendfile (4)

Status: auto-obsoleted due to no activity on 2023/06/02 10:13
Subsystems: fs
[Documentation on labels]
First crash: 397d, last: 373d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in do_sendfile / do_sendfile (3) fs 1 485d 485d 0/26 auto-obsoleted due to no activity on 2023/03/17 22:50
upstream KCSAN: data-race in do_sendfile / do_sendfile fs 2 808d 823d 0/26 auto-closed as invalid on 2022/03/24 16:27
upstream KCSAN: data-race in do_sendfile / do_sendfile (7) fs 5 98d 147d 0/26 auto-obsoleted due to no activity on 2024/03/03 18:17
upstream KCSAN: data-race in do_sendfile / do_sendfile (6) fs 1 243d 243d 0/26 auto-obsoleted due to no activity on 2023/10/10 12:26
upstream KCSAN: data-race in do_sendfile / do_sendfile (5) fs 3 284d 306d 0/26 auto-obsoleted due to no activity on 2023/08/30 17:21
upstream KCSAN: data-race in do_sendfile / do_sendfile (2) fs 1 624d 624d 0/26 auto-closed as invalid on 2022/09/24 23:59

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

write to 0xffff888137e75a68 of 8 bytes by task 2644 on cpu 0:
 do_sendfile+0x777/0x950
 __do_sys_sendfile64 fs/read_write.c:1322 [inline]
 __se_sys_sendfile64 fs/read_write.c:1308 [inline]
 __x64_sys_sendfile64+0x110/0x150 fs/read_write.c:1308
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

write to 0xffff888137e75a68 of 8 bytes by task 2639 on cpu 1:
 do_sendfile+0x777/0x950
 __do_sys_sendfile64 fs/read_write.c:1322 [inline]
 __se_sys_sendfile64 fs/read_write.c:1308 [inline]
 __x64_sys_sendfile64+0x110/0x150 fs/read_write.c:1308
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x0000000000000000 -> 0x0000000000080000

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 2639 Comm: syz-executor.2 Not tainted 6.3.0-syzkaller-10125-g35fab9271b7e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
==================================================================

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/28 10:06 upstream 35fab9271b7e 70a605de .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_sendfile / do_sendfile
2023/04/19 10:46 upstream af67688dca57 94b4184e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_sendfile / do_sendfile
2023/04/06 21:03 upstream f2afccfefe7b 00ce4c67 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_sendfile / do_sendfile
2023/04/05 07:53 upstream 76f598ba7d8e 831373d3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_sendfile / do_sendfile
* Struck through repros no longer work on HEAD.