syzbot


KCSAN: data-race in list_lru_count_one / list_lru_isolate (2)

Status: auto-closed as invalid on 2020/02/28 01:19
Subsystems: mm
[Documentation on labels]
First crash: 1866d, last: 1866d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in list_lru_count_one / list_lru_isolate mm 1 1908d 1908d 0/28 closed as invalid on 2019/11/19 14:04

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

read to 0xffff8880a643abd0 of 8 bytes by task 1479 on cpu 0:
 list_lru_count_one+0xbd/0x130 mm/list_lru.c:193
 list_lru_shrink_count include/linux/list_lru.h:123 [inline]
 super_cache_count+0x11a/0x1b0 fs/super.c:148
 do_shrink_slab+0xb7/0x5a0 mm/vmscan.c:444
 shrink_slab_memcg mm/vmscan.c:596 [inline]
 shrink_slab+0x469/0x540 mm/vmscan.c:675
 shrink_node_memcgs mm/vmscan.c:2687 [inline]
 shrink_node+0x34a/0xfe0 mm/vmscan.c:2791
 shrink_zones mm/vmscan.c:2996 [inline]
 do_try_to_free_pages+0x245/0xb60 mm/vmscan.c:3049
 try_to_free_mem_cgroup_pages+0x205/0x4d0 mm/vmscan.c:3371
 reclaim_high.constprop.0+0xf7/0x140 mm/memcontrol.c:2232
 mem_cgroup_handle_over_high+0x96/0x180 mm/memcontrol.c:2313
 tracehook_notify_resume include/linux/tracehook.h:197 [inline]
 exit_to_usermode_loop+0x20c/0x2c0 arch/x86/entry/common.c:164
 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:278 [inline]
 do_syscall_64+0x384/0x3a0 arch/x86/entry/common.c:304
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

write to 0xffff8880a643abd0 of 8 bytes by task 1481 on cpu 1:
 list_lru_isolate+0x9b/0x120 mm/list_lru.c:172
 inode_lru_isolate+0x210/0x380 fs/inode.c:743
 __list_lru_walk_one+0x110/0x390 mm/list_lru.c:232
 list_lru_walk_one+0x84/0xb0 mm/list_lru.c:276
 list_lru_shrink_walk include/linux/list_lru.h:195 [inline]
 prune_icache_sb+0x8a/0xc0 fs/inode.c:795
 super_cache_scan+0x20b/0x2c0 fs/super.c:107
 do_shrink_slab+0x2b6/0x5a0 mm/vmscan.c:526
 shrink_slab_memcg mm/vmscan.c:596 [inline]
 shrink_slab+0x469/0x540 mm/vmscan.c:675
 shrink_node_memcgs mm/vmscan.c:2687 [inline]
 shrink_node+0x34a/0xfe0 mm/vmscan.c:2791
 shrink_zones mm/vmscan.c:2996 [inline]
 do_try_to_free_pages+0x245/0xb60 mm/vmscan.c:3049
 try_to_free_mem_cgroup_pages+0x205/0x4d0 mm/vmscan.c:3371
 reclaim_high.constprop.0+0xf7/0x140 mm/memcontrol.c:2232
 mem_cgroup_handle_over_high+0x96/0x180 mm/memcontrol.c:2313
 tracehook_notify_resume include/linux/tracehook.h:197 [inline]
 exit_to_usermode_loop+0x20c/0x2c0 arch/x86/entry/common.c:164
 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline]
 syscall_return_slowpath+0x231/0x250 arch/x86/entry/common.c:278
 ret_from_fork+0x15/0x30 arch/x86/entry/entry_64.S:344

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 1481 Comm: syz-executor.0 Not tainted 5.5.0-rc1-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
2019/12/20 01:09 https://github.com/google/ktsan.git kcsan 245a43005292 36650b4b .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.