[ 314.1444559] panic: kernel diagnostic assertion "dev->dv_detaching == curlwp" failed: file "/syzkaller/managers/ci2-netbsd-kmsan/kernel/sys/kern/subr_autoconf.c", line 2176 [ 314.1609991] cpu0: Begin traceback... [ 314.1840626] vpanic() at netbsd:vpanic+0xc9d [ 314.2240594] kern_assert() at netbsd:kern_assert+0x228 [ 314.2740592] config_detach_commit() at netbsd:config_detach_commit+0x1c6 [ 314.3240618] vdevgone() at netbsd:vdevgone+0x20c [ 314.3740594] audiodetach() at netbsd:audiodetach+0x22d sys/dev/audio/audio.c:1371 [ 314.4140617] config_detach() at netbsd:config_detach+0x106c sys/kern/subr_autoconf.c:2037 [ 314.4640585] config_detach_children() at netbsd:config_detach_children+0x191 sys/kern/subr_autoconf.c:2195 [ 314.5140592] pad_detach() at netbsd:pad_detach+0x22d sys/dev/pad/pad.c:251 [ 314.5640582] config_detach() at netbsd:config_detach+0x106c sys/kern/subr_autoconf.c:2037 [ 314.6040632] fops_pad_close() at netbsd:fops_pad_close+0x160 pad_close sys/dev/pad/pad.c:423 [inline] [ 314.6040632] fops_pad_close() at netbsd:fops_pad_close+0x160 sys/dev/pad/pad.c:433 [ 314.6540592] closef() at netbsd:closef+0x4e5 sys/kern/kern_descrip.c:832 [ 314.7040598] fd_free() at netbsd:fd_free+0xc87 [ 314.7440581] exit1() at netbsd:exit1+0xaab sys/kern/kern_exit.c:301 [ 314.7940597] sys_exit() at netbsd:sys_exit+0x1d6 [ 314.8340612] syscall() at netbsd:syscall+0x60c sy_invoke sys/sys/syscallvar.h:94 [inline] [ 314.8340612] syscall() at netbsd:syscall+0x60c sys/arch/x86/x86/syscall.c:138 [ 314.8540608] --- syscall (number 1) --- [ 314.8640601] netbsd:syscall+0x60c: [ 314.8740811] cpu0: End traceback... [ 314.8740811] fatal breakpoint trap in supervisor mode [ 314.8740811] trap type 1 code 0 rip 0xffffffff802228ad cs 0x8 rflags 0x282 cr2 0x7eb6ca87cc50 ilevel 0 rsp 0xffffb080927c1340 [ 314.8943668] curlwp 0xffffb0801372cb80 pid 10424.10424 lowest kstack 0xffffb080927ba2c0 [ 314.8943668] uvm_fault(0xffffb080145e9738, 0x0, 1) -> e [ 314.8943668] fatal page fault in supervisor mode [ 314.8943668] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffb080927c0d30 [ 314.8943668] curlwp 0xffffb0801372cb80 pid 10424.10424 lowest kstack 0xffffb080927ba2c0 kernel: page fault trap, code=0 [ 314.8943668] uvm_fault(0xffffb080145e9738, 0x0, 1) -> e [ 314.8943668] fatal page fault in supervisor mode [ 314.8943668] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffb080927c0720 [ 314.8943668] curlwp 0xffffb0801372cb80 pid 10424.10424 lowest kstack 0xffffb080927ba2c0 kernel: page fault trap, code=0 [ 314.8943668] uvm_fault(0xffffb080145e9738, 0x0, 1) -> e [ 314.8943668] fatal page fault in supervisor mode [ 314.8943668] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffb080927c0110 [ 314.8943668] curlwp 0xffffb0801372cb80 pid 10424.10424 lowest kstack 0xffffb080927ba2c0 kernel: page fault trap, code=0 [ 314.8943668] uvm_fault(0xffffb080145e9738, 0x0, 1) -> e [ 314.8943668] fatal page fault in supervisor mode [ 314.8943668] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffb080927bfb00 [ 314.8943668] curlwp 0xffffb0801372cb80 pid 10424.10424 lowest kstack 0xffffb080927ba2c0 kernel: page fault trap, code=0 [ 314.8943668] uvm_fault(0xffffb080145e9738, 0x0, 1) -> e [ 314.8943668] fatal page fault in supervisor mode [ 314.8943668] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffb080927bf4f0 [ 314.8943668] curlwp 0xffffb0801372cb80 pid 10424.10424 lowest kstack 0xffffb080927ba2c0 kernel: page fault trap, code=0 [ 314.8943668] uvm_fault(0xffffb080145e9738, 0x0, 1) -> e [ 314.8943668] fatal page fault in supervisor mode [ 314.8943668] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffb080927beee0 [ 314.8943668] curlwp 0xffffb0801372cb80 pid 10424.10424 lowest kstack 0xffffb080927ba2c0 kernel: page fault trap, code=0 [ 314.8943668] uvm_fault(0xffffb080145e9738, 0x0, 1) -> e [ 314.8943668] fatal page fault in supervisor mode [ 314.8943668] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffb080927be8d0 [ 314.8943668] curlwp 0xffffb0801372cb80 pid 10424.10424 lowest kstack 0xffffb080927ba2c0 kernel: page fault trap, code=0 [ 314.8943668] uvm_fault(0xffffb080145e9738, 0x0, 1) -> e [ 314.8943668] fatal page fault in supervisor mode [ 314.8943668] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffb080927be2c0 [ 314.8943668] curlwp 0xffffb0801372cb80 pid 10424.10424 lowest kstack 0xffffb080927ba2c0 kernel: page fault trap, code=0 [ 314.8943668] uvm_fault(0xffffb080145e9738, 0x0, 1) -> e [ 314.8943668] fatal page fault in supervisor mode [ 314.8943668] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffb080927bdcb0 [ 314.8943668] curlwp 0xffffb0801372cb80 pid 10424.10424 lowest kstack 0xffffb080927ba2c0 kernel: page fault trap, code=0 [ 314.8943668] uvm_fault(0xffffb080145e9738, 0x0, 1) -> e [ 314.8943668] fatal page fault in supervisor mode [ 314.8943668] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffb080927bd6a0 [ 314.8943668] curlwp 0xffffb0801372cb80 pid 10424.10424 lowest kstack 0xffffb080927ba2c0 kernel: page fault trap, code=0 [ 314.8943668] uvm_fault(0xffffb080145e9738, 0x0, 1) -> e [ 314.8943668] fatal page fault in supervisor mode [ 314.8943668] trap type 6 code 0 rip 0xffffffff848ae8f7 cs 0x8 rflags 0x10246 cr2 0x1e8 ilevel 0x8 rsp 0xffffb080927bd090 [ 314.8943668] curlwp 0xffffb0801372cb80 pid 10424.10424 lowest kstack 0xffffb080927ba2c0 kernel: page fault trap, code=0