syzbot


KCSAN: data-race in __put_mountpoint / link_path_walk (2)

Status: auto-closed as invalid on 2021/03/06 23:38
Subsystems: fs
[Documentation on labels]
First crash: 1181d, last: 1181d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __put_mountpoint / link_path_walk fs 1 1309d 1309d 0/26 auto-closed as invalid on 2020/10/30 08:53

Sample crash report:
==================================================================
BUG: KCSAN: data-race in __put_mountpoint / link_path_walk

write to 0xffff888141711300 of 4 bytes by task 11660 on cpu 0:
 __put_mountpoint+0x93/0x130 fs/namespace.c:776
 put_mountpoint fs/namespace.c:787 [inline]
 attach_recursive_mnt+0xfe8/0x11c0 fs/namespace.c:2170
 graft_tree fs/namespace.c:2243 [inline]
 do_loopback fs/namespace.c:2371 [inline]
 path_mount+0x127f/0x1ca0 fs/namespace.c:3205
 do_mount fs/namespace.c:3224 [inline]
 __do_sys_mount fs/namespace.c:3432 [inline]
 __se_sys_mount+0x23d/0x2e0 fs/namespace.c:3409
 __x64_sys_mount+0x63/0x70 fs/namespace.c:3409
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff888141711300 of 4 bytes by task 11650 on cpu 1:
 link_path_walk+0x360/0x760 fs/namei.c:2148
 path_lookupat+0x7b/0x560 fs/namei.c:2335
 filename_lookup+0xf2/0x380 fs/namei.c:2369
 user_path_at_empty+0x3b/0x50 fs/namei.c:2649
 user_path_at include/linux/namei.h:59 [inline]
 do_faccessat+0x260/0x500 fs/open.c:423
 __do_sys_access fs/open.c:482 [inline]
 __se_sys_access fs/open.c:480 [inline]
 __x64_sys_access+0x33/0x40 fs/open.c:480
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 11650 Comm: systemd-udevd Not tainted 5.11.0-rc5-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/01/30 23:36 upstream 8c947645151c fc9fd31e .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __put_mountpoint / link_path_walk
* Struck through repros no longer work on HEAD.