[ 173.0858342] panic: kernel diagnostic assertion "dev->dv_detaching == curlwp" failed: file "/syzkaller/managers/ci2-netbsd-kmsan/kernel/sys/kern/subr_autoconf.c", line 2176 [ 173.0958252] cpu1: Begin traceback... [ 173.1158273] vpanic() at netbsd:vpanic+0xc9d [ 173.1658240] kern_assert() at netbsd:kern_assert+0x228 [ 173.2158239] config_detach_commit() at netbsd:config_detach_commit+0x1c6 [ 173.2558293] vdevgone() at netbsd:vdevgone+0x20c [ 173.3058235] audiodetach() at netbsd:audiodetach+0x22d sys/dev/audio/audio.c:1371 [ 173.3558328] config_detach() at netbsd:config_detach+0x106c sys/kern/subr_autoconf.c:2037 [ 173.3958256] config_detach_children() at netbsd:config_detach_children+0x191 sys/kern/subr_autoconf.c:2195 [ 173.4458251] pad_detach() at netbsd:pad_detach+0x22d sys/dev/pad/pad.c:251 [ 173.4958237] config_detach() at netbsd:config_detach+0x106c sys/kern/subr_autoconf.c:2037 [ 173.5458255] fops_pad_close() at netbsd:fops_pad_close+0x160 pad_close sys/dev/pad/pad.c:423 [inline] [ 173.5458255] fops_pad_close() at netbsd:fops_pad_close+0x160 sys/dev/pad/pad.c:433 [ 173.5858253] closef() at netbsd:closef+0x4e5 sys/kern/kern_descrip.c:832 [ 173.6358257] fd_free() at netbsd:fd_free+0xc87 [ 173.6758270] exit1() at netbsd:exit1+0xaab sys/kern/kern_exit.c:301 [ 173.7258250] sys_exit() at netbsd:sys_exit+0x1d6 [ 173.7658257] syscall() at netbsd:syscall+0x60c sy_invoke sys/sys/syscallvar.h:94 [inline] [ 173.7658257] syscall() at netbsd:syscall+0x60c sys/arch/x86/x86/syscall.c:138 [ 173.7858240] --- syscall (number 1) --- [ 173.7958249] netbsd:syscall+0x60c: [ 173.7958249] cpu1: End traceback... [ 173.8058259] fatal breakpoint trap in supervisor mode [ 173.8058259] trap type 1 code 0 rip 0xffffffff802228ad cs 0x8 rflags 0x282 cr2 0x728d7fc52260 ilevel 0 rsp 0xffff8d8090ca7340 [ 173.8158219] curlwp 0xffff8d8013813540 pid 6018.6018 lowest kstack 0xffff8d8090ca02c0 [ 173.8258212] uvm_fault(0xffff8d8013580db8, 0x0, 1) -> e [ 173.8258212] fatal page fault in supervisor mode [ 173.8258212] trap type 6 code 0 rip 0xffffffff848ae867 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffff8d8090ca6d30 [ 173.8258212] curlwp 0xffff8d8013813540 pid 6018.6018 lowest kstack 0xffff8d8090ca02c0 kernel: page fault trap, code=0 [ 173.8258212] uvm_fault(0xffff8d8013580db8, 0x0, 1) -> e [ 173.8258212] fatal page fault in supervisor mode [ 173.8258212] trap type 6 code 0 rip 0xffffffff848ae867 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffff8d8090ca6720 [ 173.8258212] curlwp 0xffff8d8013813540 pid 6018.6018 lowest kstack 0xffff8d8090ca02c0 kernel: page fault trap, code=0 [ 173.8258212] uvm_fault(0xffff8d8013580db8, 0x0, 1) -> e [ 173.8258212] fatal page fault in supervisor mode [ 173.8258212] trap type 6 code 0 rip 0xffffffff848ae867 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffff8d8090ca6110 [ 173.8258212] curlwp 0xffff8d8013813540 pid 6018.6018 lowest kstack 0xffff8d8090ca02c0 kernel: page fault trap, code=0 [ 173.8258212] uvm_fault(0xffff8d8013580db8, 0x0, 1) -> e [ 173.8258212] fatal page fault in supervisor mode [ 173.8258212] trap type 6 code 0 rip 0xffffffff848ae867 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffff8d8090ca5b00 [ 173.8258212] curlwp 0xffff8d8013813540 pid 6018.6018 lowest kstack 0xffff8d8090ca02c0 kernel: page fault trap, code=0 [ 173.8258212] uvm_fault(0xffff8d8013580db8, 0x0, 1) -> e [ 173.8258212] fatal page fault in supervisor mode [ 173.8258212] trap type 6 code 0 rip 0xffffffff848ae867 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffff8d8090ca54f0 [ 173.8258212] curlwp 0xffff8d8013813540 pid 6018.6018 lowest kstack 0xffff8d8090ca02c0 kernel: page fault trap, code=0 [ 173.8258212] uvm_fault(0xffff8d8013580db8, 0x0, 1) -> e [ 173.8258212] fatal page fault in supervisor mode [ 173.8258212] trap type 6 code 0 rip 0xffffffff848ae867 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffff8d8090ca4ee0 [ 173.8258212] curlwp 0xffff8d8013813540 pid 6018.6018 lowest kstack 0xffff8d8090ca02c0 kernel: page fault trap, code=0 [ 173.8258212] uvm_fault(0xffff8d8013580db8, 0x0, 1) -> e [ 173.8258212] fatal page fault in supervisor mode [ 173.8258212] trap type 6 code 0 rip 0xffffffff848ae867 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffff8d8090ca48d0 [ 173.8258212] curlwp 0xffff8d8013813540 pid 6018.6018 lowest kstack 0xffff8d8090ca02c0 kernel: page fault trap, code=0 [ 173.8258212] uvm_fault(0xffff8d8013580db8, 0x0, 1) -> e [ 173.8258212] fatal page fault in supervisor mode [ 173.8258212] trap type 6 code 0 rip 0xffffffff848ae867 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffff8d8090ca42c0 [ 173.8258212] curlwp 0xffff8d8013813540 pid 6018.6018 lowest kstack 0xffff8d8090ca02c0 kernel: page fault trap, code=0 [ 173.8258212] uvm_fault(0xffff8d8013580db8, 0x0, 1) -> e [ 173.8258212] fatal page fault in supervisor mode [ 173.8258212] trap type 6 code 0 rip 0xffffffff848ae867 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffff8d8090ca3cb0 [ 173.8258212] curlwp 0xffff8d8013813540 pid 6018.6018 lowest kstack 0xffff8d8090ca02c0 kernel: page fault trap, code=0 [ 173.8258212] uvm_fault(0xffff8d8013580db8, 0x0, 1) -> e [ 173.8258212] fatal page fault in supervisor mode [ 173.8258212] trap type 6 code 0 rip 0xffffffff848ae867 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffff8d8090ca36a0 [ 173.8258212] curlwp 0xffff8d8013813540 pid 6018.6018 lowest kstack 0xffff8d8090ca02c0 kernel: page fault trap, code=0 [ 173.8258212] uvm_fault(0xffff8d8013580db8, 0x0, 1) -> e [ 173.8258212] fatal page fault in supervisor mode [ 173.8258212] trap type 6 code 0 rip 0xffffffff848ae867 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffff8d8090ca3090 [ 173.8258212] curlwp 0xffff8d8013813540 pid 6018.6018 lowest kstack 0xffff8d8090ca02c0 kernel: page fault trap, code=0