syzbot


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

Status: auto-closed as invalid on 2022/02/24 13:47
Subsystems: fs
[Documentation on labels]
First crash: 1333d, last: 1316d
Similar bugs (12)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in ksys_write / ksys_write (6) fs 6 1 1182d 1182d 0/29 auto-closed as invalid on 2022/07/09 10:17
upstream KCSAN: data-race in ksys_write / ksys_write (2) fs 6 1 1862d 1862d 0/29 auto-closed as invalid on 2020/08/28 08:07
upstream KCSAN: data-race in ksys_write / ksys_write (4) fs 6 2 1677d 1699d 0/29 auto-closed as invalid on 2021/03/01 11:18
upstream KCSAN: data-race in ksys_write / ksys_write (8) fs 6 1 1024d 1024d 0/29 auto-obsoleted due to no activity on 2022/12/14 10:38
upstream KCSAN: data-race in ksys_write / ksys_write (7) fs 6 5 1061d 1131d 0/29 auto-obsoleted due to no activity on 2022/11/07 06:37
upstream KCSAN: data-race in ksys_write / ksys_write (13) fs 6 1 277d 277d 0/29 auto-obsoleted due to no activity on 2025/01/19 23:33
upstream KCSAN: data-race in ksys_write / ksys_write (11) fs 6 8 640d 628d 0/29 auto-obsoleted due to no activity on 2024/01/01 18:01
upstream KCSAN: data-race in ksys_write / ksys_write (10) fs 6 1 774d 774d 0/29 auto-obsoleted due to no activity on 2023/08/20 13:19
upstream KCSAN: data-race in ksys_write / ksys_write (3) fs 6 1 1747d 1726d 0/29 auto-closed as invalid on 2020/12/21 12:01
upstream KCSAN: data-race in ksys_write / ksys_write fs 6 8 1929d 2117d 0/29 auto-closed as invalid on 2020/06/22 09:42
upstream KCSAN: data-race in ksys_write / ksys_write (9) fs 6 2 865d 929d 0/29 auto-obsoleted due to no activity on 2023/05/22 00:31
upstream KCSAN: data-race in ksys_write / ksys_write (12) fs 6 3 558d 584d 0/29 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 0xffff888103e70168 of 8 bytes by task 17931 on cpu 1:
 ksys_write+0x10c/0x190 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+0x3e/0x50 fs/read_write.c:652
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888103e70168 of 8 bytes by task 17930 on cpu 0:
 ksys_write+0x9c/0x190 fs/read_write.c:640
 __do_sys_write fs/read_write.c:655 [inline]
 __se_sys_write fs/read_write.c:652 [inline]
 __x64_sys_write+0x3e/0x50 fs/read_write.c:652
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x0000000000000101 -> 0x000000000000013e

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 17930 Comm: syz-executor.5 Not tainted 5.16.0-syzkaller #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/01/20 13:46 upstream 1d1df41c5a33 5da9499f .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ksys_write / ksys_write
2022/01/03 14:26 upstream c9e6606c7fe9 e1768e9c .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.