syzbot


KCSAN: data-race in do_fcntl / do_sys_ftruncate

Status: auto-obsoleted due to no activity on 2023/10/16 01:36
Subsystems: fs
[Documentation on labels]
First crash: 505d, last: 505d

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

read-write to 0xffff888136f97248 of 4 bytes by task 1488 on cpu 0:
 setfl fs/fcntl.c:81 [inline]
 do_fcntl+0xde7/0xeb0 fs/fcntl.c:342
 __do_sys_fcntl fs/fcntl.c:456 [inline]
 __se_sys_fcntl+0xc4/0x180 fs/fcntl.c:441
 __x64_sys_fcntl+0x43/0x50 fs/fcntl.c:441
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff888136f97248 of 4 bytes by task 1489 on cpu 1:
 do_sys_ftruncate+0x64/0x3b0 fs/open.c:173
 __do_sys_ftruncate fs/open.c:205 [inline]
 __se_sys_ftruncate fs/open.c:203 [inline]
 __x64_sys_ftruncate+0x33/0x40 fs/open.c:203
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x00008001 -> 0x0004c801

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 1489 Comm: syz-executor.5 Not tainted 6.5.0-syzkaller-13160-g1548b060d6f3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/09/11 01:25 upstream 1548b060d6f3 6654cf89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_fcntl / do_sys_ftruncate
* Struck through repros no longer work on HEAD.