syzbot


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

Status: auto-obsoleted due to no activity on 2024/02/02 00:10
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+73270fa3bdc66aaa444c@syzkaller.appspotmail.com
First crash: 580d, last: 580d
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in dentry_lru_isolate_shrink / lookup_fast (2) fs 6 1 690d 690d 0/29 auto-obsoleted due to no activity on 2023/10/14 19:00
upstream KCSAN: data-race in dentry_lru_isolate_shrink / lookup_fast fs 6 1 1323d 1323d 0/29 auto-closed as invalid on 2022/01/19 19:47

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

write to 0xffff8881004aa9c0 of 4 bytes by task 9314 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_one mm/list_lru.c:276 [inline]
 list_lru_walk_node+0x7f/0x1f0 mm/list_lru.c:304
 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:1121
 do_remount fs/namespace.c:2884 [inline]
 path_mount+0x969/0xb30 fs/namespace.c:3656
 do_mount fs/namespace.c:3677 [inline]
 __do_sys_mount fs/namespace.c:3886 [inline]
 __se_sys_mount+0x27f/0x2d0 fs/namespace.c:3863
 __x64_sys_mount+0x67/0x80 fs/namespace.c:3863
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

read to 0xffff8881004aa9c0 of 4 bytes by task 9316 on cpu 0:
 d_revalidate fs/namei.c:861 [inline]
 lookup_fast+0xd9/0x290 fs/namei.c:1643
 walk_component fs/namei.c:1998 [inline]
 link_path_walk+0x3f4/0x7e0 fs/namei.c:2329
 path_openat+0x1a0/0x1d70 fs/namei.c:3775
 do_filp_open+0xf6/0x200 fs/namei.c:3809
 do_sys_openat2+0xab/0x110 fs/open.c:1437
 do_sys_open fs/open.c:1452 [inline]
 __do_sys_openat fs/open.c:1468 [inline]
 __se_sys_openat fs/open.c:1463 [inline]
 __x64_sys_openat+0xf3/0x120 fs/open.c:1463
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

value changed: 0x00680000 -> 0x00008000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 9316 Comm: modprobe Not tainted 6.7.0-rc7-syzkaller-00027-g505e701c0b2c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/29 00:09 upstream 505e701c0b2c fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_lru_isolate_shrink / lookup_fast
* Struck through repros no longer work on HEAD.