syzbot


KCSAN: data-race in common_perm_create.constprop.0 / vfs_get_tree

Status: auto-closed as invalid on 2020/04/17 03:14
Subsystems: apparmor
[Documentation on labels]
First crash: 1537d, last: 1537d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in common_perm_create.constprop.0 / vfs_get_tree

read to 0xffff88812ab77050 of 8 bytes by task 13319 on cpu 1:
 path_mediated_fs security/apparmor/include/lib.h:89 [inline]
 common_perm_create.constprop.0+0xa6/0x140 security/apparmor/lsm.c:295
 apparmor_path_mkdir+0x33/0x50 security/apparmor/lsm.c:309
 security_path_mkdir+0xb8/0xf0 security/security.c:1029
 do_mkdirat+0xef/0x1f0 fs/namei.c:3840
 __do_sys_mkdir fs/namei.c:3858 [inline]
 __se_sys_mkdir fs/namei.c:3856 [inline]
 __x64_sys_mkdir+0x40/0x50 fs/namei.c:3856
 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

write to 0xffff88812ab77050 of 8 bytes by task 13324 on cpu 0:
 vfs_get_tree+0xcf/0x1a0 fs/super.c:1568
 do_new_mount fs/namespace.c:2822 [inline]
 do_mount+0x1004/0x14f0 fs/namespace.c:3142
 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

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 13324 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/02/07 03:08 https://github.com/google/ktsan.git kcsan 245a43005292 06150bf1 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.