syzbot


KCSAN: data-race in d_lru_shrink_move / link_path_walk.part.0

Status: auto-closed as invalid on 2020/06/18 14:14
Subsystems: fs
[Documentation on labels]
First crash: 1455d, last: 1455d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in d_lru_shrink_move / link_path_walk.part.0

write to 0xffff888129979a80 of 4 bytes by task 24451 on cpu 1:
 d_lru_shrink_move+0x57/0xb0 fs/dcache.c:453
 dentry_lru_isolate_shrink+0x57/0x80 fs/dcache.c:1221
 __list_lru_walk_one+0x10b/0x390 mm/list_lru.c:222
 list_lru_walk_one+0x78/0xa0 mm/list_lru.c:266
 list_lru_walk_node+0x4b/0x190 mm/list_lru.c:295
 list_lru_walk include/linux/list_lru.h:215 [inline]
 shrink_dcache_sb+0xa2/0x1c0 fs/dcache.c:1240
 reconfigure_super+0x318/0x570 fs/super.c:940
 do_remount fs/namespace.c:2553 [inline]
 do_mount+0x1120/0x1590 fs/namespace.c:3132
 __do_sys_mount fs/namespace.c:3350 [inline]
 __se_sys_mount fs/namespace.c:3327 [inline]
 __x64_sys_mount+0x12b/0x1a0 fs/namespace.c:3327
 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff888129979a80 of 4 bytes by task 24453 on cpu 0:
 link_path_walk.part.0+0x2af/0x700 fs/namei.c:2131
 link_path_walk fs/namei.c:2098 [inline]
 path_openat+0x191/0x23d0 fs/namei.c:3342
 do_filp_open+0x11e/0x1b0 fs/namei.c:3373
 do_sys_openat2+0x52e/0x680 fs/open.c:1148
 do_sys_open+0xa2/0x110 fs/open.c:1164
 ksys_open include/linux/syscalls.h:1386 [inline]
 __do_sys_open fs/open.c:1170 [inline]
 __se_sys_open fs/open.c:1168 [inline]
 __x64_sys_open+0x50/0x60 fs/open.c:1168
 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 24453 Comm: modprobe Not tainted 5.7.0-rc1-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
2020/05/02 03:43 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 bc734e7a .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.