syzbot


KCSAN: data-race in exit_mm / mm_update_next_owner

Status: moderation: reported syz repro on 2020/07/04 18:12
Reported-by: syzbot+dfcff47717996ec0ac40@syzkaller.appspotmail.com
First crash: 829d, last: 1h33m

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

write to 0xffff88810cfd8ac8 of 8 bytes by task 3690 on cpu 0:
 exit_mm+0x98/0x170 kernel/exit.c:503
 do_exit+0x51d/0x1720 kernel/exit.c:782
 do_group_exit+0xa5/0x160 kernel/exit.c:925
 get_signal+0xf54/0x1020 kernel/signal.c:2857
 arch_do_signal_or_restart+0x87/0x2d0 arch/x86/kernel/signal.c:869
 exit_to_user_mode_loop+0x78/0x130 kernel/entry/common.c:166
 exit_to_user_mode_prepare kernel/entry/common.c:201 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline]
 syscall_exit_to_user_mode+0x6a/0x90 kernel/entry/common.c:294
 do_syscall_64+0x37/0x70 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x46/0xb0

read to 0xffff88810cfd8ac8 of 8 bytes by task 3685 on cpu 1:
 mm_update_next_owner+0x23c/0x4e0 kernel/exit.c:435
 exit_mm+0xd3/0x170 kernel/exit.c:509
 do_exit+0x51d/0x1720 kernel/exit.c:782
 __x64_sys_exit_group+0x0/0x20 kernel/exit.c:925
 __do_sys_exit_group kernel/exit.c:936 [inline]
 __se_sys_exit_group kernel/exit.c:934 [inline]
 __x64_sys_exit_group+0x1b/0x20 kernel/exit.c:934
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0

value changed: 0xffff88810d585c00 -> 0x0000000000000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 3685 Comm: syz-executor.4 Not tainted 5.19.0-rc5-syzkaller-00105-g9f09069cde34-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
==================================================================

Crashes (1853):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/07/07 17:49 upstream 9f09069cde34 bff65f44 .config log report syz KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/26 08:37 upstream f76349cf4145 d59ba983 .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/25 23:10 upstream 5e049663f678 0042f2b4 .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/25 06:26 upstream 1a61b828566f 0042f2b4 .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/24 09:26 upstream a63f2e7cb110 0042f2b4 .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/23 14:15 upstream bf682942cd26 0042f2b4 .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/22 15:26 upstream dc164f4fb00a 0042f2b4 .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/22 11:57 upstream dc164f4fb00a 60af5050 .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/21 22:39 upstream 06f7db949993 60af5050 .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/21 17:51 upstream 06f7db949993 380f82fb .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/21 10:15 upstream 60891ec99e14 380f82fb .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/20 19:39 upstream 60891ec99e14 c4b8ccfd .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/20 19:19 upstream 60891ec99e14 c4b8ccfd .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/20 16:52 upstream 521a547ced64 c4b8ccfd .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/20 08:29 upstream 521a547ced64 7c41a9ba .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/19 12:00 upstream 521a547ced64 dd9a85ff .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/19 07:36 upstream 521a547ced64 dd9a85ff .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/18 17:34 upstream 38eddeedbbea dd9a85ff .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/17 05:42 upstream a335366bad13 dd9a85ff .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/16 16:53 upstream 6879c2d3b960 dd9a85ff .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/15 07:14 upstream 3245cb65fd91 dd9a85ff .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/14 09:53 upstream 3245cb65fd91 b884348d .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/13 20:17 upstream d1221cea11fc b884348d .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/13 14:18 upstream d1221cea11fc a08652b0 .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/13 08:43 upstream e839a756012b a08652b0 .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/12 23:25 upstream e839a756012b f371ed7e .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/12 16:32 upstream 80e78fcce86d f371ed7e .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/12 10:20 upstream 80e78fcce86d 356d8217 .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/11 20:15 upstream 4ed9c1e971b1 356d8217 .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/10 20:56 upstream b96fbd602d35 356d8217 .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/09 23:33 upstream ce888220d5c7 356d8217 .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/09 13:00 upstream 9b4509495418 90058bdc .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/09 10:41 upstream 506357871c18 90058bdc .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/09 03:57 upstream 506357871c18 f3027468 .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/08 14:04 upstream 26b1224903b3 f3027468 .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/08 11:23 upstream 0066f1b0e275 f3027468 .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/07 23:27 upstream 0066f1b0e275 435aeef7 .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/07 11:53 upstream 0066f1b0e275 c5b7bc57 .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/06 22:59 upstream d2ec799d1c1b 5fc30c37 .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/06 20:07 upstream d2ec799d1c1b 65aea2b9 .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/06 11:17 upstream 53e99dcff61e 65aea2b9 .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/05 22:44 upstream 53e99dcff61e 9dcd38fc .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/05 11:37 upstream 7e18e42e4b28 922294ab .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/04 20:56 upstream 7e18e42e4b28 28811d0a .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/09/04 07:38 upstream 7726d4c3e60b 28811d0a .config log report info KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2021/01/17 10:58 upstream 0da0a8a0a0e1 813be542 .config log report info
ci2-upstream-kcsan-gce 2020/07/04 13:08 upstream 35e884f89df4 4f739670 .config log report
ci2-upstream-kcsan-gce 2020/06/30 18:03 upstream 7c30b859a947 917afeaa .config log report
ci2-upstream-kcsan-gce 2020/06/19 02:44 upstream 5e857ce6eae7 bc258b50 .config log report
* Struck through repros no longer work on HEAD.