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: 1616d, last: 122d
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/10/14 15:43 9m retest repro upstream report log
2024/10/14 15:43 14m retest repro upstream report log
2024/10/14 15:43 8m retest repro upstream report log
2024/10/14 15:43 1h13m retest repro upstream OK log
2024/10/14 15:43 9m retest repro upstream report log
2024/08/05 00:12 7m retest repro upstream report log
2024/08/05 00:12 10m retest repro upstream report log
2024/08/05 00:12 14m retest repro upstream report log
2024/08/05 00:12 15m retest repro upstream OK log
2024/08/05 00:12 9m retest repro upstream report log

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

write to 0xffff88810e5704e0 of 8 bytes by task 4127 on cpu 0:
 exit_mm+0x9b/0x180 kernel/exit.c:560
 do_exit+0x580/0x1670 kernel/exit.c:861
 do_group_exit+0x101/0x150 kernel/exit.c:1024
 get_signal+0xeb7/0xff0 kernel/signal.c:2881
 arch_do_signal_or_restart+0x89/0x2a0 arch/x86/kernel/signal.c:308
 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:286 [inline]
 syscall_exit_to_user_mode+0x26/0x140 kernel/entry/common.c:297
 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff88810e5704e0 of 8 bytes by task 4126 on cpu 1:
 mm_update_next_owner+0x1a5/0x410 kernel/exit.c:491
 exit_mm+0xdb/0x180 kernel/exit.c:566
 do_exit+0x580/0x1670 kernel/exit.c:861
 do_group_exit+0x141/0x150 kernel/exit.c:1024
 __do_sys_exit_group kernel/exit.c:1035 [inline]
 __se_sys_exit_group kernel/exit.c:1033 [inline]
 __x64_sys_exit_group+0x1f/0x20 kernel/exit.c:1033
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0xffff888103a76a00 -> 0x0000000000000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 4126 Comm: syz-executor.5 Not tainted 6.5.0-rc5-syzkaller-00182-g25aa0bebba72 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
==================================================================

Crashes (3548):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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
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 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
2024/07/21 23:20 upstream 7846b618e0a4 b88348e9 .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/07/20 07:59 upstream 3c3ff7be9729 b88348e9 .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/07/19 19:10 upstream 4305ca0087dd 890ce4f3 .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/07/19 16:18 upstream 720261cfc732 890ce4f3 .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/07/19 02:55 upstream 720261cfc732 ee4e11c8 .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/07/18 13:03 upstream b1bc554e009e 71884c12 .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/07/18 09:32 upstream b1bc554e009e 0f902625 .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/07/17 20:03 upstream 51835949dda3 0f902625 .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/07/17 17:04 upstream 51835949dda3 215bec2d .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/07/17 03:34 upstream 0434dbe32053 215bec2d .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/07/16 13:08 upstream d67978318827 b66b37bd .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/07/16 08:51 upstream d67978318827 e8709b21 .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/07/15 19:34 upstream 5e0497553643 e8709b21 .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/07/15 18:04 upstream 5e0497553643 c605e6a2 .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/07/15 07:02 upstream 0c3836482481 c605e6a2 .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/07/15 00:43 upstream 0c3836482481 eaeb5c15 .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/07/14 10:35 upstream 4d145e3f830b eaeb5c15 .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/07/13 20:39 upstream d0d0cd380055 eaeb5c15 .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/07/13 02:07 upstream 528dd46d0fc3 eaeb5c15 .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/07/12 09:32 upstream 43db1e03c086 eaeb5c15 .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/07/11 19:58 upstream 8a18fda0febb eaeb5c15 .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/07/11 18:37 upstream 9d9a2f29aefd eaeb5c15 .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/07/11 06:23 upstream 9d9a2f29aefd c699c2eb .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/07/10 16:23 upstream 34afb82a3c67 6f7fa383 .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/07/10 02:02 upstream 34afb82a3c67 bc144f9a .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/07/09 15:59 upstream 34afb82a3c67 79d68ada .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/07/09 12:50 upstream 4376e966ecb7 79d68ada .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/07/09 01:46 upstream 4376e966ecb7 bc23a442 .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/07/08 23:15 upstream 4376e966ecb7 cde64f7d .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/07/08 12:24 upstream 256abd8e550c cde64f7d .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/07/08 02:12 upstream 256abd8e550c 2a40360c .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/07/07 12:50 upstream c6653f49e4fd 2a40360c .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/07/06 23:16 upstream 22f902dfc51e 2a40360c .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/07/06 09:58 upstream 1dd28064d416 2a40360c .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/07/05 20:29 upstream d270dd21bee0 2a40360c .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/07/05 09:07 upstream 661e504db04c 2a40360c .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/07/04 23:01 upstream 661e504db04c 3f2748a3 .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/07/04 08:22 upstream 795c58e4c7fc 3f2748a3 .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/07/03 19:26 upstream 8a9c6c40432e f76a75f3 .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/07/03 18:02 upstream 8a9c6c40432e 1ecfa2d8 .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/07/03 04:24 upstream e9d22f7a6655 1ecfa2d8 .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/07/02 23:45 upstream e9d22f7a6655 07f0a0a0 .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/07/02 10:41 upstream 1dfe225e9af5 07f0a0a0 .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/07/02 06:39 upstream 1dfe225e9af5 b294e901 .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/07/01 17:27 upstream 9903efbddba0 b294e901 .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/07/01 13:19 upstream 22a40d14b572 b294e901 .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/07/01 13:13 upstream 22a40d14b572 b294e901 .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/06/30 22:25 upstream 22a40d14b572 757f06b1 .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/06/30 09:23 upstream 8282d5af7be8 757f06b1 .config console log report info [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
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.