syzbot


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

Status: moderation: reported on 2024/11/24 23:33
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+1b1b9dcd18fc25da8f7d@syzkaller.appspotmail.com
First crash: 2d00h, last: 2d00h
Similar bugs (12)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in ksys_write / ksys_write (6) fs 1 906d 906d 0/28 auto-closed as invalid on 2022/07/09 10:17
upstream KCSAN: data-race in ksys_write / ksys_write (2) fs 1 1586d 1586d 0/28 auto-closed as invalid on 2020/08/28 08:07
upstream KCSAN: data-race in ksys_write / ksys_write (4) fs 2 1401d 1424d 0/28 auto-closed as invalid on 2021/03/01 11:18
upstream KCSAN: data-race in ksys_write / ksys_write (5) fs 2 1041d 1058d 0/28 auto-closed as invalid on 2022/02/24 13:47
upstream KCSAN: data-race in ksys_write / ksys_write (8) fs 1 748d 748d 0/28 auto-obsoleted due to no activity on 2022/12/14 10:38
upstream KCSAN: data-race in ksys_write / ksys_write (7) fs 5 785d 856d 0/28 auto-obsoleted due to no activity on 2022/11/07 06:37
upstream KCSAN: data-race in ksys_write / ksys_write (11) fs 8 365d 352d 0/28 auto-obsoleted due to no activity on 2024/01/01 18:01
upstream KCSAN: data-race in ksys_write / ksys_write (10) fs 1 499d 499d 0/28 auto-obsoleted due to no activity on 2023/08/20 13:19
upstream KCSAN: data-race in ksys_write / ksys_write (3) fs 1 1471d 1450d 0/28 auto-closed as invalid on 2020/12/21 12:01
upstream KCSAN: data-race in ksys_write / ksys_write fs 8 1653d 1842d 0/28 auto-closed as invalid on 2020/06/22 09:42
upstream KCSAN: data-race in ksys_write / ksys_write (9) fs 2 589d 654d 0/28 auto-obsoleted due to no activity on 2023/05/22 00:31
upstream KCSAN: data-race in ksys_write / ksys_write (12) fs 3 282d 309d 0/28 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 0xffff88811674b070 of 8 bytes by task 8890 on cpu 1:
 ksys_write+0x11b/0x1b0 fs/read_write.c:733
 __do_sys_write fs/read_write.c:742 [inline]
 __se_sys_write fs/read_write.c:739 [inline]
 __x64_sys_write+0x42/0x50 fs/read_write.c:739
 x64_sys_call+0x287e/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:2
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

write to 0xffff88811674b070 of 8 bytes by task 8891 on cpu 0:
 ksys_write+0x11b/0x1b0 fs/read_write.c:733
 __do_sys_write fs/read_write.c:742 [inline]
 __se_sys_write fs/read_write.c:739 [inline]
 __x64_sys_write+0x42/0x50 fs/read_write.c:739
 x64_sys_call+0x287e/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:2
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0x0000000000000000 -> 0x000000000000000b

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 UID: 0 PID: 8891 Comm: syz.2.1842 Not tainted 6.12.0-syzkaller-09073-g9f16d5e6f220 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/24 23:32 upstream 9f16d5e6f220 68da6d95 .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.