syzbot


KCSAN: data-race in common_perm_rm.constprop.0 / ext4_remount

Status: auto-closed as invalid on 2020/03/08 03:24
Subsystems: apparmor
[Documentation on labels]
First crash: 1572d, last: 1572d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in common_perm_rm.constprop.0 / ext4_remount

read to 0xffff8882182ae850 of 8 bytes by task 9554 on cpu 0:
 path_mediated_fs security/apparmor/include/lib.h:89 [inline]
 common_perm_rm.constprop.0+0x7b/0x150 security/apparmor/lsm.c:271
 apparmor_path_unlink+0x2e/0x40 security/apparmor/lsm.c:303
 security_path_unlink+0xa3/0xd0 security/security.c:1044
 do_unlinkat+0x2f1/0x530 fs/namei.c:4064
 __do_sys_unlink fs/namei.c:4114 [inline]
 __se_sys_unlink fs/namei.c:4112 [inline]
 __x64_sys_unlink+0x3b/0x50 fs/namei.c:4112
 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

write to 0xffff8882182ae850 of 8 bytes by task 11369 on cpu 1:
 ext4_remount+0x864/0x13a0 fs/ext4/super.c:5372
 legacy_reconfigure+0x9a/0xc0 fs/fs_context.c:670
 reconfigure_super+0x36a/0x570 fs/super.c:955
 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

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 11369 Comm: syz-executor.0 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
2019/12/29 03:17 https://github.com/google/ktsan.git kcsan 245a43005292 af6b8ef8 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.