[ 117.8846331] panic: kernel diagnostic assertion "dev->dv_detaching == curlwp" failed: file "/syzkaller/managers/ci2-netbsd-kmsan/kernel/sys/kern/subr_autoconf.c", line 2176 [ 117.8946263] cpu1: Begin traceback... [ 117.9146279] vpanic() at netbsd:vpanic+0xc9d [ 117.9646222] kern_assert() at netbsd:kern_assert+0x228 [ 118.0046255] config_detach_commit() at netbsd:config_detach_commit+0x1c6 [ 118.0546344] vdevgone() at netbsd:vdevgone+0x20c [ 118.1046275] audiodetach() at netbsd:audiodetach+0x22d sys/dev/audio/audio.c:1371 [ 118.1446289] config_detach() at netbsd:config_detach+0x106c sys/kern/subr_autoconf.c:2037 [ 118.1946280] config_detach_children() at netbsd:config_detach_children+0x191 sys/kern/subr_autoconf.c:2195 [ 118.2446257] pad_detach() at netbsd:pad_detach+0x22d sys/dev/pad/pad.c:251 [ 118.2946239] config_detach() at netbsd:config_detach+0x106c sys/kern/subr_autoconf.c:2037 [ 118.3346235] fops_pad_close() at netbsd:fops_pad_close+0x160 pad_close sys/dev/pad/pad.c:423 [inline] [ 118.3346235] fops_pad_close() at netbsd:fops_pad_close+0x160 sys/dev/pad/pad.c:433 [ 118.3846227] closef() at netbsd:closef+0x4e5 sys/kern/kern_descrip.c:832 [ 118.4346315] fd_free() at netbsd:fd_free+0xc87 [ 118.4746261] exit1() at netbsd:exit1+0xaab sys/kern/kern_exit.c:301 [ 118.5146296] sys_exit() at netbsd:sys_exit+0x1d6 [ 118.5646275] syscall() at netbsd:syscall+0x60c sy_invoke sys/sys/syscallvar.h:94 [inline] [ 118.5646275] syscall() at netbsd:syscall+0x60c sys/arch/x86/x86/syscall.c:138 [ 118.5846253] --- syscall (number 1) --- [ 118.5946228] netbsd:syscall+0x60c: [ 118.5946228] cpu1: End traceback... [ 118.6046250] fatal breakpoint trap in supervisor mode [ 118.6046250] trap type 1 code 0 rip 0xffffffff802228ad cs 0x8 rflags 0x282 cr2 0x73c61fc00000 ilevel 0 rsp 0xffffc40090d09340 [ 118.6146214] curlwp 0xffffc40013a58040 pid 2404.2404 lowest kstack 0xffffc40090d022c0 [ 118.6246226] uvm_fault(0xffffc400135435a8, 0x0, 1) -> e [ 118.6246226] fatal page fault in supervisor mode [ 118.6246226] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffc40090d08d30 [ 118.6246226] curlwp 0xffffc40013a58040 pid 2404.2404 lowest kstack 0xffffc40090d022c0 kernel: page fault trap, code=0 [ 118.6246226] uvm_fault(0xffffc400135435a8, 0x0, 1) -> e [ 118.6246226] fatal page fault in supervisor mode [ 118.6246226] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffc40090d08720 [ 118.6246226] curlwp 0xffffc40013a58040 pid 2404.2404 lowest kstack 0xffffc40090d022c0 kernel: page fault trap, code=0 [ 118.6246226] uvm_fault(0xffffc400135435a8, 0x0, 1) -> e [ 118.6246226] fatal page fault in supervisor mode [ 118.6246226] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffc40090d08110 [ 118.6246226] curlwp 0xffffc40013a58040 pid 2404.2404 lowest kstack 0xffffc40090d022c0 kernel: page fault trap, code=0 [ 118.6246226] uvm_fault(0xffffc400135435a8, 0x0, 1) -> e [ 118.6246226] fatal page fault in supervisor mode [ 118.6246226] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffc40090d07b00 [ 118.6246226] curlwp 0xffffc40013a58040 pid 2404.2404 lowest kstack 0xffffc40090d022c0 kernel: page fault trap, code=0 [ 118.6246226] uvm_fault(0xffffc400135435a8, 0x0, 1) -> e [ 118.6246226] fatal page fault in supervisor mode [ 118.6246226] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffc40090d074f0 [ 118.6246226] curlwp 0xffffc40013a58040 pid 2404.2404 lowest kstack 0xffffc40090d022c0 kernel: page fault trap, code=0 [ 118.6246226] uvm_fault(0xffffc400135435a8, 0x0, 1) -> e [ 118.6246226] fatal page fault in supervisor mode [ 118.6246226] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffc40090d06ee0 [ 118.6246226] curlwp 0xffffc40013a58040 pid 2404.2404 lowest kstack 0xffffc40090d022c0 kernel: page fault trap, code=0 [ 118.6246226] uvm_fault(0xffffc400135435a8, 0x0, 1) -> e [ 118.6246226] fatal page fault in supervisor mode [ 118.6246226] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffc40090d068d0 [ 118.6246226] curlwp 0xffffc40013a58040 pid 2404.2404 lowest kstack 0xffffc40090d022c0 kernel: page fault trap, code=0 [ 118.6246226] uvm_fault(0xffffc400135435a8, 0x0, 1) -> e [ 118.6246226] fatal page fault in supervisor mode [ 118.6246226] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffc40090d062c0 [ 118.6246226] curlwp 0xffffc40013a58040 pid 2404.2404 lowest kstack 0xffffc40090d022c0 kernel: page fault trap, code=0 [ 118.6246226] uvm_fault(0xffffc400135435a8, 0x0, 1) -> e [ 118.6246226] fatal page fault in supervisor mode [ 118.6246226] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffc40090d05cb0 [ 118.6246226] curlwp 0xffffc40013a58040 pid 2404.2404 lowest kstack 0xffffc40090d022c0 kernel: page fault trap, code=0 [ 118.6246226] uvm_fault(0xffffc400135435a8, 0x0, 1) -> e [ 118.6246226] fatal page fault in supervisor mode [ 118.6246226] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffc40090d056a0 [ 118.6246226] curlwp 0xffffc40013a58040 pid 2404.2404 lowest kstack 0xffffc40090d022c0 kernel: page fault trap, code=0 [ 118.6246226] uvm_fault(0xffffc400135435a8, 0x0, 1) -> e [ 118.6246226] fatal page fault in supervisor mode [ 118.6246226] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffc40090d05090 [ 118.6246226] curlwp 0xffffc40013a58040 pid 2404.2404 lowest kstack 0xffffc40090d022c0 kernel: page fault trap, code=0