[ 2184.8630596] panic: kernel diagnostic assertion "pg->wire_count != 0" failed: file "/syzkaller/managers/ci2-netbsd-kubsan/kernel/sys/uvm/uvm_page.c", line 1789 [ 2184.9633897] cpu0: Begin traceback... [ 2185.2490496] vpanic() at netbsd:vpanic+0x2f0 sys/kern/subr_prf.c:288 [ 2186.2091046] kern_assert() at netbsd:kern_assert+0x65 sys/arch/amd64/amd64/db_disasm.c:1074 [ 2186.9790542] uvm_pageunwire() at netbsd:uvm_pageunwire+0x228 sys/uvm/uvm_page.c:1789 [ 2187.6390460] uvm_fault_unwire_locked() at netbsd:uvm_fault_unwire_locked+0x3a1 sys/uvm/uvm_fault.c:2729 [ 2188.3191262] uvm_fault_unwire() at netbsd:uvm_fault_unwire+0x32 sys/uvm/uvm_fault.c:2655 [ 2188.9992707] genfs_directio() at netbsd:genfs_directio+0xb6c sys/miscfs/genfs/genfs_io.c:1817 [ 2189.6791222] ffs_write() at netbsd:ffs_write+0xb71 sys/ufs/ufs/ufs_readwrite.c:353 [ 2190.3492331] VOP_WRITE() at netbsd:VOP_WRITE+0x2ab sys/kern/vnode_if.c:824 [ 2191.0992325] vn_write() at netbsd:vn_write+0x309 sys/kern/vfs_vnops.c:717 [ 2191.8290333] do_filewritev.part.0() at netbsd:do_filewritev.part.0+0x56d [ 2192.5090311] do_filewritev() at netbsd:do_filewritev+0x53 sys/kern/sys_generic.c:399 [ 2193.1691608] sys_pwritev() at netbsd:sys_pwritev+0x54 sys/kern/vfs_syscalls.c:3093 [ 2193.8190340] sys___syscall() at netbsd:sys___syscall+0x1e4 sy_call sys/sys/syscallvar.h:65 [inline] [ 2193.8190340] sys___syscall() at netbsd:sys___syscall+0x1e4 sys/kern/sys_syscall.c:90 [ 2194.4990270] syscall() at netbsd:syscall+0x28b sy_call sys/sys/syscallvar.h:65 [inline] [ 2194.4990270] syscall() at netbsd:syscall+0x28b sy_invoke sys/sys/syscallvar.h:94 [inline] [ 2194.4990270] syscall() at netbsd:syscall+0x28b sys/arch/x86/x86/syscall.c:137 [ 2194.6611824] --- syscall (number 290 via SYS_syscall) --- [ 2194.8790327] netbsd:syscall+0x28b: [ 2194.8994616] cpu0: End traceback... [ 2194.9283876] fatal breakpoint trap in supervisor mode [ 2194.9626049] trap type 1 code 0 rip 0xffffffff80235475 cs 0x8 rflags 0x246 cr2 0x7cbd7c6b9508 ilevel 0 rsp 0xffffab82488b1950 [ 2195.0392743] curlwp 0xffff897a62e56a00 pid 13728.9102 lowest kstack 0xffffab82488ad2c0 Stopped in pid 13728.9102 (syz-executor.0) at netbsd:breakpoint+0x5: leave ? breakpoint() at netbsd:breakpoint+0x5 db_panic() at netbsd:db_panic+0xec sys/ddb/db_panic.c:71 vpanic() at netbsd:vpanic+0x2f0 sys/kern/subr_prf.c:288 kern_assert() at