[ 172.4304024] panic: kernel diagnostic assertion "dev->dv_detaching == curlwp" failed: file "/syzkaller/managers/ci2-netbsd-kmsan/kernel/sys/kern/subr_autoconf.c", line 2176 [ 172.4471163] cpu0: Begin traceback... [ 172.4685047] vpanic() at netbsd:vpanic+0xc9d [ 172.5085076] kern_assert() at netbsd:kern_assert+0x228 [ 172.5585038] config_detach_commit() at netbsd:config_detach_commit+0x1c6 [ 172.6085031] vdevgone() at netbsd:vdevgone+0x20c [ 172.6585057] audiodetach() at netbsd:audiodetach+0x22d sys/dev/audio/audio.c:1371 [ 172.7085027] config_detach() at netbsd:config_detach+0x106c sys/kern/subr_autoconf.c:2037 [ 172.7585047] config_detach_children() at netbsd:config_detach_children+0x191 sys/kern/subr_autoconf.c:2195 [ 172.8085067] pad_detach() at netbsd:pad_detach+0x22d sys/dev/pad/pad.c:251 [ 172.8585013] config_detach() at netbsd:config_detach+0x106c sys/kern/subr_autoconf.c:2037 [ 172.9085011] fops_pad_close() at netbsd:fops_pad_close+0x160 pad_close sys/dev/pad/pad.c:423 [inline] [ 172.9085011] fops_pad_close() at netbsd:fops_pad_close+0x160 sys/dev/pad/pad.c:433 [ 172.9585043] closef() at netbsd:closef+0x4e5 sys/kern/kern_descrip.c:832 [ 172.9985123] fd_free() at netbsd:fd_free+0xc87 [ 173.0485055] exit1() at netbsd:exit1+0xaab sys/kern/kern_exit.c:301 [ 173.0984994] sys_exit() at netbsd:sys_exit+0x1d6 [ 173.1485006] syscall() at netbsd:syscall+0x60c sy_invoke sys/sys/syscallvar.h:94 [inline] [ 173.1485006] syscall() at netbsd:syscall+0x60c sys/arch/x86/x86/syscall.c:138 [ 173.1585031] --- syscall (number 1) --- [ 173.1785012] netbsd:syscall+0x60c: [ 173.1785012] cpu0: End traceback... [ 173.1785012] fatal breakpoint trap in supervisor mode [ 173.1886082] trap type 1 code 0 rip 0xffffffff802228ad cs 0x8 rflags 0x282 cr2 0x7f7ff7eef000 ilevel 0 rsp 0xffffb00088a6b340 [ 173.2016098] curlwp 0xffffb000143e6300 pid 6970.7336 lowest kstack 0xffffb00088a642c0 [ 173.2093226] uvm_fault(0xffffb000136ed460, 0x0, 1) -> e [ 173.2093226] fatal page fault in supervisor mode [ 173.2093226] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffb00088a6ad30 [ 173.2093226] curlwp 0xffffb000143e6300 pid 6970.7336 lowest kstack 0xffffb00088a642c0 kernel: page fault trap, code=0 [ 173.2093226] uvm_fault(0xffffb000136ed460, 0x0, 1) -> e [ 173.2093226] fatal page fault in supervisor mode [ 173.2093226] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffb00088a6a720 [ 173.2093226] curlwp 0xffffb000143e6300 pid 6970.7336 lowest kstack 0xffffb00088a642c0 kernel: page fault trap, code=0 [ 173.2093226] uvm_fault(0xffffb000136ed460, 0x0, 1) -> e [ 173.2093226] fatal page fault in supervisor mode [ 173.2093226] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffb00088a6a110 [ 173.2093226] curlwp 0xffffb000143e6300 pid 6970.7336 lowest kstack 0xffffb00088a642c0 kernel: page fault trap, code=0 [ 173.2093226] uvm_fault(0xffffb000136ed460, 0x0, 1) -> e [ 173.2093226] fatal page fault in supervisor mode [ 173.2093226] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffb00088a69b00 [ 173.2093226] curlwp 0xffffb000143e6300 pid 6970.7336 lowest kstack 0xffffb00088a642c0 kernel: page fault trap, code=0 [ 173.2093226] uvm_fault(0xffffb000136ed460, 0x0, 1) -> e [ 173.2093226] fatal page fault in supervisor mode [ 173.2093226] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffb00088a694f0 [ 173.2093226] curlwp 0xffffb000143e6300 pid 6970.7336 lowest kstack 0xffffb00088a642c0 kernel: page fault trap, code=0 [ 173.2093226] uvm_fault(0xffffb000136ed460, 0x0, 1) -> e [ 173.2093226] fatal page fault in supervisor mode [ 173.2093226] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffb00088a68ee0 [ 173.2093226] curlwp 0xffffb000143e6300 pid 6970.7336 lowest kstack 0xffffb00088a642c0 kernel: page fault trap, code=0 [ 173.2093226] uvm_fault(0xffffb000136ed460, 0x0, 1) -> e [ 173.2093226] fatal page fault in supervisor mode [ 173.2093226] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffb00088a688d0 [ 173.2093226] curlwp 0xffffb000143e6300 pid 6970.7336 lowest kstack 0xffffb00088a642c0 kernel: page fault trap, code=0 [ 173.2093226] uvm_fault(0xffffb000136ed460, 0x0, 1) -> e [ 173.2093226] fatal page fault in supervisor mode [ 173.2093226] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffb00088a682c0 [ 173.2093226] curlwp 0xffffb000143e6300 pid 6970.7336 lowest kstack 0xffffb00088a642c0 kernel: page fault trap, code=0 [ 173.2093226] uvm_fault(0xffffb000136ed460, 0x0, 1) -> e [ 173.2093226] fatal page fault in supervisor mode [ 173.2093226] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffb00088a67cb0 [ 173.2093226] curlwp 0xffffb000143e6300 pid 6970.7336 lowest kstack 0xffffb00088a642c0 kernel: page fault trap, code=0 [ 173.2093226] uvm_fault(0xffffb000136ed460, 0x0, 1) -> e [ 173.2093226] fatal page fault in supervisor mode [ 173.2093226] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffb00088a676a0 [ 173.2093226] curlwp 0xffffb000143e6300 pid 6970.7336 lowest kstack 0xffffb00088a642c0 kernel: page fault trap, code=0 [ 173.2093226] uvm_fault(0xffffb000136ed460, 0x0, 1) -> e [ 173.2093226] fatal page fault in supervisor mode [ 173.2093226] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffb00088a67090 [ 173.2093226] curlwp 0xffffb000143e6300 pid 6970.7336 lowest kstack 0xffffb00088a642c0 kernel: page fault trap, code=0