syzbot


KCSAN: data-race in shrink_node / shrink_node

Status: closed as invalid on 2019/11/19 15:04
Subsystems: mm
[Documentation on labels]
First crash: 1602d, last: 1599d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in shrink_node / shrink_node (2) mm 1 867d 867d 0/26 auto-closed as invalid on 2021/12/17 17:26

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

write to 0xffff88812ffffa88 of 4 bytes by task 9711 on cpu 1:
 shrink_node+0x6c6/0xb30 mm/vmscan.c:2905
 shrink_zones mm/vmscan.c:3025 [inline]
 do_try_to_free_pages+0x242/0x940 mm/vmscan.c:3083
 try_to_free_mem_cgroup_pages+0x1fd/0x4c0 mm/vmscan.c:3383
 reclaim_high.constprop.0+0xf7/0x140 mm/memcontrol.c:2349
 mem_cgroup_handle_over_high+0x96/0x180 mm/memcontrol.c:2430
 tracehook_notify_resume include/linux/tracehook.h:197 [inline]
 exit_to_usermode_loop+0x20c/0x2c0 arch/x86/entry/common.c:163
 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline]
 syscall_return_slowpath+0x20f/0x220 arch/x86/entry/common.c:274
 ret_from_fork+0x15/0x30 arch/x86/entry/entry_64.S:344

write to 0xffff88812ffffa88 of 4 bytes by task 9706 on cpu 0:
 shrink_node+0x6c6/0xb30 mm/vmscan.c:2905
 shrink_zones mm/vmscan.c:3025 [inline]
 do_try_to_free_pages+0x242/0x940 mm/vmscan.c:3083
 try_to_free_mem_cgroup_pages+0x1fd/0x4c0 mm/vmscan.c:3383
 reclaim_high.constprop.0+0xf7/0x140 mm/memcontrol.c:2349
 mem_cgroup_handle_over_high+0x96/0x180 mm/memcontrol.c:2430
 tracehook_notify_resume include/linux/tracehook.h:197 [inline]
 exit_to_usermode_loop+0x20c/0x2c0 arch/x86/entry/common.c:163
 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:274 [inline]
 do_syscall_64+0x353/0x370 arch/x86/entry/common.c:300
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 9706 Comm: syz-executor.5 Not tainted 5.4.0-rc6+ #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/11/12 05:50 https://github.com/google/ktsan.git kcsan 94c006602e13 377d77fa .config console log report ci2-upstream-kcsan-gce
2019/11/08 14:05 https://github.com/google/ktsan.git kcsan 94c006602e13 1e35461e .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.