syzbot


KCSAN: data-race in d_lru_shrink_move / path_openat

Status: auto-closed as invalid on 2020/03/21 01:47
Subsystems: fs
[Documentation on labels]
First crash: 1567d, last: 1567d

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

write to 0xffff8880b4984900 of 4 bytes by task 5209 on cpu 0:
 d_lru_shrink_move+0x5c/0xc0 fs/dcache.c:453
 dentry_lru_isolate_shrink+0x5e/0x90 fs/dcache.c:1221
 __list_lru_walk_one+0x110/0x390 mm/list_lru.c:232
 list_lru_walk_node+0x140/0x190 mm/list_lru.c:312
 list_lru_walk include/linux/list_lru.h:215 [inline]
 shrink_dcache_sb+0xa1/0x1d0 fs/dcache.c:1240
 reconfigure_super+0x31a/0x570 fs/super.c:938
 do_remount fs/namespace.c:2553 [inline]
 do_mount+0x1136/0x14f0 fs/namespace.c:3133
 ksys_mount+0xe8/0x160 fs/namespace.c:3351
 __do_sys_mount fs/namespace.c:3365 [inline]
 __se_sys_mount fs/namespace.c:3362 [inline]
 __x64_sys_mount+0x70/0x90 fs/namespace.c:3362
 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff8880b4984900 of 4 bytes by task 7961 on cpu 1:
 do_last fs/namei.c:3394 [inline]
 path_openat+0x4ae/0x3580 fs/namei.c:3537
 do_filp_open+0x11e/0x1b0 fs/namei.c:3567
 do_sys_open+0x3b3/0x4f0 fs/open.c:1097
 __do_sys_open fs/open.c:1115 [inline]
 __se_sys_open fs/open.c:1110 [inline]
 __x64_sys_open+0x55/0x70 fs/open.c:1110
 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 7961 Comm: syz-executor.3 Not tainted 5.5.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/01/11 01:40 https://github.com/google/ktsan.git kcsan 245a43005292 532ec44e .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.