syzbot


KCSAN: data-race in __fsnotify_parent / vfs_rename (2)

Status: auto-closed as invalid on 2021/07/01 07:39
Subsystems: fs
[Documentation on labels]
First crash: 1342d, last: 1342d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __fsnotify_parent / vfs_rename fs 22 1379d 1513d 0/28 auto-closed as invalid on 2021/05/25 10:46

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

write to 0xffff888139156480 of 4 bytes by task 17750 on cpu 0:
 dont_mount include/linux/dcache.h:358 [inline]
 vfs_rename+0xe4a/0xfb0 fs/namei.c:4551
 do_renameat2+0x59e/0x9b0 fs/namei.c:4696
 __do_sys_rename fs/namei.c:4745 [inline]
 __se_sys_rename fs/namei.c:4743 [inline]
 __x64_sys_rename+0x58/0x60 fs/namei.c:4743
 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888139156480 of 4 bytes by task 17748 on cpu 1:
 __fsnotify_parent+0x7d/0x430 fs/notify/fsnotify.c:187
 fsnotify_parent include/linux/fsnotify.h:68 [inline]
 fsnotify_file include/linux/fsnotify.h:90 [inline]
 fsnotify_access include/linux/fsnotify.h:247 [inline]
 vfs_read+0x35f/0x5d0 fs/read_write.c:500
 ksys_read+0xce/0x180 fs/read_write.c:634
 __do_sys_read fs/read_write.c:644 [inline]
 __se_sys_read fs/read_write.c:642 [inline]
 __x64_sys_read+0x3e/0x50 fs/read_write.c:642
 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 17748 Comm: systemd-udevd Not tainted 5.13.0-rc3-syzkaller #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
2021/05/27 07:37 upstream 7ac3a1c1ae51 858ea628 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __fsnotify_parent / vfs_rename
* Struck through repros no longer work on HEAD.