syzbot


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

Status: auto-closed as invalid on 2022/06/06 18:20
Subsystems: fs
[Documentation on labels]
First crash: 1171d, last: 1168d
Similar bugs (15)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in do_sendfile / ksys_write (16) fs 6 1 446d 446d 0/29 auto-obsoleted due to no activity on 2024/05/28 12:59
upstream KCSAN: data-race in do_sendfile / ksys_write (5) fs 6 1 1637d 1637d 0/29 auto-closed as invalid on 2021/02/23 08:15
upstream KCSAN: data-race in do_sendfile / ksys_write (7) fs 6 3 1268d 1292d 0/29 auto-closed as invalid on 2022/02/27 04:59
upstream KCSAN: data-race in do_sendfile / ksys_write (8) fs 6 1 1227d 1227d 0/29 auto-closed as invalid on 2022/04/08 18:00
upstream KCSAN: data-race in do_sendfile / ksys_write (12) fs 6 2 757d 770d 0/29 auto-obsoleted due to no activity on 2023/07/23 08:25
upstream KCSAN: data-race in do_sendfile / ksys_write (15) fs 6 1 506d 506d 0/29 auto-obsoleted due to no activity on 2024/03/29 14:30
upstream KCSAN: data-race in do_sendfile / ksys_write fs 6 1 2080d 2080d 0/29 closed as invalid on 2019/11/19 13:24
upstream KCSAN: data-race in do_sendfile / ksys_write (14) fs 6 2 582d 581d 0/29 auto-obsoleted due to no activity on 2024/01/14 07:58
upstream KCSAN: data-race in do_sendfile / ksys_write (13) fs 6 5 650d 706d 0/29 auto-obsoleted due to no activity on 2023/11/07 08:57
upstream KCSAN: data-race in do_sendfile / ksys_write (2) fs 6 2 1963d 2025d 0/29 auto-closed as invalid on 2020/05/08 04:57
upstream KCSAN: data-race in do_sendfile / ksys_write (6) fs 6 1 1569d 1569d 0/29 auto-closed as invalid on 2021/05/17 10:56
upstream KCSAN: data-race in do_sendfile / ksys_write (4) fs 6 1 1672d 1672d 0/29 auto-closed as invalid on 2021/01/18 19:47
upstream KCSAN: data-race in do_sendfile / ksys_write (10) fs 6 1 1086d 1086d 0/29 auto-closed as invalid on 2022/08/27 13:39
upstream KCSAN: data-race in do_sendfile / ksys_write (3) fs 6 1 1746d 1746d 0/29 auto-closed as invalid on 2020/11/06 02:13
upstream KCSAN: data-race in do_sendfile / ksys_write (11) fs 6 1 1019d 1019d 0/29 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 0xffff88813909b068 of 8 bytes by task 24979 on cpu 0:
 ksys_write+0x11b/0x1a0 fs/read_write.c:646
 __do_sys_write fs/read_write.c:656 [inline]
 __se_sys_write fs/read_write.c:653 [inline]
 __x64_sys_write+0x3e/0x50 fs/read_write.c:653
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

write to 0xffff88813909b068 of 8 bytes by task 24980 on cpu 1:
 do_sendfile+0x705/0x900 fs/read_write.c:1258
 __do_sys_sendfile64 fs/read_write.c:1305 [inline]
 __se_sys_sendfile64 fs/read_write.c:1297 [inline]
 __x64_sys_sendfile64+0xb9/0x150 fs/read_write.c:1297
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x0000000000000484 -> 0x0000000000000088

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

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/05/02 18:15 upstream 672c0c517342 2df221f6 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in do_sendfile / ksys_write
2022/04/29 17:47 upstream 38d741cb70b3 44a5ca63 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in do_sendfile / ksys_write
* Struck through repros no longer work on HEAD.