syzbot


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

Status: auto-obsoleted due to no activity on 2023/12/25 00:09
Subsystems: mm fs
[Documentation on labels]
Reported-by: syzbot+eb5884416b79f749668f@syzkaller.appspotmail.com
First crash: 325d, last: 325d
Similar bugs (4)
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 230d 230d 0/28 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 362d 493d 0/28 auto-obsoleted due to no activity on 2023/11/14 07:06
upstream KCSAN: data-race in exec_mmap / mm_update_next_owner (5) fs mm 1 89d 89d 0/28 auto-obsoleted due to no activity on 2024/08/12 23:05
upstream KCSAN: data-race in exec_mmap / mm_update_next_owner fs mm 36 544d 848d 0/28 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 0xffff88813978b5a0 of 8 bytes by task 17214 on cpu 1:
 exec_mmap+0x14a/0x430 fs/exec.c:1013
 begin_new_exec+0xab7/0xf70 fs/exec.c:1294
 load_elf_binary+0x63d/0x1800 fs/binfmt_elf.c:996
 search_binary_handler fs/exec.c:1737 [inline]
 exec_binprm fs/exec.c:1779 [inline]
 bprm_execve+0x766/0xf10 fs/exec.c:1854
 kernel_execve+0x614/0x670 fs/exec.c:2022
 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:242

read to 0xffff88813978b5a0 of 8 bytes by task 17215 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: 0x0000000000000000 -> 0xffff8881470df480

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

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/15 08:08 upstream c42d9eeef8e5 cb976f63 .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.