syzbot


KCSAN: data-race in __dquot_initialize / integrity_inode_get

Status: auto-closed as invalid on 2021/01/01 06:30
Subsystems: integrity lsm
[Documentation on labels]
Reported-by: syzbot+d7ae3c9eb11702065a2f@syzkaller.appspotmail.com
First crash: 1246d, last: 1246d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in __dquot_initialize / integrity_inode_get

read-write to 0xffff88810d1eb1cc of 4 bytes by task 18120 on cpu 0:
 integrity_inode_get+0x194/0x200 security/integrity/iint.c:124
 process_measurement+0x206/0x1050 security/integrity/ima/ima_main.c:237
 ima_file_check+0x72/0xa0 security/integrity/ima/ima_main.c:498
 do_open fs/namei.c:3254 [inline]
 path_openat+0x1887/0x20a0 fs/namei.c:3369
 do_filp_open+0xbd/0x1d0 fs/namei.c:3396
 do_sys_openat2+0xa3/0x240 fs/open.c:1168
 do_sys_open fs/open.c:1184 [inline]
 __do_sys_open fs/open.c:1192 [inline]
 __se_sys_open fs/open.c:1188 [inline]
 __x64_sys_open+0xe2/0x110 fs/open.c:1188
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff88810d1eb1cc of 4 bytes by task 18109 on cpu 1:
 dquot_active fs/quota/dquot.c:1419 [inline]
 __dquot_initialize+0x5e/0x740 fs/quota/dquot.c:1438
 dquot_initialize fs/quota/dquot.c:1537 [inline]
 dquot_file_open+0x68/0x80 fs/quota/dquot.c:2161
 ext4_file_open+0x186/0x4f0 fs/ext4/file.c:852
 do_dentry_open+0x520/0x870 fs/open.c:817
 vfs_open+0x43/0x50 fs/open.c:931
 do_open fs/namei.c:3252 [inline]
 path_openat+0x1844/0x20a0 fs/namei.c:3369
 do_filp_open+0xbd/0x1d0 fs/namei.c:3396
 do_sys_openat2+0xa3/0x240 fs/open.c:1168
 do_sys_open fs/open.c:1184 [inline]
 __do_sys_open fs/open.c:1192 [inline]
 __se_sys_open fs/open.c:1188 [inline]
 __x64_sys_open+0xe2/0x110 fs/open.c:1188
 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: 18109 Comm: syz-executor.3 Not tainted 5.10.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
2020/11/27 06:29 upstream 4df910620beb 5018c946 .config console log report info ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.