syzbot


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

Status: auto-closed as invalid on 2020/07/29 14:23
Subsystems: fs
[Documentation on labels]
First crash: 1399d, last: 1399d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __put_mountpoint / dput fs 2 1570d 1618d 0/26 auto-closed as invalid on 2020/03/15 20:36
upstream KCSAN: data-race in __put_mountpoint / dput (3) fs 1 1364d 1364d 0/26 auto-closed as invalid on 2020/09/03 07:07

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

write to 0xffff8880824a5a80 of 4 bytes by task 1966 on cpu 0:
 __put_mountpoint+0x93/0x130 fs/namespace.c:776
 put_mountpoint fs/namespace.c:787 [inline]
 umount_mnt fs/namespace.c:838 [inline]
 umount_tree+0x812/0x8e0 fs/namespace.c:1522
 do_umount fs/namespace.c:1642 [inline]
 ksys_umount+0x9c6/0xa80 fs/namespace.c:1748
 __do_sys_umount fs/namespace.c:1759 [inline]
 __se_sys_umount fs/namespace.c:1757 [inline]
 __x64_sys_umount+0x2c/0x40 fs/namespace.c:1757
 do_syscall_64+0x71/0x120 arch/x86/entry/common.c:359
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff8880824a5a80 of 4 bytes by task 1957 on cpu 1:
 fast_dput fs/dcache.c:746 [inline]
 dput+0x2f/0x420 fs/dcache.c:865
 cleanup_mnt+0x265/0x2e0 fs/namespace.c:1117
 __cleanup_mnt+0x15/0x20 fs/namespace.c:1125
 task_work_run+0x8e/0x110 kernel/task_work.c:123
 tracehook_notify_resume include/linux/tracehook.h:188 [inline]
 exit_to_usermode_loop arch/x86/entry/common.c:216 [inline]
 __prepare_exit_to_usermode+0x1c8/0x230 arch/x86/entry/common.c:246
 __syscall_return_slowpath arch/x86/entry/common.c:329 [inline]
 do_syscall_64+0xb9/0x120 arch/x86/entry/common.c:368
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 1957 Comm: syz-executor.3 Not tainted 5.8.0-rc2-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/06/24 14:21 upstream 3e08a95294a4 41694dbf .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.