syzbot


KCSAN: data-race in inode_permission / inode_permission (3)

Status: auto-closed as invalid on 2020/09/24 20:47
Subsystems: fs
[Documentation on labels]
First crash: 1621d, last: 1621d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in inode_permission / inode_permission (4) fs 1 1547d 1512d 0/28 auto-closed as invalid on 2020/12/21 11:15
upstream KCSAN: data-race in inode_permission / inode_permission (5) fs 12 1338d 1447d 0/28 auto-closed as invalid on 2021/07/04 17:17
upstream KCSAN: data-race in inode_permission / inode_permission (2) fs 1 1659d 1659d 0/28 auto-closed as invalid on 2020/08/17 22:52
upstream KCSAN: data-race in inode_permission / inode_permission fs 27 1761d 1922d 0/28 auto-closed as invalid on 2020/06/11 10:47

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

write to 0xffff8880b910daea of 2 bytes by task 1 on cpu 0:
 do_inode_permission fs/namei.c:402 [inline]
 inode_permission+0x314/0x330 fs/namei.c:463
 may_lookup fs/namei.c:1569 [inline]
 link_path_walk+0x14a/0x730 fs/namei.c:2125
 path_openat+0x199/0x20a0 fs/namei.c:3364
 do_filp_open+0xbd/0x1d0 fs/namei.c:3395
 do_sys_openat2+0x33b/0x500 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 0xffff8880b910daea of 2 bytes by task 4092 on cpu 1:
 do_inode_permission fs/namei.c:396 [inline]
 inode_permission+0x41/0x330 fs/namei.c:463
 may_lookup fs/namei.c:1569 [inline]
 link_path_walk+0x14a/0x730 fs/namei.c:2125
 path_openat+0x199/0x20a0 fs/namei.c:3364
 do_filp_open+0xbd/0x1d0 fs/namei.c:3395
 do_sys_openat2+0x33b/0x500 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: 4092 Comm: syz-executor.3 Not tainted 5.9.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/08/20 20:40 upstream 7eac66d0456f 70160577 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.