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: 954d, last: 20h37m

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

write to 0xffff88810dba0de0 of 8 bytes by task 3783 on cpu 0:
 exit_mm+0x98/0x170 kernel/exit.c:509
 do_exit+0x541/0x1740 kernel/exit.c:807
 do_group_exit+0xfe/0x140 kernel/exit.c:950
 get_signal+0xb40/0xc60 kernel/signal.c:2858
 arch_do_signal_or_restart+0x87/0x2d0 arch/x86/kernel/signal.c:869
 exit_to_user_mode_loop+0x78/0x130 kernel/entry/common.c:168
 exit_to_user_mode_prepare kernel/entry/common.c:203 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline]
 syscall_exit_to_user_mode+0x6a/0x90 kernel/entry/common.c:296
 do_syscall_64+0x37/0x70 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff88810dba0de0 of 8 bytes by task 3782 on cpu 1:
 mm_update_next_owner+0x22c/0x4e0 kernel/exit.c:440
 exit_mm+0xd3/0x170 kernel/exit.c:515
 do_exit+0x541/0x1740 kernel/exit.c:807
 do_group_exit+0x13e/0x140 kernel/exit.c:950
 __do_sys_exit_group kernel/exit.c:961 [inline]
 __se_sys_exit_group kernel/exit.c:959 [inline]
 __x64_sys_exit_group+0x1b/0x20 kernel/exit.c:959
 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+0x63/0xcd

value changed: 0xffff888106e01400 -> 0x0000000000000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 3782 Comm: syz-executor.3 Not tainted 6.1.0-rc5-syzkaller-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
==================================================================

Crashes (2079):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci2-upstream-kcsan-gce 2022/11/14 22:01 upstream 094226ad94f4 943f4cb8 .config console log report syz [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/10/25 15:07 upstream 337a0a0b63f1 45645420 .config console log report syz [disk image] [vmlinux] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/07/07 17:49 upstream 9f09069cde34 bff65f44 .config console log report syz KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/28 23:52 upstream c96618275234 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/28 15:13 upstream 5af6ce704936 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/27 23:04 upstream 83abd4d4c4be 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/26 03:28 upstream 7c46948a6e9c 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/25 18:07 upstream 948ef7bb70c4 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/25 01:29 upstream fb6e71db53f3 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/24 03:54 upstream 7bf70dbb1882 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/23 13:58 upstream 2475bf0250de 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/23 12:50 upstream 2475bf0250de 44388686 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/23 11:39 upstream 2475bf0250de 44388686 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/23 08:11 upstream 2475bf0250de 44388686 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/23 01:21 upstream 2475bf0250de cc0f9968 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/22 07:12 upstream 2241ab53cbb5 cc0f9968 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/21 15:24 upstream f883675bf652 cc0f9968 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/21 08:01 upstream edc00350d205 cc0f9968 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/20 11:31 upstream d368967cb103 dd15ff29 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/19 21:48 upstream 081edded9b38 71197f3a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/19 09:58 upstream 7287904c8771 66fca3ae .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/18 12:43 upstream c1649ec55708 4620c2d9 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/17 16:24 upstream 6e50979a9c87 42660d9e .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/16 22:04 upstream d532dd102151 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/16 03:36 upstream 5dc4c995db9e a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/15 06:56 upstream 7c6984405241 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/14 11:03 upstream 97ec4d559d93 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/13 17:48 upstream d9fc1511728c 529798b0 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/13 05:26 upstream c757fc92a3f7 96166539 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/12 08:37 upstream e8f60cd7db24 96166539 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/11 14:43 upstream 7dd4b804e080 96166539 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/11 01:53 upstream 40c18f363a08 48bc529a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/10 08:57 upstream 5a41237ad1d4 48bc529a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/09 21:28 upstream 1fe4fd6f5cad 48bc529a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/09 04:56 upstream 1fe4fd6f5cad 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/08 12:08 upstream 9b43a525db12 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/07 15:14 upstream 0a71553536d2 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/06 19:16 upstream 1f5abbd77e2c 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/05 21:44 upstream 41c03ba9beea 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/05 06:18 upstream 512dee0c00ad 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/04 07:28 upstream 69b41ac87e4a 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/03 11:13 upstream 69b41ac87e4a f0036e18 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/03 03:13 upstream 69b41ac87e4a ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/02 06:27 upstream 88603b6dc419 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2023/01/01 11:45 upstream e4cf7c25bae5 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/12/31 17:19 upstream c8451c141e07 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/12/30 23:13 upstream bff687b3dad6 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/12/30 01:29 upstream 2258c2dc850b 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/12/27 15:41 upstream 1b929c02afd3 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/12/25 22:43 upstream 1b929c02afd3 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/12/24 17:32 upstream 72a85e2b0a1e 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/12/23 22:27 upstream 51094a24b85e 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2022/12/23 08:41 upstream 8395ae05cb5a 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in exit_mm / mm_update_next_owner
ci2-upstream-kcsan-gce 2021/01/17 10:58 upstream 0da0a8a0a0e1 813be542 .config console log report info
ci2-upstream-kcsan-gce 2020/07/04 13:08 upstream 35e884f89df4 4f739670 .config console log report
ci2-upstream-kcsan-gce 2020/06/30 18:03 upstream 7c30b859a947 917afeaa .config console log report
ci2-upstream-kcsan-gce 2020/06/19 02:44 upstream 5e857ce6eae7 bc258b50 .config console log report
* Struck through repros no longer work on HEAD.