syzbot


KCSAN: data-race in exit_mm / mm_update_next_owner

Status: moderation: reported syz repro on 2020/07/04 18:12
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+dfcff47717996ec0ac40@syzkaller.appspotmail.com
First crash: 1405d, last: 9h13m

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

write to 0xffff888102a05620 of 8 bytes by task 8269 on cpu 1:
 exit_mm+0x9b/0x180 kernel/exit.c:560
 do_exit+0x585/0x16d0 kernel/exit.c:858
 do_group_exit+0x101/0x150 kernel/exit.c:1021
 get_signal+0xf4e/0x10a0 kernel/signal.c:2904
 arch_do_signal_or_restart+0x95/0x4b0 arch/x86/kernel/signal.c:309
 exit_to_user_mode_loop+0x6f/0xe0 kernel/entry/common.c:168
 exit_to_user_mode_prepare+0x6c/0xb0 kernel/entry/common.c:204
 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline]
 syscall_exit_to_user_mode+0x26/0x140 kernel/entry/common.c:296
 do_syscall_64+0x50/0x110 arch/x86/entry/common.c:88
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

read to 0xffff888102a05620 of 8 bytes by task 8268 on cpu 0:
 mm_update_next_owner+0x1a5/0x410 kernel/exit.c:492
 exit_mm+0xdb/0x180 kernel/exit.c:566
 do_exit+0x585/0x16d0 kernel/exit.c:858
 do_group_exit+0x141/0x150 kernel/exit.c:1021
 __do_sys_exit_group kernel/exit.c:1032 [inline]
 __se_sys_exit_group kernel/exit.c:1030 [inline]
 __x64_sys_exit_group+0x1f/0x20 kernel/exit.c:1030
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

value changed: 0xffff888100c38540 -> 0x0000000000000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 8268 Comm: syz-executor.0 Not tainted 6.7.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
==================================================================

Crashes (3227):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/04 15:22 upstream 33cc938e65a9 f819d6f7 .config console log report syz [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2023/12/04 08:08 upstream 33cc938e65a9 f819d6f7 .config console log report syz [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2023/12/04 00:02 upstream 33cc938e65a9 f819d6f7 .config console log report syz [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2023/12/03 20:49 upstream 33cc938e65a9 f819d6f7 .config console log report syz [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2023/12/03 18:39 upstream 33cc938e65a9 f819d6f7 .config console log report syz [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2023/11/01 11:24 upstream 89ed67ef126c 69904c9f .config console log report syz [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2023/08/11 09:47 upstream 25aa0bebba72 da3c3ef8 .config console log report syz [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2022/11/14 22:01 upstream 094226ad94f4 943f4cb8 .config console log report syz [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2022/10/25 15:07 upstream 337a0a0b63f1 45645420 .config console log report syz [disk image] [vmlinux] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2022/07/07 17:49 upstream 9f09069cde34 bff65f44 .config console log report syz ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/23 22:27 upstream 9d1ddab261f3 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/23 09:04 upstream 71b1543c83d6 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/22 23:43 upstream a2c63a3f3d68 36c961ad .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/22 09:21 upstream ed30a4a51bb1 36c961ad .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/22 07:43 upstream ed30a4a51bb1 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/21 18:22 upstream 48cf398f15fc af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/20 20:45 upstream 977b1ef51866 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/20 09:28 upstream 13a2e429f644 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/19 18:15 upstream 3cdb45594619 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/18 21:19 upstream 2668e3ae2ef3 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/18 07:14 upstream 8cd26fd90c1a acc528cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/17 19:58 upstream 4b6b51322118 acc528cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/17 15:07 upstream 96fca68c4fbf acc528cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/16 16:36 upstream 96fca68c4fbf 18f6e127 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/16 02:53 upstream 96fca68c4fbf b9af7e61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/15 13:20 upstream 0bbac3facb5d b9af7e61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/15 07:07 upstream 0bbac3facb5d c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/14 23:15 upstream 399f4dae683a c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/13 20:11 upstream 7efd0a74039f c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/13 07:42 upstream 8f2c057754b2 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/12 16:59 upstream 5939d45155bb c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/12 15:36 upstream 586b5dfb51b9 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/12 04:25 upstream 586b5dfb51b9 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/11 15:51 upstream e8c39d0f57f3 95ed9ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/11 01:41 upstream 9875c0beb8ad 33b9e058 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/10 11:49 upstream 2c71fdf02a95 4320ec32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/10 09:10 upstream 2c71fdf02a95 171ec371 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/09 20:19 upstream 20cb38a7af88 171ec371 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/09 15:32 upstream 20cb38a7af88 f3234354 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/09 02:12 upstream 20cb38a7af88 f3234354 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/08 12:44 upstream fec50db7033e 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/08 06:45 upstream fec50db7033e ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/07 17:24 upstream 9fe30842a90b ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/06 18:15 upstream f2f80ac80987 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/06 04:21 upstream 104db052b62d ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/05 14:07 upstream 8cb4a9a82b21 77230c29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/05 00:42 upstream c88b9b4cde17 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/04 12:52 upstream c85af715cac0 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/04 09:52 upstream c85af715cac0 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/04 05:13 upstream c85af715cac0 51c4dcff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/03 15:34 upstream 3e92c1e6cd87 51c4dcff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/03 02:11 upstream b1e6ec0a0fd0 7925100d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/02 21:18 upstream b1e6ec0a0fd0 eb2966c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/02 13:33 upstream 026e680b0a08 eb2966c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/01 23:16 upstream 026e680b0a08 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/04/01 08:27 upstream 39cd87c4eb2b 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
2024/03/31 18:55 upstream 18737353cca0 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exit_mm / mm_update_next_owner
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 ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.