syzbot


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

Status: auto-obsoleted due to no activity on 2023/10/10 12:26
Subsystems: fs
[Documentation on labels]
First crash: 620d, last: 620d
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 861d 861d 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 750d 773d 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 1185d 1200d 0/28 auto-closed as invalid on 2022/03/24 16:27
upstream KCSAN: data-race in do_sendfile / do_sendfile (9) fs 1 244d 244d 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 475d 523d 0/28 auto-obsoleted due to no activity on 2024/03/03 18:17
upstream KCSAN: data-race in do_sendfile / do_sendfile (10) fs 10 16d 185d 0/28 moderation: reported on 2024/11/13 18:24
upstream KCSAN: data-race in do_sendfile / do_sendfile (5) fs 3 661d 682d 0/28 auto-obsoleted due to no activity on 2023/08/30 17:21
upstream KCSAN: data-race in do_sendfile / do_sendfile (8) fs 2 299d 323d 0/28 auto-obsoleted due to no activity on 2024/08/25 22:44
upstream KCSAN: data-race in do_sendfile / do_sendfile (2) fs 1 1000d 1000d 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 0xffff888140ab8e40 of 8 bytes by task 4831 on cpu 0:
 do_sendfile+0x79d/0x9a0
 __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 0xffff888140ab8e40 of 8 bytes by task 4832 on cpu 1:
 do_sendfile+0x79d/0x9a0
 __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 -> 0x0000000000003000

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 4832 Comm: syz-executor.5 Not tainted 6.5.0-syzkaller-11704-g3f86ed6ec0b3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/09/05 12:22 upstream 3f86ed6ec0b3 0b6286dc .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in do_sendfile / do_sendfile
* Struck through repros no longer work on HEAD.