syzbot


KCSAN: data-race in dentry_lru_isolate_shrink / step_into (3)

Status: auto-obsoleted due to no activity on 2023/10/23 22:54
Subsystems: fs
[Documentation on labels]
First crash: 687d, last: 687d
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in dentry_lru_isolate_shrink / step_into (2) fs 6 1 854d 854d 0/29 auto-obsoleted due to no activity on 2023/05/09 19:03
upstream KCSAN: data-race in dentry_lru_isolate_shrink / step_into (4) fs 6 1 591d 591d 0/29 auto-obsoleted due to no activity on 2024/01/27 20:26
upstream KCSAN: data-race in dentry_lru_isolate_shrink / step_into fs 6 1 1569d 1569d 0/29 auto-closed as invalid on 2021/05/24 08:11

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

write to 0xffff8881005be840 of 4 bytes by task 25183 on cpu 1:
 d_lru_shrink_move fs/dcache.c:480 [inline]
 dentry_lru_isolate_shrink+0x7f/0x100 fs/dcache.c:1300
 __list_lru_walk_one+0x180/0x3b0 mm/list_lru.c:231
 list_lru_walk_node+0x14d/0x1f0 mm/list_lru.c:316
 list_lru_walk include/linux/list_lru.h:214 [inline]
 shrink_dcache_sb+0xc5/0x290 fs/dcache.c:1319
 reconfigure_super+0x3ef/0x580 fs/super.c:1118
 do_remount fs/namespace.c:2882 [inline]
 path_mount+0x969/0xb30 fs/namespace.c:3654
 do_mount fs/namespace.c:3675 [inline]
 __do_sys_mount fs/namespace.c:3884 [inline]
 __se_sys_mount+0x27f/0x2d0 fs/namespace.c:3861
 __x64_sys_mount+0x67/0x80 fs/namespace.c:3861
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff8881005be840 of 4 bytes by task 25182 on cpu 0:
 __follow_mount_rcu fs/namei.c:1486 [inline]
 handle_mounts fs/namei.c:1537 [inline]
 step_into+0xe7/0x800 fs/namei.c:1839
 open_last_lookups fs/namei.c:3586 [inline]
 path_openat+0x10bb/0x1d10 fs/namei.c:3793
 do_filp_open+0xf6/0x200 fs/namei.c:3823
 do_sys_openat2+0xab/0x110 fs/open.c:1422
 do_sys_open fs/open.c:1437 [inline]
 __do_sys_open fs/open.c:1445 [inline]
 __se_sys_open fs/open.c:1441 [inline]
 __x64_sys_open+0xe6/0x110 fs/open.c:1441
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x00080000 -> 0x00008000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 25182 Comm: syz-executor.4 Not tainted 6.6.0-rc2-syzkaller-00018-g2cf0f7156238 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/09/18 22:52 upstream 2cf0f7156238 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_lru_isolate_shrink / step_into
* Struck through repros no longer work on HEAD.