syzbot


KCSAN: data-race in ksys_read / ksys_read (2)

Status: auto-obsoleted due to no activity on 2024/02/26 05:40
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+fca88e7eee2ae16afd5d@syzkaller.appspotmail.com
First crash: 99d, last: 99d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in ksys_read / ksys_read fs 2 769d 772d 0/26 auto-closed as invalid on 2022/04/27 10:35

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

read to 0xffff888150168c40 of 8 bytes by task 32624 on cpu 1:
 ksys_read+0xad/0x1a0 fs/read_write.c:616
 __do_sys_read fs/read_write.c:629 [inline]
 __se_sys_read fs/read_write.c:627 [inline]
 __x64_sys_read+0x42/0x50 fs/read_write.c:627
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x59/0x120 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

write to 0xffff888150168c40 of 8 bytes by task 32625 on cpu 0:
 ksys_read+0x11e/0x1a0 fs/read_write.c:621
 __do_sys_read fs/read_write.c:629 [inline]
 __se_sys_read fs/read_write.c:627 [inline]
 __x64_sys_read+0x42/0x50 fs/read_write.c:627
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x59/0x120 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

value changed: 0x0000000000000038 -> 0x0000000000000058

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 32625 Comm: syz-executor.3 Not tainted 6.7.0-syzkaller-13004-g4fbbed787267 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/22 05:39 upstream 4fbbed787267 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ksys_read / ksys_read
* Struck through repros no longer work on HEAD.