syzbot


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

Status: auto-closed as invalid on 2021/07/04 17:17
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 664d, last: 555d
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) 1 764d 729d 0/24 auto-closed as invalid on 2020/12/21 11:15
upstream KCSAN: data-race in inode_permission / inode_permission (2) 1 876d 876d 0/24 auto-closed as invalid on 2020/08/17 22:52
upstream KCSAN: data-race in inode_permission / inode_permission 27 979d 1139d 0/24 auto-closed as invalid on 2020/06/11 10:47
upstream KCSAN: data-race in inode_permission / inode_permission (3) 1 838d 838d 0/24 auto-closed as invalid on 2020/09/24 20:47

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

write to 0xffff888130086042 of 2 bytes by task 24912 on cpu 1:
 do_inode_permission fs/namei.c:450 [inline]
 inode_permission+0x258/0x290 fs/namei.c:513
 may_open+0x1a7/0x2f0 fs/namei.c:2982
 do_open fs/namei.c:3359 [inline]
 path_openat+0x17b3/0x20b0 fs/namei.c:3494
 do_filp_open+0xd9/0x1f0 fs/namei.c:3521
 do_sys_openat2+0xa3/0x250 fs/open.c:1187
 do_sys_open fs/open.c:1203 [inline]
 __do_sys_openat fs/open.c:1219 [inline]
 __se_sys_openat fs/open.c:1214 [inline]
 __x64_sys_openat+0xef/0x110 fs/open.c:1214
 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888130086042 of 2 bytes by task 24910 on cpu 0:
 do_inode_permission fs/namei.c:444 [inline]
 inode_permission+0x3e/0x290 fs/namei.c:513
 may_open+0x1a7/0x2f0 fs/namei.c:2982
 do_open fs/namei.c:3359 [inline]
 path_openat+0x17b3/0x20b0 fs/namei.c:3494
 do_filp_open+0xd9/0x1f0 fs/namei.c:3521
 do_sys_openat2+0xa3/0x250 fs/open.c:1187
 do_sys_open fs/open.c:1203 [inline]
 __do_sys_openat fs/open.c:1219 [inline]
 __se_sys_openat fs/open.c:1214 [inline]
 __x64_sys_openat+0xef/0x110 fs/open.c:1214
 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x0004 -> 0x0005

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 24910 Comm: syz-executor.5 Not tainted 5.13.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (12):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/05/30 17:15 upstream b90e90f40b4f 325a8dab .config log report info KCSAN: data-race in inode_permission / inode_permission
ci2-upstream-kcsan-gce 2021/05/23 09:12 upstream 4d7620341eda 3c7fef33 .config log report info KCSAN: data-race in inode_permission / inode_permission
ci2-upstream-kcsan-gce 2021/05/17 11:36 upstream d07f6ca923ea a2eb125d .config log report info KCSAN: data-race in inode_permission / inode_permission
ci2-upstream-kcsan-gce 2021/05/05 05:05 upstream d665ea6ea86c 06c27ff5 .config log report info KCSAN: data-race in inode_permission / inode_permission
ci2-upstream-kcsan-gce 2021/05/01 19:49 upstream 9f67672a817e 77e2b668 .config log report info KCSAN: data-race in inode_permission / inode_permission
ci2-upstream-kcsan-gce 2021/04/25 08:43 upstream 2a1d7946fa53 36c88236 .config log report info KCSAN: data-race in inode_permission / inode_permission
ci2-upstream-kcsan-gce 2021/04/16 03:04 upstream 7f75285ca572 c59079a6 .config log report info KCSAN: data-race in inode_permission / inode_permission
ci2-upstream-kcsan-gce 2021/04/09 07:26 upstream 3fb4f979b4fa 6a81331a .config log report info KCSAN: data-race in inode_permission / inode_permission
ci2-upstream-kcsan-gce 2021/03/26 15:05 upstream db24726bfefa a8529b82 .config log report info KCSAN: data-race in inode_permission / inode_permission
ci2-upstream-kcsan-gce 2021/03/13 04:17 upstream f296bfd5cd04 429d8a6b .config log report info KCSAN: data-race in inode_permission / inode_permission
ci2-upstream-kcsan-gce 2021/02/17 08:27 upstream f40ddce88593 052f8d9f .config log report info KCSAN: data-race in inode_permission / inode_permission
ci2-upstream-kcsan-gce 2021/02/10 13:38 upstream e0756cfc7d7c 9c8b8541 .config log report info KCSAN: data-race in inode_permission / inode_permission
* Struck through repros no longer work on HEAD.