syzbot


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

Status: auto-obsoleted due to no activity on 2024/08/25 22:44
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+b53ccd1d8d8f06f6c8b8@syzkaller.appspotmail.com
First crash: 146d, last: 122d
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in do_sendfile / do_sendfile (3) fs 1 684d 684d 0/28 auto-obsoleted due to no activity on 2023/03/17 22:50
upstream KCSAN: data-race in do_sendfile / do_sendfile (4) fs 4 573d 596d 0/28 auto-obsoleted due to no activity on 2023/06/02 10:13
upstream KCSAN: data-race in do_sendfile / do_sendfile fs 2 1007d 1022d 0/28 auto-closed as invalid on 2022/03/24 16:27
upstream KCSAN: data-race in do_sendfile / do_sendfile (9) fs 1 67d 67d 0/28 auto-obsoleted due to no activity on 2024/10/20 07:46
upstream KCSAN: data-race in do_sendfile / do_sendfile (7) fs 5 297d 346d 0/28 auto-obsoleted due to no activity on 2024/03/03 18:17
upstream KCSAN: data-race in do_sendfile / do_sendfile (6) fs 1 442d 442d 0/28 auto-obsoleted due to no activity on 2023/10/10 12:26
upstream KCSAN: data-race in do_sendfile / do_sendfile (10) fs 1 7d17h 7d17h 0/28 moderation: reported on 2024/11/13 18:24
upstream KCSAN: data-race in do_sendfile / do_sendfile (5) fs 3 483d 505d 0/28 auto-obsoleted due to no activity on 2023/08/30 17:21
upstream KCSAN: data-race in do_sendfile / do_sendfile (2) fs 1 823d 823d 0/28 auto-closed as invalid on 2022/09/24 23:59

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

write to 0xffff888104113a40 of 8 bytes by task 4789 on cpu 1:
 do_sendfile+0x76d/0x950
 __do_sys_sendfile64 fs/read_write.c:1362 [inline]
 __se_sys_sendfile64 fs/read_write.c:1348 [inline]
 __x64_sys_sendfile64+0x110/0x150 fs/read_write.c:1348
 x64_sys_call+0xfc3/0x2e00 arch/x86/include/generated/asm/syscalls_64.h:41
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

write to 0xffff888104113a40 of 8 bytes by task 4788 on cpu 0:
 do_sendfile+0x76d/0x950
 __do_sys_sendfile64 fs/read_write.c:1362 [inline]
 __se_sys_sendfile64 fs/read_write.c:1348 [inline]
 __x64_sys_sendfile64+0x110/0x150 fs/read_write.c:1348
 x64_sys_call+0xfc3/0x2e00 arch/x86/include/generated/asm/syscalls_64.h:41
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0x0000000000000000 -> 0x0000000000000002

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 4788 Comm: syz.1.350 Not tainted 6.10.0-syzkaller-10729-g3c3ff7be9729 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
==================================================================

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/21 22:44 upstream 3c3ff7be9729 b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_sendfile / do_sendfile
2024/06/27 21:22 upstream 66e55ff12e73 6ef39602 .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.