syzbot


KCSAN: data-race in do_vfs_ioctl / setattr_copy (2)

Status: auto-closed as invalid on 2022/04/15 00:29
Subsystems: fs
[Documentation on labels]
First crash: 770d, last: 770d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in do_vfs_ioctl / setattr_copy fs 1 869d 869d 0/26 auto-closed as invalid on 2022/01/06 04:08

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

write to 0xffff88810681d0b8 of 2 bytes by task 29891 on cpu 0:
 setattr_copy+0x238/0x250 fs/attr.c:247
 shmem_setattr+0xb0/0x450 mm/shmem.c:1110
 notify_change+0x924/0xbf0 fs/attr.c:410
 chmod_common+0x13c/0x270 fs/open.c:582
 do_fchmodat fs/open.c:621 [inline]
 __do_sys_chmod fs/open.c:639 [inline]
 __se_sys_chmod fs/open.c:637 [inline]
 __x64_sys_chmod+0x9b/0x120 fs/open.c:637
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff88810681d0b8 of 2 bytes by task 1817 on cpu 1:
 do_vfs_ioctl+0x71b/0x14a0 fs/ioctl.c:852
 __do_sys_ioctl fs/ioctl.c:872 [inline]
 __se_sys_ioctl+0x83/0x140 fs/ioctl.c:860
 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:860
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x6180 -> 0x61b0

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 1817 Comm: syz-executor.0 Not tainted 5.17.0-rc7-syzkaller-00105-g1db333d9a51f-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/03/11 00:24 upstream 1db333d9a51f 9e8eaa75 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in do_vfs_ioctl / setattr_copy
* Struck through repros no longer work on HEAD.