syzbot


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

Status: auto-closed as invalid on 2022/07/09 10:17
Subsystems: fs
[Documentation on labels]
First crash: 969d, last: 969d
Similar bugs (12)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in ksys_write / ksys_write (2) fs 1 1649d 1649d 0/28 auto-closed as invalid on 2020/08/28 08:07
upstream KCSAN: data-race in ksys_write / ksys_write (4) fs 2 1464d 1487d 0/28 auto-closed as invalid on 2021/03/01 11:18
upstream KCSAN: data-race in ksys_write / ksys_write (5) fs 2 1104d 1121d 0/28 auto-closed as invalid on 2022/02/24 13:47
upstream KCSAN: data-race in ksys_write / ksys_write (8) fs 1 811d 811d 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 848d 919d 0/28 auto-obsoleted due to no activity on 2022/11/07 06:37
upstream KCSAN: data-race in ksys_write / ksys_write (13) fs 1 65d 65d 0/28 auto-obsoleted due to no activity on 2025/01/19 23:33
upstream KCSAN: data-race in ksys_write / ksys_write (11) fs 8 428d 415d 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 562d 562d 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 1535d 1513d 0/28 auto-closed as invalid on 2020/12/21 12:01
upstream KCSAN: data-race in ksys_write / ksys_write fs 8 1716d 1905d 0/28 auto-closed as invalid on 2020/06/22 09:42
upstream KCSAN: data-race in ksys_write / ksys_write (9) fs 2 652d 717d 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 345d 372d 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 0xffff88812e840368 of 8 bytes by task 4592 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+0x46/0xb0

write to 0xffff88812e840368 of 8 bytes by task 4591 on cpu 1:
 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+0x46/0xb0

value changed: 0x000000000000001e -> 0x0000000000000022

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

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/06/04 10:07 upstream 744983d87842 c8857892 .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.