syzbot


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

Status: auto-obsoleted due to no activity on 2024/01/01 18:01
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+c40eb8eed5d66937e38d@syzkaller.appspotmail.com
First crash: 433d, last: 348d
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 889d 889d 0/28 auto-closed as invalid on 2022/07/09 10:17
upstream KCSAN: data-race in ksys_write / ksys_write (2) fs 1 1569d 1569d 0/28 auto-closed as invalid on 2020/08/28 08:07
upstream KCSAN: data-race in ksys_write / ksys_write (4) fs 2 1384d 1407d 0/28 auto-closed as invalid on 2021/03/01 11:18
upstream KCSAN: data-race in ksys_write / ksys_write (5) fs 2 1024d 1041d 0/28 auto-closed as invalid on 2022/02/24 13:47
upstream KCSAN: data-race in ksys_write / ksys_write (8) fs 1 731d 731d 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 769d 839d 0/28 auto-obsoleted due to no activity on 2022/11/07 06:37
upstream KCSAN: data-race in ksys_write / ksys_write (10) fs 1 482d 482d 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 1455d 1433d 0/28 auto-closed as invalid on 2020/12/21 12:01
upstream KCSAN: data-race in ksys_write / ksys_write fs 8 1636d 1825d 0/28 auto-closed as invalid on 2020/06/22 09:42
upstream KCSAN: data-race in ksys_write / ksys_write (9) fs 2 573d 637d 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 266d 292d 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 0xffff888136e7d240 of 8 bytes by task 3229 on cpu 1:
 ksys_write+0x11e/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+0x42/0x50 fs/read_write.c:646
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

read to 0xffff888136e7d240 of 8 bytes by task 3230 on cpu 0:
 ksys_write+0xad/0x1a0 fs/read_write.c:634
 __do_sys_write fs/read_write.c:649 [inline]
 __se_sys_write fs/read_write.c:646 [inline]
 __x64_sys_write+0x42/0x50 fs/read_write.c:646
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

value changed: 0x000000000000077d -> 0x00000000000007bc

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 3230 Comm: syz-executor.4 Not tainted 6.7.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
==================================================================

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/27 18:00 upstream 2cc14f52aeb7 7ec6c044 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ksys_write / ksys_write
2023/11/26 12:12 upstream 090472ed9c92 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ksys_write / ksys_write
2023/10/22 15:30 upstream 1acfd2bd3f0d 361b23dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ksys_write / ksys_write
2023/10/05 06:56 upstream ba7d997a2a29 b7d7ff54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ksys_write / ksys_write
2023/09/25 22:30 upstream 6465e260f487 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ksys_write / ksys_write
2023/09/22 18:02 upstream 27bbf45eae9c 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ksys_write / ksys_write
2023/09/18 06:53 upstream ce9ecca0238b 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ksys_write / ksys_write
2023/09/04 01:45 upstream 6e32dfcccfcc 696ea0d2 .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.