syzbot


panic: LOCKDEBUG: Mutex error: mutex_vector_enter,NUM: assertion failed: !cpu_intr_p()

Status: auto-obsoleted due to no activity on 2024/08/12 14:32
Reported-by: syzbot+ba0ea889f49e0da30adc@syzkaller.appspotmail.com
First crash: 167d, last: 151d

Sample crash report:
[ 537.0065493] panic: LOCKDEBUG: Mutex error: mutex_vector_enter,519: assertion failed: !cpu_intr_p()
[ 537.0065493] cpu0: Begin traceback...
[ 537.0065493] vpanic() at netbsd:vpanic+0x27a sys/kern/subr_prf.c:288
[ 537.0065493] panic() at netbsd:panic+0x9d sys/kern/subr_prf.c:1084
[ 537.0065493] lockdebug_abort1() at netbsd:lockdebug_abort1+0x149 sys/kern/subr_lockdebug.c:388
[ 537.0065493] lockdebug_abort() at netbsd:lockdebug_abort+0xa2 sys/kern/subr_lockdebug.c:1095
[ 537.0065493] mutex_enter() at netbsd:mutex_enter+0xa88 sys/kern/kern_mutex.c:519
[ 537.0065493] pmap_extract() at netbsd:pmap_extract+0xd8 sys/arch/x86/x86/pmap.c:3927
[ 537.0065493] db_validate_address() at netbsd:db_validate_address+0xb9 sys/arch/x86/x86/db_memrw.c:82
[ 537.0065493] db_read_bytes() at netbsd:db_read_bytes+0x27 sys/arch/x86/x86/db_memrw.c:95
[ 537.0065493] db_show_all_procs() at netbsd:db_show_all_procs+0x8fa db_read_string sys/ddb/db_proc.c:117 [inline]
[ 537.0065493] db_show_all_procs() at netbsd:db_show_all_procs+0x8fa sys/ddb/db_proc.c:207
[ 537.0065493] db_command() at netbsd:db_command+0x369 sys/ddb/db_command.c:972
[ 537.0065493] db_command_loop() at netbsd:db_command_loop+0x390 db_execute_commandlist sys/ddb/db_command.c:468 [inline]
[ 537.0065493] db_command_loop() at netbsd:db_command_loop+0x390 sys/ddb/db_command.c:618
[ 537.0065493] db_trap() at netbsd:db_trap+0x226 sys/ddb/db_trap.c:94
[ 537.0065493] kdb_trap() at netbsd:kdb_trap+0x262 sys/arch/amd64/amd64/db_interface.c:252
[ 537.0065493] trap() at netbsd:trap+0x42f sys/arch/amd64/amd64/trap.c:314
[ 537.0065493] --- trap (number 1) ---
[ 537.0065493] breakpoint() at netbsd:breakpoint+0x5
[ 537.0065493] db_panic() at netbsd:db_panic+0x105 sys/ddb/db_panic.c:71
[ 537.0065493] vpanic() at netbsd:vpanic+0x27a sys/kern/subr_prf.c:288
[ 537.0065493] panic() at netbsd:panic+0x9d sys/kern/subr_prf.c:1084
[ 537.0065493] heartbeat() at netbsd:heartbeat+0x759 heartbeat_timecounter_suspended sys/kern/kern_heartbeat.c:232 [inline]
[ 537.0065493] heartbeat() at netbsd:heartbeat+0x759 sys/kern/kern_heartbeat.c:672
[ 537.0065493] hardclock() at netbsd:hardclock+0x182 sys/kern/kern_clock.c:347
[ 537.0065493] Xresume_lapic_ltimer() at netbsd:Xresume_lapic_ltimer+0x1e
[ 537.0065493] --- interrupt ---
[ 537.0065493] __sanitizer_cov_trace_pc() at netbsd:__sanitizer_cov_trace_pc+0x19 sys/kern/subr_kcov.c:590
[ 537.0065493] kauth_authorize_process() at netbsd:kauth_authorize_process+0x4c kauth_authorize_action sys/kern/kern_auth.c:1014 [inline]
[ 537.0065493] kauth_authorize_process() at netbsd:kauth_authorize_process+0x4c sys/kern/kern_auth.c:1057
[ 537.0065493] procfs_root_readdir_callback() at netbsd:procfs_root_readdir_callback+0xe2 sys/miscfs/procfs/procfs_vnops.c:1260
[ 537.0065493] proclist_foreach_call() at netbsd:proclist_foreach_call+0x192 sys/kern/kern_proc.c:1771
[ 537.0065493] procfs_readdir() at netbsd:procfs_readdir+0x1228 sys/miscfs/procfs/procfs_vnops.c:1601
[ 537.0065493] VOP_READDIR() at netbsd:VOP_READDIR+0x15c sys/kern/vnode_if.c:1469
[ 537.0065493] getcwd_scandir() at netbsd:getcwd_scandir+0x3ba sys/kern/vfs_getcwd.c:182
[ 537.0065493] getcwd_common() at netbsd:getcwd_common+0x5c2 sys/kern/vfs_getcwd.c:388
[ 537.0065493] exec_makepathbuf() at netbsd:exec_makepathbuf+0x275 sys/kern/kern_exec.c:712
[ 537.0065493] execve_loadvm() at netbsd:execve_loadvm+0x1a1 sys/kern/kern_exec.c:807
[ 537.0065493] do_posix_spawn() at netbsd:do_posix_spawn+0x12d sys/kern/kern_exec.c:2586
[ 537.0065493] sys_posix_spawn() at netbsd:sys_posix_spawn+0x4c9 sys/kern/kern_exec.c:2906
[ 537.0065493] sys___syscall() at netbsd:sys___syscall+0x10e sy_call sys/sys/syscallvar.h:65 [inline]
[ 537.0065493] sys___syscall() at netbsd:sys___syscall+0x10e sys/kern/sys_syscall.c:90
[ 537.0065493] syscall() at netbsd:syscall+0x35c sy_call sys/sys/syscallvar.h:65 [inline]
[ 537.0065493] syscall() at netbsd:syscall+0x35c sy_invoke sys/sys/syscallvar.h:94 [inline]
[ 537.0065493] syscall() at netbsd:syscall+0x35c sys/arch/x86/x86/syscall.c:137
[ 537.0065493] --- syscall (number 474 via SYS_syscall) ---
[ 537.0065493] netbsd:syscall+0x35c:
[ 537.0065493] cpu0: End traceback...
[ 537.0065493] fatal breakpoint trap in supervisor mode
[ 537.0065493] trap type 1 code 0 rip 0xffffffff8023240d cs 0x8 rflags 0x246 cr2 0xffffa082333fa000 ilevel 0x8 rsp 0xffffa08250ca5680
[ 537.0065493] curlwp 0xffffa08012ce7600 pid 1695.1685 lowest kstack 0xffffa08250ca02c0
    Stopped in pid 1695.1685 (syz-executor.0) at       netbsd:breakpoint+0x5:  leave

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/23 14:31 netbsd d5a34bf380e9 edc5149a .config console log report [disk image] [netbsd.gdb] ci2-netbsd panic: LOCKDEBUG: Mutex error: mutex_vector_enter,NUM: assertion failed: !cpu_intr_p()
2024/06/17 21:43 netbsd 17ee9e3fb6e1 1f11cfd7 .config console log report [disk image] [netbsd.gdb] ci2-netbsd panic: LOCKDEBUG: Mutex error: mutex_vector_enter,NUM: assertion failed: !cpu_intr_p()
2024/06/17 16:52 netbsd b4906c100b05 1f11cfd7 .config console log report [disk image] [netbsd.gdb] ci2-netbsd panic: LOCKDEBUG: Mutex error: mutex_vector_enter,NUM: assertion failed: !cpu_intr_p()
2024/06/17 08:40 netbsd 37ab12172080 88722c0f .config console log report [disk image] [netbsd.gdb] ci2-netbsd panic: LOCKDEBUG: Mutex error: mutex_vector_enter,NUM: assertion failed: !cpu_intr_p()
2024/06/15 23:26 netbsd 1cd85761873a f429ab00 .config console log report [disk image] [netbsd.gdb] ci2-netbsd panic: LOCKDEBUG: Mutex error: mutex_vector_enter,NUM: assertion failed: !cpu_intr_p()
2024/06/15 22:33 netbsd 1cd85761873a f429ab00 .config console log report [disk image] [netbsd.gdb] ci2-netbsd panic: LOCKDEBUG: Mutex error: mutex_vector_enter,NUM: assertion failed: !cpu_intr_p()
2024/06/15 12:04 netbsd 601249a25d87 f429ab00 .config console log report [disk image] [netbsd.gdb] ci2-netbsd panic: LOCKDEBUG: Mutex error: mutex_vector_enter,NUM: assertion failed: !cpu_intr_p()
2024/06/15 05:58 netbsd e9cd92281172 f429ab00 .config console log report [disk image] [netbsd.gdb] ci2-netbsd panic: LOCKDEBUG: Mutex error: mutex_vector_enter,NUM: assertion failed: !cpu_intr_p()
2024/06/13 23:19 netbsd 24ad272671f1 a9616ff5 .config console log report [disk image] [netbsd.gdb] ci2-netbsd panic: LOCKDEBUG: Mutex error: mutex_vector_enter,NUM: assertion failed: !cpu_intr_p()
2024/06/13 22:05 netbsd 24ad272671f1 a9616ff5 .config console log report [disk image] [netbsd.gdb] ci2-netbsd panic: LOCKDEBUG: Mutex error: mutex_vector_enter,NUM: assertion failed: !cpu_intr_p()
2024/06/13 09:20 netbsd ab12e0e2c1c7 2aa5052f .config console log report [disk image] [netbsd.gdb] ci2-netbsd panic: LOCKDEBUG: Mutex error: mutex_vector_enter,NUM: assertion failed: !cpu_intr_p()
2024/06/12 13:07 netbsd 5aa7b24f7fcd f815599d .config console log report [disk image] [netbsd.gdb] ci2-netbsd panic: LOCKDEBUG: Mutex error: mutex_vector_enter,NUM: assertion failed: !cpu_intr_p()
2024/06/07 01:46 netbsd b9433a63b353 121701b6 .config console log report [disk image] [netbsd.gdb] ci2-netbsd panic: LOCKDEBUG: Mutex error: mutex_vector_enter,NUM: assertion failed: !cpu_intr_p()
* Struck through repros no longer work on HEAD.