syzbot


KCSAN: data-race in __dentry_kill / lookup_fast

Status: closed as invalid on 2020/06/18 14:24
Subsystems: fs
[Documentation on labels]
First crash: 1510d, last: 1417d
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __dentry_kill / lookup_fast (5) fs 12 1053d 1126d 0/26 auto-closed as invalid on 2021/07/05 09:49
upstream KCSAN: data-race in __dentry_kill / lookup_fast (8) fs 8 365d 428d 0/26 auto-obsoleted due to no activity on 2023/05/25 00:07
upstream KCSAN: data-race in __dentry_kill / lookup_fast (2) fs 5 1335d 1394d 0/26 auto-closed as invalid on 2020/09/27 09:27
upstream KCSAN: data-race in __dentry_kill / lookup_fast (10) fs 3 18d 56d 0/26 moderation: reported on 2024/02/22 20:09
upstream KCSAN: data-race in __dentry_kill / lookup_fast (7) fs 27 475d 736d 0/26 auto-obsoleted due to no activity on 2023/02/12 11:35
upstream KCSAN: data-race in __dentry_kill / lookup_fast (6) fs 1 881d 881d 0/26 auto-closed as invalid on 2021/12/25 02:52
upstream KCSAN: data-race in __dentry_kill / lookup_fast (4) fs 3 1174d 1199d 0/26 auto-closed as invalid on 2021/03/06 20:57
upstream KCSAN: data-race in __dentry_kill / lookup_fast (3) fs 3 1236d 1228d 0/26 auto-closed as invalid on 2021/01/03 16:37
upstream KCSAN: data-race in __dentry_kill / lookup_fast (9) fs 31 96d 132d 0/26 auto-obsoleted due to no activity on 2024/02/17 10:11

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

write to 0xffff8880b3388240 of 4 bytes by task 27349 on cpu 0:
 dentry_unlist fs/dcache.c:519 [inline]
 __dentry_kill+0x127/0x3b0 fs/dcache.c:575
 dentry_kill fs/dcache.c:698 [inline]
 dput+0x399/0x700 fs/dcache.c:859
 handle_mounts fs/namei.c:1375 [inline]
 step_into+0x8a3/0x1090 fs/namei.c:1676
 open_last_lookups fs/namei.c:3178 [inline]
 path_openat+0x34e/0x23d0 fs/namei.c:3343
 do_filp_open+0x11e/0x1b0 fs/namei.c:3373
 do_sys_openat2+0x52e/0x680 fs/open.c:1148
 do_sys_open+0xa2/0x110 fs/open.c:1164
 ksys_open include/linux/syscalls.h:1386 [inline]
 __do_sys_open fs/open.c:1170 [inline]
 __se_sys_open fs/open.c:1168 [inline]
 __x64_sys_open+0x50/0x60 fs/open.c:1168
 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff8880b3388240 of 4 bytes by task 26061 on cpu 1:
 d_revalidate fs/namei.c:753 [inline]
 lookup_fast+0x176/0x3a0 fs/namei.c:1479
 open_last_lookups fs/namei.c:3121 [inline]
 path_openat+0x2ba/0x23d0 fs/namei.c:3343
 do_filp_open+0x11e/0x1b0 fs/namei.c:3373
 do_sys_openat2+0x52e/0x680 fs/open.c:1148
 do_sys_open+0xa2/0x110 fs/open.c:1164
 ksys_open include/linux/syscalls.h:1386 [inline]
 __do_sys_open fs/open.c:1170 [inline]
 __se_sys_open fs/open.c:1168 [inline]
 __x64_sys_open+0x50/0x60 fs/open.c:1168
 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 26061 Comm: syz-executor.0 Not tainted 5.7.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/06/01 21:29 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 a0331e89 .config console log report ci2-upstream-kcsan-gce
2020/05/15 06:07 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 2d572622 .config console log report ci2-upstream-kcsan-gce
2020/05/05 22:35 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 4b76dd25 .config console log report ci2-upstream-kcsan-gce
2020/05/04 22:27 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 9941337c .config console log report ci2-upstream-kcsan-gce
2020/05/01 13:43 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 143a10e9 .config console log report ci2-upstream-kcsan-gce
2020/04/25 02:41 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 03d97a1b .config console log report ci2-upstream-kcsan-gce
2020/04/23 10:49 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 2e44d63e .config console log report ci2-upstream-kcsan-gce
2020/03/18 19:39 https://github.com/google/ktsan.git kcsan 941e0d917bbf 0a96a13c .config console log report ci2-upstream-kcsan-gce
2020/03/06 19:37 https://github.com/google/ktsan.git kcsan 941e0d917bbf 7fb694ef .config console log report ci2-upstream-kcsan-gce
2020/02/29 12:03 https://github.com/google/ktsan.git kcsan 766d004d1b85 c88c7b75 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.