syzbot


KCSAN: data-race in ksys_write / ksys_write (7)

Status: auto-obsoleted due to no activity on 2022/11/07 06:37
Subsystems: fs
[Documentation on labels]
First crash: 675d, last: 604d
Similar bugs (11)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in ksys_write / ksys_write (6) fs 1 725d 725d 0/26 auto-closed as invalid on 2022/07/09 10:17
upstream KCSAN: data-race in ksys_write / ksys_write (2) fs 1 1405d 1405d 0/26 auto-closed as invalid on 2020/08/28 08:07
upstream KCSAN: data-race in ksys_write / ksys_write (4) fs 2 1220d 1243d 0/26 auto-closed as invalid on 2021/03/01 11:18
upstream KCSAN: data-race in ksys_write / ksys_write (5) fs 2 860d 877d 0/26 auto-closed as invalid on 2022/02/24 13:47
upstream KCSAN: data-race in ksys_write / ksys_write (8) fs 1 567d 567d 0/26 auto-obsoleted due to no activity on 2022/12/14 10:38
upstream KCSAN: data-race in ksys_write / ksys_write (11) fs 8 184d 171d 0/26 auto-obsoleted due to no activity on 2024/01/01 18:01
upstream KCSAN: data-race in ksys_write / ksys_write (10) fs 1 318d 318d 0/26 auto-obsoleted due to no activity on 2023/08/20 13:19
upstream KCSAN: data-race in ksys_write / ksys_write (3) fs 1 1290d 1269d 0/26 auto-closed as invalid on 2020/12/21 12:01
upstream KCSAN: data-race in ksys_write / ksys_write fs 8 1472d 1661d 0/26 auto-closed as invalid on 2020/06/22 09:42
upstream KCSAN: data-race in ksys_write / ksys_write (9) fs 2 408d 473d 0/26 auto-obsoleted due to no activity on 2023/05/22 00:31
upstream KCSAN: data-race in ksys_write / ksys_write (12) fs 3 101d 128d 0/26 auto-obsoleted due to no activity on 2024/03/24 05:08

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

write to 0xffff8881040e5668 of 8 bytes by task 8594 on cpu 1:
 ksys_write+0x11b/0x1a0 fs/read_write.c:639
 __do_sys_write fs/read_write.c:649 [inline]
 __se_sys_write fs/read_write.c:646 [inline]
 __x64_sys_write+0x3e/0x50 fs/read_write.c:646
 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+0x63/0xcd

write to 0xffff8881040e5668 of 8 bytes by task 8593 on cpu 0:
 ksys_write+0x11b/0x1a0 fs/read_write.c:639
 __do_sys_write fs/read_write.c:649 [inline]
 __se_sys_write fs/read_write.c:646 [inline]
 __x64_sys_write+0x3e/0x50 fs/read_write.c:646
 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+0x63/0xcd

value changed: 0x00000000000005dc -> 0x00000000000006cc

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 8593 Comm: syz-executor.2 Not tainted 6.0.0-rc7-syzkaller-00250-ga962b54e162c-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
==================================================================

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/10/03 06:36 upstream a962b54e162c feb56351 .config console log report info [disk image] [vmlinux] ci2-upstream-kcsan-gce KCSAN: data-race in ksys_write / ksys_write
2022/09/26 18:51 upstream f76349cf4145 d59ba983 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ksys_write / ksys_write
2022/08/22 21:14 upstream 1c23f9e627a7 26a13b38 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ksys_write / ksys_write
2022/08/01 15:29 upstream 3d7cb6b04c3f fef302b1 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ksys_write / ksys_write
2022/07/24 15:05 upstream 515f71412bb7 22343af4 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ksys_write / ksys_write
* Struck through repros no longer work on HEAD.