syzbot


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

Status: auto-obsoleted due to no activity on 2024/03/24 05:08
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+aea4865ae5110da08e20@syzkaller.appspotmail.com
First crash: 87d, last: 61d
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 685d 685d 0/26 auto-closed as invalid on 2022/07/09 10:17
upstream KCSAN: data-race in ksys_write / ksys_write (2) fs 1 1365d 1365d 0/26 auto-closed as invalid on 2020/08/28 08:07
upstream KCSAN: data-race in ksys_write / ksys_write (4) fs 2 1180d 1202d 0/26 auto-closed as invalid on 2021/03/01 11:18
upstream KCSAN: data-race in ksys_write / ksys_write (5) fs 2 819d 836d 0/26 auto-closed as invalid on 2022/02/24 13:47
upstream KCSAN: data-race in ksys_write / ksys_write (8) fs 1 527d 527d 0/26 auto-obsoleted due to no activity on 2022/12/14 10:38
upstream KCSAN: data-race in ksys_write / ksys_write (7) fs 5 564d 634d 0/26 auto-obsoleted due to no activity on 2022/11/07 06:37
upstream KCSAN: data-race in ksys_write / ksys_write (11) fs 8 143d 131d 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 277d 277d 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 1250d 1229d 0/26 auto-closed as invalid on 2020/12/21 12:01
upstream KCSAN: data-race in ksys_write / ksys_write fs 8 1432d 1620d 0/26 auto-closed as invalid on 2020/06/22 09:42
upstream KCSAN: data-race in ksys_write / ksys_write (9) fs 2 368d 432d 0/26 auto-obsoleted due to no activity on 2023/05/22 00:31

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

write to 0xffff8881348ae840 of 8 bytes by task 1999 on cpu 0:
 ksys_write+0x11e/0x1a0 fs/read_write.c:645
 __do_sys_write fs/read_write.c:655 [inline]
 __se_sys_write fs/read_write.c:652 [inline]
 __x64_sys_write+0x42/0x50 fs/read_write.c:652
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

write to 0xffff8881348ae840 of 8 bytes by task 1993 on cpu 1:
 ksys_write+0x11e/0x1a0 fs/read_write.c:645
 __do_sys_write fs/read_write.c:655 [inline]
 __se_sys_write fs/read_write.c:652 [inline]
 __x64_sys_write+0x42/0x50 fs/read_write.c:652
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

value changed: 0x0000000000000c78 -> 0x0000000000000db0

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 1993 Comm: syz-executor.3 Not tainted 6.8.0-rc4-syzkaller-00388-gced590523156 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
==================================================================

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/18 05:07 upstream ced590523156 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ksys_write / ksys_write
2024/01/28 17:32 upstream 8a696a29c690 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ksys_write / ksys_write
2024/01/22 19:01 upstream 6613476e225e 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ksys_write / ksys_write
* Struck through repros no longer work on HEAD.