syzbot


KCSAN: data-race in integrity_inode_get / may_open

Status: auto-closed as invalid on 2021/01/21 16:54
Subsystems: integrity lsm
[Documentation on labels]
First crash: 1217d, last: 1217d

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

read-write to 0xffff88810be1662c of 4 bytes by task 2378 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:1172
 do_sys_open fs/open.c:1188 [inline]
 __do_sys_open fs/open.c:1196 [inline]
 __se_sys_open fs/open.c:1192 [inline]
 __x64_sys_open+0xe2/0x110 fs/open.c:1192
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff88810be1662c of 4 bytes by task 2379 on cpu 1:
 may_open+0x1d1/0x2e0 fs/namei.c:2882
 do_open fs/namei.c:3250 [inline]
 path_openat+0x17ac/0x20a0 fs/namei.c:3369
 do_filp_open+0xbd/0x1d0 fs/namei.c:3396
 do_sys_openat2+0xa3/0x240 fs/open.c:1172
 do_sys_open fs/open.c:1188 [inline]
 __do_sys_open fs/open.c:1196 [inline]
 __se_sys_open fs/open.c:1192 [inline]
 __x64_sys_open+0xe2/0x110 fs/open.c:1192
 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: 2379 Comm: modprobe Not tainted 5.10.0-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/12/17 16:46 upstream accefff5b547 04201c06 .config console log report info ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.