syzbot


KCSAN: data-race in exec_mmap / mm_update_next_owner

Status: auto-obsoleted due to no activity on 2023/05/15 19:34
Subsystems: fs mm
[Documentation on labels]
First crash: 674d, last: 370d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in exec_mmap / mm_update_next_owner (4) fs mm 1 56d 56d 0/26 auto-obsoleted due to no activity on 2024/03/24 16:03
upstream KCSAN: data-race in exec_mmap / mm_update_next_owner (2) fs mm 13 188d 319d 0/26 auto-obsoleted due to no activity on 2023/11/14 07:06
upstream KCSAN: data-race in exec_mmap / mm_update_next_owner (3) mm fs 1 151d 126d 0/26 auto-obsoleted due to no activity on 2023/12/25 00:09

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

write to 0xffff88811e5114e0 of 8 bytes by task 26168 on cpu 1:
 exec_mmap+0x11c/0x310 fs/exec.c:1012
 begin_new_exec+0x6a8/0xf10 fs/exec.c:1293
 load_elf_binary+0x641/0x1970 fs/binfmt_elf.c:1001
 search_binary_handler fs/exec.c:1736 [inline]
 exec_binprm fs/exec.c:1778 [inline]
 bprm_execve+0x539/0xcc0 fs/exec.c:1853
 kernel_execve+0x614/0x670 fs/exec.c:2020
 call_usermodehelper_exec_async+0x199/0x240 kernel/umh.c:110
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308

read to 0xffff88811e5114e0 of 8 bytes by task 26173 on cpu 0:
 mm_update_next_owner+0x1a2/0x410 kernel/exit.c:487
 exit_mm+0xd9/0x180 kernel/exit.c:562
 do_exit+0x558/0x1660 kernel/exit.c:856
 do_group_exit+0x101/0x150 kernel/exit.c:1019
 get_signal+0xeb1/0xff0 kernel/signal.c:2859
 arch_do_signal_or_restart+0x89/0x2a0 arch/x86/kernel/signal.c:306
 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

value changed: 0x0000000000000000 -> 0xffff88811d304b00

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 26173 Comm: syz-executor.3 Not tainted 6.3.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
==================================================================

Crashes (36):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/10 19:24 upstream 09a9639e56c0 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2023/03/19 05:20 upstream 534293368afa 7939252e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2023/03/13 22:41 upstream eeac8ede1755 026e2200 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2023/03/09 18:37 upstream 6a98c9cae232 f08b59ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2023/03/05 11:08 upstream b01fe98d34f3 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2023/02/25 12:52 upstream 8cbd92339db0 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2023/01/19 05:24 upstream c1649ec55708 4620c2d9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2022/12/22 03:05 upstream b6bb9676f216 4067838e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2022/11/18 14:11 upstream 84368d882b96 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2022/11/16 09:16 upstream 81e7cfa3a9eb 3a127a31 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2022/10/26 05:40 upstream 1a2dcbdde82e 2159e4d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2022/10/16 18:28 upstream 1501278bb7ba 67cb024c .config console log report info [disk image] [vmlinux] ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2022/10/07 19:46 upstream 4c86114194e6 79a59635 .config console log report info [disk image] [vmlinux] ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2022/10/02 06:07 upstream ffb4d94b4314 feb56351 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2022/09/29 09:30 upstream 49c13ed0316d a41a2080 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2022/09/24 07:50 upstream bf682942cd26 0042f2b4 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2022/09/09 10:22 upstream 506357871c18 f3027468 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2022/09/05 01:48 upstream 7e18e42e4b28 28811d0a .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2022/09/02 01:41 upstream 2880e1a175b9 86c46e46 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2022/08/31 06:55 upstream dcf8e5633e2e 4a380809 .config console log report info [disk image] [vmlinux] ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2022/08/27 14:09 upstream e022620b5d05 07177916 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2022/08/16 09:07 upstream 7ebfc85e2cd7 7a7cb304 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2022/08/12 05:28 upstream 2ae08b36c06e 21724cb2 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2022/08/11 05:14 upstream f41445645ab5 a6201f11 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2022/08/06 19:47 upstream 6614a3c3164a 88e3a122 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2022/07/31 01:13 upstream 620725263f42 fef302b1 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2022/07/26 16:25 upstream e0dccc3b76fb 279b89c2 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2022/07/17 20:20 upstream 972a278fe60c 95cb00d1 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2022/07/08 01:37 upstream e8a4e1c1bb69 bff65f44 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2022/07/05 07:11 upstream c1084b6c5620 bff65f44 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2022/06/28 07:39 upstream 941e3e791269 ef82eb2c .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2022/06/26 02:57 upstream 0840a7914caa a371c43c .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2022/06/25 17:55 upstream 8c23f235a6a8 a371c43c .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2022/06/25 06:46 upstream 38bc4ac43168 a371c43c .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2022/06/18 15:01 upstream 4b35035bcf80 8f633d84 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
2022/06/11 06:44 upstream a32e7ea36235 0d5abf15 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
* Struck through repros no longer work on HEAD.