syzbot


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

Status: auto-obsoleted due to no activity on 2023/08/30 17:21
Subsystems: fs
[Documentation on labels]
First crash: 759d, last: 738d
Similar bugs (9)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in do_sendfile / do_sendfile (3) fs 6 1 939d 939d 0/29 auto-obsoleted due to no activity on 2023/03/17 22:50
upstream KCSAN: data-race in do_sendfile / do_sendfile (4) fs 6 4 827d 850d 0/29 auto-obsoleted due to no activity on 2023/06/02 10:13
upstream KCSAN: data-race in do_sendfile / do_sendfile fs 6 2 1262d 1277d 0/29 auto-closed as invalid on 2022/03/24 16:27
upstream KCSAN: data-race in do_sendfile / do_sendfile (9) fs 6 1 321d 321d 0/29 auto-obsoleted due to no activity on 2024/10/20 07:46
upstream KCSAN: data-race in do_sendfile / do_sendfile (7) fs 6 5 552d 601d 0/29 auto-obsoleted due to no activity on 2024/03/03 18:17
upstream KCSAN: data-race in do_sendfile / do_sendfile (6) fs 6 1 697d 697d 0/29 auto-obsoleted due to no activity on 2023/10/10 12:26
upstream KCSAN: data-race in do_sendfile / do_sendfile (10) fs 6 15 1d00h 262d 0/29 moderation: reported on 2024/11/13 18:24
upstream KCSAN: data-race in do_sendfile / do_sendfile (8) fs 6 2 377d 401d 0/29 auto-obsoleted due to no activity on 2024/08/25 22:44
upstream KCSAN: data-race in do_sendfile / do_sendfile (2) fs 6 1 1078d 1078d 0/29 auto-closed as invalid on 2022/09/24 23:59

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

write to 0xffff888135b6ed40 of 8 bytes by task 13208 on cpu 0:
 do_sendfile+0x76f/0x9a0 fs/read_write.c:1269
 __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 0xffff888135b6ed40 of 8 bytes by task 13214 on cpu 1:
 do_sendfile+0x76f/0x9a0 fs/read_write.c:1269
 __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 -> 0x0000000000208200

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 13214 Comm: syz-executor.2 Not tainted 6.5.0-rc3-syzkaller-00024-g18b44bc5a672 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
==================================================================

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/07/26 17:12 upstream 18b44bc5a672 41fe1bae .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_sendfile / do_sendfile
2023/07/10 12:40 upstream 06c2afb862f9 d47e94ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_sendfile / do_sendfile
2023/07/05 07:01 upstream d528014517f2 80298b6f .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.