syzbot


KCSAN: data-race in exec_mmap / mm_update_next_owner (2)

Status: auto-obsoleted due to no activity on 2023/11/14 07:06
Subsystems: fs mm
[Documentation on labels]
First crash: 319d, last: 188d
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 (3) mm fs 1 151d 126d 0/26 auto-obsoleted due to no activity on 2023/12/25 00:09
upstream KCSAN: data-race in exec_mmap / mm_update_next_owner fs mm 36 370d 674d 0/26 auto-obsoleted due to no activity on 2023/05/15 19:34

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

write to 0xffff8881452ec5e0 of 8 bytes by task 17553 on cpu 0:
 exec_mmap+0x14a/0x430 fs/exec.c:1015
 begin_new_exec+0x6b4/0xf20 fs/exec.c:1296
 load_elf_binary+0x647/0x1960 fs/binfmt_elf.c:1001
 search_binary_handler fs/exec.c:1739 [inline]
 exec_binprm fs/exec.c:1781 [inline]
 bprm_execve+0x6d3/0xef0 fs/exec.c:1856
 kernel_execve+0x614/0x670 fs/exec.c:2024
 call_usermodehelper_exec_async+0x199/0x240 kernel/umh.c:110
 ret_from_fork+0x48/0x60 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304

read to 0xffff8881452ec5e0 of 8 bytes by task 17547 on cpu 1:
 mm_update_next_owner+0x1a5/0x410 kernel/exit.c:491
 exit_mm+0xdb/0x180 kernel/exit.c:566
 do_exit+0x580/0x1660 kernel/exit.c:861
 do_group_exit+0x101/0x150 kernel/exit.c:1024
 get_signal+0xf3c/0x1090 kernel/signal.c:2892
 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+0x4d/0xc0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x0000000000000000 -> 0xffff888106def9c0

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 17547 Comm: syz-executor.0 Tainted: G        W          6.6.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
==================================================================

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/10/10 06:57 upstream 94f6f0550c62 c9be5398 .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/09/24 08:24 upstream 3aba70aed91f 0b6a67ac .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/09/10 08:52 upstream 535a265d7f0d 6654cf89 .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/08/29 06:21 upstream 727dbda16b83 7ba13a15 .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/08/20 00:49 upstream aa9ea98cca3a d216d8a0 .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/08/16 17:07 upstream 4853c74bd7ab 39990d51 .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/07/23 01:28 upstream 295e1388de2d 27cbe77f .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/07/21 01:29 upstream 46670259519f f49af159 .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/07/07 23:35 upstream 5133c9e51de4 668cb1fa .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/07/02 07:38 upstream dfab92f27c60 bfc47836 .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/06/19 21:45 upstream 45a3e24f65e9 d521bc56 .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/06/07 15:27 upstream a4d7d7011219 a4ae4f42 .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/05/31 12:40 upstream afead42fdfca 09898419 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in exec_mmap / mm_update_next_owner
* Struck through repros no longer work on HEAD.