panic: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 443701 35205 0 0 0x4000000 0 syz-executor.7 *381541 42818 0 0 0x4000000 1 syz-executor.3 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff825a2db5) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(ffffffff829f3ad8,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833 __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 sys/kern/kern_lock.c:142 selwakeup(fffffd8076ed7198) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd8076ed7198) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd8076ed7080) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip_input(ffff80002e3d0f78,ffff80002e3d0f84,0,2) at rip_input+0x3b0 sys/netinet/raw_ip.c:188 ip_deliver(ffff80002e3d0f78,ffff80002e3d0f84,0,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip_ours(ffff80002e3d0f78,ffff80002e3d0f84,0,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616 ip_input_if(ffff80002e3d0f78,ffff80002e3d0f84,4,0,ffff800000689000) at ip_input_if+0x2a1 ipv4_input(ffff800000689000,fffffd8070204700) at ipv4_input+0x48 sys/netinet/ip_input.c:242 if_input_local(ffff800000689000,fffffd8070204700,2) at if_input_local+0x10e sys/net/if.c:774 ip_output(fffffd8064508300,0,fffffd8078ac3cb0,20,0,fffffd8078ac3c38,4c95c9ef099c0b25) at ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] ip_output(fffffd8064508300,0,fffffd8078ac3cb0,20,0,fffffd8078ac3c38,4c95c9ef099c0b25) at ip_output+0xb05 sys/netinet/ip_output.c:332 rip_output(fffffd8064508300,fffffd8076ed7da0,ffff80002e3d11d0,1) at rip_output+0x2cb sys/netinet/raw_ip.c:302 end trace frame: 0xffff80002e3d1250, count: 0 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff825a2db5) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(ffffffff829f3ad8,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833 __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 sys/kern/kern_lock.c:142 selwakeup(fffffd8076ed7198) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd8076ed7198) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd8076ed7080) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip_input(ffff80002e3d0f78,ffff80002e3d0f84,0,2) at rip_input+0x3b0 sys/netinet/raw_ip.c:188 ip_deliver(ffff80002e3d0f78,ffff80002e3d0f84,0,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip_ours(ffff80002e3d0f78,ffff80002e3d0f84,0,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616 ip_input_if(ffff80002e3d0f78,ffff80002e3d0f84,4,0,ffff800000689000) at ip_input_if+0x2a1 ipv4_input(ffff800000689000,fffffd8070204700) at ipv4_input+0x48 sys/netinet/ip_input.c:242 if_input_local(ffff800000689000,fffffd8070204700,2) at if_input_local+0x10e sys/net/if.c:774 ip_output(fffffd8064508300,0,fffffd8078ac3cb0,20,0,fffffd8078ac3c38,4c95c9ef099c0b25) at ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] ip_output(fffffd8064508300,0,fffffd8078ac3cb0,20,0,fffffd8078ac3c38,4c95c9ef099c0b25) at ip_output+0xb05 sys/netinet/ip_output.c:332 rip_output(fffffd8064508300,fffffd8076ed7da0,ffff80002e3d11d0,1) at rip_output+0x2cb sys/netinet/raw_ip.c:302 rip_usrreq(fffffd8076ed7da0,9,fffffd8064508300,0,0,ffff8000260a42b0) at rip_usrreq+0x49c sys/netinet/raw_ip.c:554 sosend(fffffd8076ed7da0,0,ffff80002e3d1460,0,0,0) at sosend+0x632 sys/kern/uipc_socket.c:582 dofilewritev(ffff8000260a42b0,5,ffff80002e3d1460,0,ffff80002e3d1560) at dofilewritev+0x19c sys/kern/sys_generic.c:381 sys_writev(ffff8000260a42b0,ffff80002e3d1508,ffff80002e3d1560) at sys_writev+0xa7 sys/kern/sys_generic.c:328 syscall(ffff80002e3d15d0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e3d15d0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5e1d89a0b70, count: -20 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002e3d0b00 rbx 0xffff800020ce9bff rdx 0 rcx 0 rax 0xffff8000260a42b0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xb8b3a025aa61f342 r11 0xb49d84ddd0c1a3ad r12 0xffff800020ce9a00 r13 0 r14 0 r15 0x1 rip 0xffffffff811e4c58 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002e3d0af0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.3) pid=381541 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=83, nice=20 forw=0xffffffffffffffff, list=0xffff8000260a5270,0xffff8000260a5520 process=0xffff80002e3b0c98 user=0xffff80002e3cc000, vmspace=0xfffffd80788b68c8 estcpu=33, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 50734 224589 35934 0 2 0 syz-executor.2 50734 469118 35934 0 2 0x4000000 syz-executor.2 50734 349124 35934 0 3 0x4000080 fsleep syz-executor.2 35205 380482 18191 0 2 0 syz-executor.7 35205 443701 18191 0 7 0x4000000 syz-executor.7 35205 254104 18191 0 3 0x4000080 fsleep syz-executor.7 42818 347769 32252 0 2 0 syz-executor.3 42818 242280 32252 0 2 0x4000000 syz-executor.3 *42818 381541 32252 0 7 0x4000000 syz-executor.3 42818 327445 32252 0 3 0x4000080 fsleep syz-executor.3 99461 151137 8269 0 2 0 syz-executor.5 99461 363484 8269 0 3 0x4000080 fsleep syz-executor.5 99461 259012 8269 0 3 0x4000080 fsleep syz-executor.5 45719 289474 58848 0 2 0 syz-executor.1 45719 28165 58848 0 3 0x4000080 fsleep syz-executor.1 75144 56601 54840 0 3 0x80 nanoslp syz-executor.4 75144 464142 54840 0 3 0x4000080 fsleep syz-executor.4 75144 368341 54840 0 3 0x4000080 fsleep syz-executor.4 35934 253871 61848 0 3 0x82 nanoslp syz-executor.2 8269 332145 61848 0 3 0x82 nanoslp syz-executor.5 58848 72782 61848 0 3 0x82 nanoslp syz-executor.1 61260 53877 0 0 3 0x14280 nfsidl nfsio 559 134748 0 0 3 0x14280 nfsidl nfsio 24706 504097 0 0 3 0x14280 nfsidl nfsio 98782 478558 0 0 3 0x14280 nfsidl nfsio 13691 483794 0 0 3 0x14280 nfsidl nfsio 73316 383751 0 0 3 0x14280 nfsidl nfsio 28497 465589 0 0 3 0x14280 nfsidl nfsio 1630 273478 0 0 3 0x14280 nfsidl nfsio 89533 68756 0 0 3 0x14280 nfsidl nfsio 63075 418618 0 0 3 0x14280 nfsidl nfsio 39398 473252 0 0 3 0x14280 nfsidl nfsio 2845 177052 0 0 3 0x14280 nfsidl nfsio 56346 105705 0 0 3 0x14280 nfsidl nfsio 77584 392488 0 0 3 0x14280 nfsidl nfsio 89797 284510 0 0 3 0x14280 nfsidl nfsio 684 54974 0 0 3 0x14280 nfsidl nfsio 42675 269362 0 0 3 0x14280 nfsidl nfsio 11070 374930 0 0 3 0x14280 nfsidl nfsio 5741 421527 0 0 3 0x14280 nfsidl nfsio 62549 347124 0 0 3 0x14280 nfsidl nfsio 15441 247440 1 0 3 0x100083 ttyin getty 79987 202781 61848 0 2 0x2 syz-executor.0 18436 175837 0 0 3 0x14200 bored sosplice 18191 91687 61848 0 3 0x82 nanoslp syz-executor.7 68797 84834 61848 0 3 0x82 nanoslp syz-executor.6 32252 408846 61848 0 3 0x82 nanoslp syz-executor.3 54840 89403 61848 0 3 0x82 nanoslp syz-executor.4 61848 398686 36245 0 3 0x82 thrsleep syz-fuzzer 61848 147619 36245 0 3 0x4000082 thrsleep syz-fuzzer 61848 86497 36245 0 3 0x4000082 thrsleep syz-fuzzer 61848 489945 36245 0 3 0x4000082 thrsleep syz-fuzzer 61848 325005 36245 0 3 0x4000082 thrsleep syz-fuzzer 61848 319668 36245 0 3 0x4000082 thrsleep syz-fuzzer 61848 84438 36245 0 3 0x4000082 kqread syz-fuzzer 61848 299175 36245 0 3 0x4000082 thrsleep syz-fuzzer 61848 33179 36245 0 3 0x4000082 thrsleep syz-fuzzer 36245 453538 70140 0 3 0x10008a sigsusp ksh 70140 99172 67331 0 3 0x9a kqread sshd 67331 30650 1 0 3 0x88 kqread sshd 90306 171342 19888 74 3 0x1100092 bpf pflogd 19888 434216 1 0 3 0x80 netio pflogd 34823 182860 37803 73 3 0x1100090 kqread syslogd 37803 521146 1 0 3 0x100082 netio syslogd 23428 78684 1 0 3 0x100080 kqread resolvd 76262 22362 43392 77 3 0x100092 kqread dhcpleased 37384 358138 43392 77 3 0x100092 kqread dhcpleased 43392 21336 1 0 3 0x80 kqread dhcpleased 27590 6514 0 0 3 0x14200 bored smr 10931 3038 0 0 2 0x14200 zerothread 48231 154894 0 0 3 0x14200 aiodoned aiodoned 10864 599 0 0 3 0x14200 syncer update 28461 280394 0 0 3 0x14200 cleaner cleaner 73682 397962 0 0 3 0x14200 reaper reaper 34984 419984 0 0 3 0x14200 pgdaemon pagedaemon 25215 486413 0 0 3 0x14200 bored viomb 67806 255535 0 0 3 0x40014200 acpi0 acpi0 34310 247927 0 0 3 0x40014200 idle1 56109 157286 0 0 3 0x14200 bored softnet 24343 112986 0 0 3 0x14200 bored systqmp 58010 80774 0 0 3 0x14200 bored systq 43749 57275 0 0 3 0x40014200 bored softclock 94494 308745 0 0 3 0x40014200 idle0 1 252968 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive mutex &table->inpt_mtx r = 0 (0xffffffff82b03010) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 rip_input+0x135 #4 ip_deliver+0x322 sys/netinet/ip_input.c:657 #5 ip_ours+0x3ba sys/netinet/ip_input.c:616 #6 ip_input_if+0x2a1 #7 ipv4_input+0x48 sys/netinet/ip_input.c:242 #8 if_input_local+0x10e sys/net/if.c:774 #9 ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] #9 ip_output+0xb05 sys/netinet/ip_output.c:332 #10 rip_output+0x2cb sys/netinet/raw_ip.c:302 #11 rip_usrreq+0x49c sys/netinet/raw_ip.c:554 #12 sosend+0x632 sys/kern/uipc_socket.c:582 #13 dofilewritev+0x19c sys/kern/sys_generic.c:381 #14 sys_writev+0xa7 sys/kern/sys_generic.c:328 #15 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #15 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #16 Xsyscall+0x128 Process 35205 (syz-executor.7) thread 0xffff8000260a4d30 (443701) exclusive rrwlock inode r = 0 (0xfffffd8067f9db48) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:461 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:534 #4 ufs_ihashins+0x42 sys/ufs/ufs/ufs_ihash.c:140 #5 ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1347 #6 ffs_inode_alloc+0x1be sys/ufs/ffs/ffs_alloc.c:394 #7 ufs_makeinode+0xae sys/ufs/ufs/ufs_vnops.c:1830 #8 ufs_mknod+0x4e sys/ufs/ufs/ufs_vnops.c:172 #9 VOP_MKNOD+0xbf sys/kern/vfs_vops.c:121 #10 domknodat+0x326 sys/kern/vfs_syscalls.c:1630 #11 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #11 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #12 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806d416e78) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:461 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:534 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:579 #5 vfs_lookup+0xd1 sys/kern/vfs_lookup.c:413 #6 namei+0x36a sys/kern/vfs_lookup.c:245 #7 domknodat+0x92 sys/kern/vfs_syscalls.c:1582 #8 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #9 Xsyscall+0x128 Process 42818 (syz-executor.3) thread 0xffff8000260a42b0 (381541) exclusive rwlock netlock r = 0 (0xffffffff82904160) #0 witness_lock+0x44d #1 solock+0x86 sys/kern/uipc_socket2.c:295 #2 sosend+0x517 sys/kern/uipc_socket.c:570 #3 dofilewritev+0x19c sys/kern/sys_generic.c:381 #4 sys_writev+0xa7 sys/kern/sys_generic.c:328 #5 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #5 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #6 Xsyscall+0x128 exclusive mutex &table->inpt_mtx r = 0 (0xffffffff82b03010) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 rip_input+0x135 #4 ip_deliver+0x322 sys/netinet/ip_input.c:657 #5 ip_ours+0x3ba sys/netinet/ip_input.c:616 #6 ip_input_if+0x2a1 #7 ipv4_input+0x48 sys/netinet/ip_input.c:242 #8 if_input_local+0x10e sys/net/if.c:774 #9 ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] #9 ip_output+0xb05 sys/netinet/ip_output.c:332 #10 rip_output+0x2cb sys/netinet/raw_ip.c:302 #11 rip_usrreq+0x49c sys/netinet/raw_ip.c:554 #12 sosend+0x632 sys/kern/uipc_socket.c:582 #13 dofilewritev+0x19c sys/kern/sys_generic.c:381 #14 sys_writev+0xa7 sys/kern/sys_generic.c:328 #15 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #15 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #16 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10187 6491K 6754K 78643K 14996 0 pcb 14 12K 17K 78643K 2311 0 rtable 219 8K 10K 78643K 721 0 ifaddr 85 18K 18K 78643K 256 0 counters 56 35K 36K 78643K 112 0 ioctlops 0 0K 4K 78643K 1924 0 iov 0 0K 16K 78643K 235 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1341 84K 84K 78643K 3042 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 28 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 567 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 16 57K 81K 78643K 3210 0 sigio 0 0K 0K 78643K 2 0 proc 70 87K 124K 78643K 728 0 subproc 104 6K 6K 78643K 156 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 112 0 in_multi 88 6K 6K 78643K 253 0 ether_multi 1 0K 0K 78643K 16 0 mrt 1 0K 0K 78643K 11 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 97 440K 440K 78643K 97 0 exec 0 0K 2K 78643K 1111 0 pfkey data 0 0K 0K 78643K 4 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 392 252K 263K 78643K 42647 0 UVM aobj 131 4K 4K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 130 0 NDP 12 0K 2K 78643K 77 0 temp 133 4713K 4781K 78643K 31019 0 kqueue 12 18K 24K 78643K 259 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 115 0 112 1 0 1 1 0 8 0 rtentry 112 236 0 141 4 0 4 4 0 8 0 unpcb 136 2169 0 2148 25 22 3 6 0 8 2 syncache 296 14 0 14 4 3 1 1 0 8 1 tcpqe 32 410 0 410 3 2 1 2 0 8 1 tcpcb 736 1411 0 1393 35 27 8 8 0 8 6 arp 120 35 0 15 1 0 1 1 0 8 0 inpcb 312 4725 0 4714 44 38 6 15 0 8 4 rttmr 72 5 0 5 1 1 0 1 0 8 0 nd6 48 49 0 29 1 0 1 1 0 8 0 pkpcb 40 39 0 39 2 2 0 1 0 8 0 kcovpl 48 12 0 4 1 0 1 1 0 8 0 ppxss 1248 11 0 11 3 2 1 1 0 8 1 pffrag 232 6 0 5 2 1 1 1 0 482 0 pffrnode 88 6 0 5 2 1 1 1 0 8 0 pffrent 40 12 0 11 2 1 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 15 0 11 1 0 1 1 0 8 0 pftag 88 4 0 4 1 1 0 1 0 8 0 pfstitem 24 30 0 28 1 0 1 1 0 8 0 pfstkey 112 30 0 28 1 0 1 1 0 8 0 pfstate 320 30 0 28 3 2 1 3 0 8 0 pfrule 1360 46 0 28 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1133 0 734 33 8 25 29 0 8 0 art_table 32 1134 0 734 4 0 4 4 0 8 0 art_node 16 235 0 150 1 0 1 1 0 8 0 sysvmsgpl 40 13 0 5 1 0 1 1 0 8 0 semupl 112 8 0 8 2 2 0 1 0 8 0 semapl 112 559 0 549 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 6026 0 4578 91 0 91 91 0 8 0 ffsino 272 6026 0 4578 97 0 97 97 0 8 0 nchpl 144 10300 0 8663 63 0 63 63 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 224 5926 0 0 349 0 349 349 0 8 0 namei 1024 31820 0 31819 2 1 1 2 0 8 0 percpumem 16 68 0 28 1 0 1 1 0 8 0 vcpupl 2048 16 0 0 2 0 2 2 0 8 0 vmpool 560 24 0 8 3 1 2 2 0 8 0 pfiaddrpl 120 8 0 2 1 0 1 1 0 8 0 scxspl 216 27366 0 27366 9 8 1 8 0 8 1 plimitpl 152 531 0 516 1 0 1 1 0 8 0 sigapl 424 3538 0 3473 8 0 8 8 0 8 0 futexpl 64 29546 0 29538 1 0 1 1 0 8 0 knotepl 120 129 0 0 4 0 4 4 0 8 0 kqueuepl 216 863 0 855 13 12 1 5 0 8 0 pipepl 336 539 0 511 16 13 3 8 0 8 0 fdescpl 496 3503 0 3474 6 2 4 5 0 8 0 filepl 152 21049 0 20795 53 38 15 19 0 8 5 lockfpl 104 559 0 557 2 0 2 2 0 8 1 lockfspl 48 214 0 212 1 0 1 1 0 8 0 sessionpl 144 29 0 12 1 0 1 1 0 8 0 pgrppl 48 67 0 50 1 0 1 1 0 8 0 ucredpl 96 1990 0 1978 1 0 1 1 0 8 0 zombiepl 144 3474 0 3473 1 0 1 1 0 8 0 processpl 1064 3538 0 3473 5 0 5 5 0 8 0 procpl 672 9462 0 9377 12 4 8 9 0 8 0 srpgc 96 4 0 4 2 2 0 1 0 8 0 sosppl 168 26 0 26 6 6 0 1 0 8 0 sockpl 480 7050 0 7015 135 122 13 26 0 8 8 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 17 0 0 3 0 3 3 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 16 0 0 2 0 2 2 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 73 0 0 9 6 3 9 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 315 0 0 39 1 38 39 0 8 0 mtagpl 96 226 0 0 5 0 5 5 0 8 0 mbufpl 256 541 0 0 27 0 27 27 0 8 0 bufpl 288 7325 0 989 453 0 453 453 0 8 0 anonpl 24 940715 0 921482 146 24 122 135 0 186 1 amapchunkpl 152 102813 0 101908 49 12 37 42 0 158 0 amappl16 200 8224 0 7648 53 20 33 43 0 8 2 amappl15 192 1080 0 1073 1 0 1 1 0 8 0 amappl14 184 423 0 420 1 0 1 1 0 8 0 amappl13 176 404 0 400 1 0 1 1 0 8 0 amappl12 168 21 0 17 1 0 1 1 0 8 0 amappl11 160 234 0 219 1 0 1 1 0 8 0 amappl10 152 1015 0 1004 1 0 1 1 0 8 0 amappl9 144 1126 0 1120 1 0 1 1 0 8 0 amappl8 136 710 0 643 3 0 3 3 0 8 0 amappl7 128 145 0 130 1 0 1 1 0 8 0 amappl6 120 893 0 871 2 1 1 2 0 8 0 amappl5 112 3440 0 3419 1 0 1 1 0 8 0 amappl4 104 1758 0 1730 2 0 2 2 0 8 0 amappl3 96 735 0 721 1 0 1 1 0 8 0 amappl2 88 1034 0 988 3 1 2 3 0 8 0 amappl1 80 65738 0 65130 19 5 14 19 0 8 0 amappl 88 42032 0 41735 8 0 8 8 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 3527 0 3482 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3527 0 3482 1 0 1 1 0 8 0 vmmpekpl 168 29084 0 29009 4 0 4 4 0 8 0 vmmpepl 168 315920 0 313308 200 74 126 147 0 357 5 vmsppl 368 3526 0 3482 6 1 5 5 0 8 0 rwobjpl 56 83094 0 75406 111 1 110 110 0 8 1 pdppl 4096 7061 0 6980 209 124 85 87 0 8 4 pvpl 32 1657867 0 1634094 305 101 204 263 0 265 6 pmappl 248 3526 0 3482 3 0 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1081 0 221 25 0 25 25 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff8298cff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x28 kd_curproc sys/dev/kcov.c:577 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x28 sys/dev/kcov.c:148 __mp_lock(ffffffff829f38d0) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0x133 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff829f38d0,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x3d3 sys/kern/sched_bsd.c:416 sleep_finish(ffff80002e1b4260,1) at sleep_finish+0x198 sys/kern/kern_synch.c:437 tsleep(fffffd8064282a58,11,ffffffff82602c8c,0) at tsleep+0x12c sys/kern/kern_synch.c:158 biowait(fffffd8064282a58) at biowait+0x91 sys/kern/vfs_bio.c:1271 bwrite(fffffd8064282a58) at bwrite+0x21b sys/kern/vfs_bio.c:772 VOP_BWRITE(fffffd8064282a58) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:656 ufs_direnter(fffffd806475c2b8,fffffd8061ffb628,ffff80002e1b4498,ffff80002e1b4800,0) at ufs_direnter+0x8fa sys/ufs/ufs/ufs_lookup.c:909 ufs_makeinode(2005,fffffd806475c2b8,ffff80002e1b47d0,ffff80002e1b4800) at ufs_makeinode+0x4cc sys/ufs/ufs/ufs_vnops.c:1868 end trace frame: 0xffff80002e1b4660, count: 0 ddb{0}> trace x86_ipi_db(ffffffff8298cff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x28 kd_curproc sys/dev/kcov.c:577 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x28 sys/dev/kcov.c:148 __mp_lock(ffffffff829f38d0) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0x133 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff829f38d0,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x3d3 sys/kern/sched_bsd.c:416 sleep_finish(ffff80002e1b4260,1) at sleep_finish+0x198 sys/kern/kern_synch.c:437 tsleep(fffffd8064282a58,11,ffffffff82602c8c,0) at tsleep+0x12c sys/kern/kern_synch.c:158 biowait(fffffd8064282a58) at biowait+0x91 sys/kern/vfs_bio.c:1271 bwrite(fffffd8064282a58) at bwrite+0x21b sys/kern/vfs_bio.c:772 VOP_BWRITE(fffffd8064282a58) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:656 ufs_direnter(fffffd806475c2b8,fffffd8061ffb628,ffff80002e1b4498,ffff80002e1b4800,0) at ufs_direnter+0x8fa sys/ufs/ufs/ufs_lookup.c:909 ufs_makeinode(2005,fffffd806475c2b8,ffff80002e1b47d0,ffff80002e1b4800) at ufs_makeinode+0x4cc sys/ufs/ufs/ufs_vnops.c:1868 ufs_mknod(ffff80002e1b4670) at ufs_mknod+0x4e sys/ufs/ufs/ufs_vnops.c:172 VOP_MKNOD(fffffd806475c2b8,ffff80002e1b47d0,ffff80002e1b4800,ffff80002e1b4700) at VOP_MKNOD+0xbf sys/kern/vfs_vops.c:121 domknodat(ffff8000260a4d30,ffffff9c,20000100,80002007,5cc2) at domknodat+0x326 sys/kern/vfs_syscalls.c:1630 syscall(ffff80002e1b49a0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e1b49a0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe78bae61450, count: -19 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x18: addq $0x8,%rsp db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff825a2db5) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(ffffffff829f3ad8,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833 __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 sys/kern/kern_lock.c:142 selwakeup(fffffd8076ed7198) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd8076ed7198) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd8076ed7080) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip_input(ffff80002e3d0f78,ffff80002e3d0f84,0,2) at rip_input+0x3b0 sys/netinet/raw_ip.c:188 ip_deliver(ffff80002e3d0f78,ffff80002e3d0f84,0,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip_ours(ffff80002e3d0f78,ffff80002e3d0f84,0,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616 ip_input_if(ffff80002e3d0f78,ffff80002e3d0f84,4,0,ffff800000689000) at ip_input_if+0x2a1 ipv4_input(ffff800000689000,fffffd8070204700) at ipv4_input+0x48 sys/netinet/ip_input.c:242 if_input_local(ffff800000689000,fffffd8070204700,2) at if_input_local+0x10e sys/net/if.c:774 ip_output(fffffd8064508300,0,fffffd8078ac3cb0,20,0,fffffd8078ac3c38,4c95c9ef099c0b25) at ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] ip_output(fffffd8064508300,0,fffffd8078ac3cb0,20,0,fffffd8078ac3c38,4c95c9ef099c0b25) at ip_output+0xb05 sys/netinet/ip_output.c:332 rip_output(fffffd8064508300,fffffd8076ed7da0,ffff80002e3d11d0,1) at rip_output+0x2cb sys/netinet/raw_ip.c:302 end trace frame: 0xffff80002e3d1250, count: 0 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff825a2db5) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(ffffffff829f3ad8,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833 __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 sys/kern/kern_lock.c:142 selwakeup(fffffd8076ed7198) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd8076ed7198) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd8076ed7080) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip_input(ffff80002e3d0f78,ffff80002e3d0f84,0,2) at rip_input+0x3b0 sys/netinet/raw_ip.c:188 ip_deliver(ffff80002e3d0f78,ffff80002e3d0f84,0,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip_ours(ffff80002e3d0f78,ffff80002e3d0f84,0,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616 ip_input_if(ffff80002e3d0f78,ffff80002e3d0f84,4,0,ffff800000689000) at ip_input_if+0x2a1 ipv4_input(ffff800000689000,fffffd8070204700) at ipv4_input+0x48 sys/netinet/ip_input.c:242 if_input_local(ffff800000689000,fffffd8070204700,2) at if_input_local+0x10e sys/net/if.c:774 ip_output(fffffd8064508300,0,fffffd8078ac3cb0,20,0,fffffd8078ac3c38,4c95c9ef099c0b25) at ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] ip_output(fffffd8064508300,0,fffffd8078ac3cb0,20,0,fffffd8078ac3c38,4c95c9ef099c0b25) at ip_output+0xb05 sys/netinet/ip_output.c:332 rip_output(fffffd8064508300,fffffd8076ed7da0,ffff80002e3d11d0,1) at rip_output+0x2cb sys/netinet/raw_ip.c:302 rip_usrreq(fffffd8076ed7da0,9,fffffd8064508300,0,0,ffff8000260a42b0) at rip_usrreq+0x49c sys/netinet/raw_ip.c:554 sosend(fffffd8076ed7da0,0,ffff80002e3d1460,0,0,0) at sosend+0x632 sys/kern/uipc_socket.c:582 dofilewritev(ffff8000260a42b0,5,ffff80002e3d1460,0,ffff80002e3d1560) at dofilewritev+0x19c sys/kern/sys_generic.c:381 sys_writev(ffff8000260a42b0,ffff80002e3d1508,ffff80002e3d1560) at sys_writev+0xa7 sys/kern/sys_generic.c:328 syscall(ffff80002e3d15d0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e3d15d0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5e1d89a0b70, count: -20