syzbot


KCSAN: data-race in lookup_fast / retain_dentry (5)

Status: auto-closed as invalid on 2021/05/17 09:51
Subsystems: fs
[Documentation on labels]
First crash: 1106d, last: 1106d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in lookup_fast / retain_dentry (4) fs 4 1154d 1206d 0/26 auto-closed as invalid on 2021/03/27 05:59
upstream KCSAN: data-race in lookup_fast / retain_dentry fs 2 1339d 1351d 0/26 auto-closed as invalid on 2020/09/23 11:25
upstream KCSAN: data-race in lookup_fast / retain_dentry (2) fs 1 1301d 1301d 0/26 auto-closed as invalid on 2020/10/31 17:53
upstream KCSAN: data-race in lookup_fast / retain_dentry (3) fs 2 1244d 1229d 0/26 auto-closed as invalid on 2020/12/27 03:33

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

write to 0xffff8880264f7c00 of 4 bytes by task 27320 on cpu 1:
 retain_dentry+0x1de/0x260 fs/dcache.c:660
 dput+0x11e/0x430 fs/dcache.c:881
 path_put fs/namei.c:546 [inline]
 terminate_walk+0x109/0x270 fs/namei.c:645
 path_openat+0x18dc/0x21b0 fs/namei.c:3501
 do_filp_open+0xd9/0x1f0 fs/namei.c:3527
 do_sys_openat2+0xa3/0x250 fs/open.c:1187
 do_sys_open fs/open.c:1203 [inline]
 __do_sys_open fs/open.c:1211 [inline]
 __se_sys_open fs/open.c:1207 [inline]
 __x64_sys_open+0xe2/0x110 fs/open.c:1207
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff8880264f7c00 of 4 bytes by task 27324 on cpu 0:
 d_revalidate fs/namei.c:826 [inline]
 lookup_fast+0x15f/0x350 fs/namei.c:1579
 open_last_lookups fs/namei.c:3260 [inline]
 path_openat+0x47e/0x21b0 fs/namei.c:3497
 do_filp_open+0xd9/0x1f0 fs/namei.c:3527
 do_sys_openat2+0xa3/0x250 fs/open.c:1187
 do_sys_open fs/open.c:1203 [inline]
 __do_sys_open fs/open.c:1211 [inline]
 __se_sys_open fs/open.c:1207 [inline]
 __x64_sys_open+0xe2/0x110 fs/open.c:1207
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 27324 Comm: syz-executor.2 Not tainted 5.12.0-rc6-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
2021/04/09 16:12 upstream 17e7124aad76 6a81331a .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in lookup_fast / retain_dentry
* Struck through repros no longer work on HEAD.