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 *271046 29729 0 0 0x4000000 0 syz-executor.2 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(fffffd806d553310) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806d553310) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806d5531f8) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip_input(ffff80002e3cadb8,ffff80002e3cadc4,0,2) at rip_input+0x3b0 sys/netinet/raw_ip.c:188 ip_deliver(ffff80002e3cadb8,ffff80002e3cadc4,0,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip_ours(ffff80002e3cadb8,ffff80002e3cadc4,ffff80002489b000,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616 ip_input_if(ffff80002e3cadb8,ffff80002e3cadc4,4,0,ffff800000689000) at ip_input_if+0x2a1 ipv4_input(ffff800000689000,fffffd8067a75300) at ipv4_input+0x48 sys/netinet/ip_input.c:242 if_input_local(ffff800000689000,fffffd8067a75300,2) at if_input_local+0x10e sys/net/if.c:774 ip_output(fffffd8064526d00,0,fffffd806866a440,20,0,fffffd806866a3c8,43121f1b3f7b67ef) at ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] ip_output(fffffd8064526d00,0,fffffd806866a440,20,0,fffffd806866a3c8,43121f1b3f7b67ef) at ip_output+0xb05 sys/netinet/ip_output.c:332 rip_output(fffffd8064526d00,fffffd8064ceeb90,ffff80002e3cb010,f2) at rip_output+0x2cb sys/netinet/raw_ip.c:302 end trace frame: 0xffff80002e3cb090, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock ddb{0}> 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(fffffd806d553310) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806d553310) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806d5531f8) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip_input(ffff80002e3cadb8,ffff80002e3cadc4,0,2) at rip_input+0x3b0 sys/netinet/raw_ip.c:188 ip_deliver(ffff80002e3cadb8,ffff80002e3cadc4,0,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip_ours(ffff80002e3cadb8,ffff80002e3cadc4,ffff80002489b000,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616 ip_input_if(ffff80002e3cadb8,ffff80002e3cadc4,4,0,ffff800000689000) at ip_input_if+0x2a1 ipv4_input(ffff800000689000,fffffd8067a75300) at ipv4_input+0x48 sys/netinet/ip_input.c:242 if_input_local(ffff800000689000,fffffd8067a75300,2) at if_input_local+0x10e sys/net/if.c:774 ip_output(fffffd8064526d00,0,fffffd806866a440,20,0,fffffd806866a3c8,43121f1b3f7b67ef) at ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] ip_output(fffffd8064526d00,0,fffffd806866a440,20,0,fffffd806866a3c8,43121f1b3f7b67ef) at ip_output+0xb05 sys/netinet/ip_output.c:332 rip_output(fffffd8064526d00,fffffd8064ceeb90,ffff80002e3cb010,f2) at rip_output+0x2cb sys/netinet/raw_ip.c:302 rip_usrreq(fffffd8064ceeb90,9,fffffd8064526d00,0,0,ffff8000ffff2fc8) at rip_usrreq+0x49c sys/netinet/raw_ip.c:554 sosend(fffffd8064ceeb90,0,ffff80002e3cb2a0,0,0,0) at sosend+0x632 sys/kern/uipc_socket.c:582 dofilewritev(ffff8000ffff2fc8,6,ffff80002e3cb2a0,0,ffff80002e3cb3a0) at dofilewritev+0x19c sys/kern/sys_generic.c:381 sys_writev(ffff8000ffff2fc8,ffff80002e3cb348,ffff80002e3cb3a0) at sys_writev+0xa7 sys/kern/sys_generic.c:328 syscall(ffff80002e3cb410) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e3cb410) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x508e23efb60, count: -20 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002e3ca940 rbx 0xffffffff8298dbff cpu_info_full_primary+0x2bff rdx 0xffff800000be4dc0 rcx 0 rax 0xffff8000ffff2fc8 r8 0x101010101010101 r9 0x8080808080808080 r10 0x724fe0d72ee92831 r11 0xc60ba292298f0088 r12 0xffffffff8298da00 cpu_info_full_primary+0x2a00 r13 0 r14 0 r15 0x1 rip 0xffffffff811e4c58 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002e3ca930 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.2) pid=271046 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff80002c33d7a8,0xffff8000ffff2a98 process=0xffff8000211a0c88 user=0xffff80002e3c6000, vmspace=0xfffffd805d6fb8c0 estcpu=32, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 10703 404037 20919 0 2 0 syz-executor.7 40047 489098 94590 0 2 0 syz-executor.4 40047 430425 94590 0 3 0x4000080 fsleep syz-executor.4 33964 209278 68681 0 2 0 syz-executor.5 33964 305982 68681 0 3 0x4000080 fsleep syz-executor.5 33964 488279 68681 0 3 0x4000080 fsleep syz-executor.5 29729 181537 2724 0 2 0 syz-executor.2 *29729 271046 2724 0 7 0x4000000 syz-executor.2 28839 120631 18259 0 2 0 syz-executor.6 28839 307 18259 0 3 0x4000080 kqpoll syz-executor.6 28839 401674 18259 0 3 0x4000000 biowait syz-executor.6 28839 208165 18259 0 3 0x4000080 fsleep syz-executor.6 66986 216021 50732 0 3 0x80 nanoslp syz-executor.1 66986 339550 50732 0 2 0x4000000 syz-executor.1 66986 421310 50732 0 3 0x4000080 fsleep syz-executor.1 86106 260590 98624 0 3 0x2 getblk syz-executor.3 38185 400874 98624 0 3 0x2 biowait syz-executor.0 20919 258573 98624 0 3 0x82 nanoslp syz-executor.7 18259 514070 98624 0 3 0x82 nanoslp syz-executor.6 94590 433860 98624 0 3 0x82 nanoslp syz-executor.4 71034 430941 0 0 3 0x14280 nfsidl nfsio 5104 67363 0 0 3 0x14280 nfsidl nfsio 79066 463163 0 0 3 0x14280 nfsidl nfsio 70343 362848 0 0 3 0x14280 nfsidl nfsio 78357 277990 0 0 3 0x14280 nfsidl nfsio 70257 216689 0 0 3 0x14280 nfsidl nfsio 24829 117773 0 0 3 0x14200 acct acct 42865 259959 0 0 3 0x14200 bored sosplice 68681 511672 98624 0 3 0x82 nanoslp syz-executor.5 2724 470692 98624 0 3 0x82 nanoslp syz-executor.2 50732 477340 98624 0 3 0x82 nanoslp syz-executor.1 98624 41474 37592 0 3 0x82 nanoslp syz-fuzzer 98624 446738 37592 0 3 0x4000082 nanoslp syz-fuzzer 98624 180150 37592 0 3 0x4000082 thrsleep syz-fuzzer 98624 213042 37592 0 3 0x4000082 thrsleep syz-fuzzer 98624 371674 37592 0 3 0x4000082 thrsleep syz-fuzzer 98624 123748 37592 0 3 0x4000082 kqread syz-fuzzer 98624 48739 37592 0 3 0x4000082 thrsleep syz-fuzzer 98624 457141 37592 0 3 0x4000082 thrsleep syz-fuzzer 98624 281867 37592 0 3 0x4000082 thrsleep syz-fuzzer 37592 379087 13961 0 3 0x10008a sigsusp ksh 13961 321475 21396 0 3 0x9a kqread sshd 6845 410682 1 0 3 0x100083 ttyopn getty 21396 291966 1 0 3 0x88 kqread sshd 93914 16853 28132 74 3 0x1100092 bpf pflogd 28132 371475 1 0 3 0x80 netio pflogd 23742 62897 80790 73 3 0x1100090 kqread syslogd 80790 266748 1 0 3 0x100082 netio syslogd 31517 31679 1 0 3 0x100080 kqread resolvd 12530 492876 10295 77 3 0x100092 kqread dhcpleased 98901 78910 10295 77 3 0x100092 kqread dhcpleased 10295 138070 1 0 3 0x80 kqread dhcpleased 62353 31084 0 0 3 0x14200 bored smr 95732 185720 0 0 2 0x14200 zerothread 30604 148157 0 0 3 0x14200 aiodoned aiodoned 87074 227084 0 0 3 0x14200 syncer update 80395 87727 0 0 3 0x14200 cleaner cleaner 43214 105642 0 0 3 0x14200 reaper reaper 97661 167068 0 0 3 0x14200 pgdaemon pagedaemon 40550 205935 0 0 3 0x14200 bored viomb 68332 234630 0 0 3 0x40014200 acpi0 acpi0 93350 339743 0 0 7 0x40014200 idle1 65702 394762 0 0 3 0x14200 bored softnet 21039 322516 0 0 3 0x14200 bored systqmp 89382 348465 0 0 3 0x14200 bored systq 33131 24092 0 0 3 0x40014200 bored softclock 71579 347896 0 0 3 0x40014200 idle0 1 77845 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: 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 29729 (syz-executor.2) thread 0xffff8000ffff2fc8 (271046) 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 Process 28839 (syz-executor.6) thread 0xffff8000ffff3ce8 (401674) exclusive rrwlock inode r = 0 (0xfffffd806e13c2c8) #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_create+0x41 sys/ufs/ufs/ufs_vnops.c:152 #9 VOP_CREATE+0xbc sys/kern/vfs_vops.c:103 #10 vn_open+0x28f sys/kern/vfs_vnops.c:122 #11 doopenat+0x26a sys/kern/vfs_syscalls.c:1129 #12 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #12 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #13 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806e261810) #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 vn_open+0x188 sys/kern/vfs_vnops.c:113 #8 doopenat+0x26a sys/kern/vfs_syscalls.c:1129 #9 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #9 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #10 Xsyscall+0x128 Process 86106 (syz-executor.3) thread 0xffff8000ffff3508 (260590) exclusive rrwlock inode r = 0 (0xfffffd8066916928) #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 vget+0x1d3 sys/kern/vfs_subr.c:677 #6 ufs_ihashget+0x121 sys/ufs/ufs/ufs_ihash.c:119 #7 ffs_vget+0x7c sys/ufs/ffs/ffs_vfsops.c:1318 #8 ufs_lookup+0x13ba sys/ufs/ufs/ufs_lookup.c:487 #9 VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 #10 vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 #11 namei+0x36a sys/kern/vfs_lookup.c:245 #12 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1850 #13 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #13 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806ec95e78) #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 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1850 #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 38185 (syz-executor.0) thread 0xffff8000ffff27e8 (400874) exclusive rrwlock inode r = 0 (0xfffffd807894c0a0) #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 vget+0x1d3 sys/kern/vfs_subr.c:677 #6 ufs_ihashget+0x121 sys/ufs/ufs/ufs_ihash.c:119 #7 ffs_vget+0x7c sys/ufs/ffs/ffs_vfsops.c:1318 #8 ufs_lookup+0x13ba sys/ufs/ufs/ufs_lookup.c:487 #9 VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 #10 vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 #11 namei+0x36a sys/kern/vfs_lookup.c:245 #12 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1850 #13 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #13 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd8067561808) #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 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1850 #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 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10211 6570K 6950K 78643K 43251 0 pcb 13 16K 18K 78643K 586 0 rtable 183 14K 15K 78643K 12661 0 ifaddr 92 19K 22K 78643K 699 0 sysctl 2 0K 0K 78643K 2 0 counters 56 35K 36K 78643K 206 0 ioctlops 0 0K 4K 78643K 13425 0 iov 0 0K 32K 78643K 2104 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1443 90K 90K 78643K 9431 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 106 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 22 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 16 57K 89K 78643K 16559 0 sigio 0 0K 0K 78643K 936 0 proc 70 87K 111K 78643K 1274 0 subproc 104 6K 6K 78643K 350 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 213 0 in_multi 56 3K 6K 78643K 405 0 ether_multi 1 0K 0K 78643K 31 0 mrt 1 0K 0K 78643K 14 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 163 731K 731K 78643K 163 0 exec 0 0K 2K 78643K 2084 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 455 484K 499K 78643K 204209 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 325 0 NDP 14 0K 2K 78643K 149 0 temp 182 4799K 4873K 78643K 73250 0 kqueue 12 18K 26K 78643K 736 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> 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 12514 0 12510 65 63 2 6 0 8 1 rtentry 112 418 0 355 4 0 4 4 0 8 0 unpcb 136 5211 0 5196 73 70 3 10 0 8 2 syncache 296 32 0 32 9 9 0 1 0 8 0 tcpqe 32 108 7 108 7 7 0 1 0 8 0 tcpcb 736 1929 0 1925 85 84 1 14 0 8 0 arp 120 60 0 48 1 0 1 1 0 8 0 inpcb 312 5832 0 5818 103 97 6 11 0 8 4 ip6q 72 2 0 2 1 1 0 1 0 8 0 ip6af 40 6 0 6 1 1 0 1 0 8 0 nd6 48 87 0 75 1 0 1 1 0 8 0 pkpcb 40 41 0 41 3 3 0 1 0 8 0 kcovpl 48 26 0 18 1 0 1 1 0 8 0 ppxss 1248 26 0 26 6 6 0 1 0 8 0 pfstscr 40 6 0 6 1 1 0 1 0 8 0 pffrag 232 12 0 10 4 3 1 1 0 482 0 pffrnode 88 12 0 10 4 3 1 1 0 8 0 pffrent 40 54 0 52 9 8 1 1 0 8 0 pfosfp 40 2286 0 1852 5 0 5 5 0 8 0 pfosfpen 112 2286 0 1539 22 0 22 22 0 8 0 pfrktable 1344 77 0 64 3 1 2 2 0 8 0 pftag 88 12 0 6 1 0 1 1 0 8 0 pfqueue 264 7 0 7 2 2 0 1 0 8 0 pfstitem 24 34 0 32 1 0 1 1 0 8 0 pfstkey 112 40 0 38 1 0 1 1 0 8 0 pfstate 320 37 0 35 3 2 1 3 0 8 0 pfrule 1360 1218 0 989 22 2 20 20 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1860 0 1584 34 10 24 30 0 8 0 art_table 32 1861 0 1584 4 0 4 4 0 8 0 art_node 16 414 0 360 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 3 2 1 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 12 0 2 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 21817 0 20369 91 0 91 91 0 8 0 ffsino 272 21817 0 20369 97 0 97 97 0 8 0 nchpl 144 42319 0 40692 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 138253 0 138252 10 9 1 2 0 8 0 percpumem 16 115 0 75 1 0 1 1 0 8 0 vcpupl 2048 90 0 0 12 0 12 12 0 8 0 vmpool 560 107 0 17 7 0 7 7 0 8 0 pfiaddrpl 120 34 0 13 2 1 1 1 0 8 0 scxspl 216 128915 0 128913 21 20 1 8 0 8 0 plimitpl 152 854 0 839 1 0 1 1 0 8 0 sigapl 424 16856 0 16805 8 0 8 8 0 8 0 futexpl 64 141310 0 141305 4 3 1 1 0 8 0 knotepl 120 609 0 0 9 2 7 7 0 8 0 kqueuepl 216 11050 0 11040 117 112 5 12 0 8 4 pipepl 336 2431 0 2403 60 57 3 8 0 8 0 fdescpl 496 16820 0 16791 5 1 4 5 0 8 0 filepl 152 102593 0 102341 169 153 16 22 0 8 5 lockfpl 104 2865 0 2863 4 3 1 2 0 8 0 lockfspl 48 844 0 842 1 0 1 1 0 8 0 sessionpl 144 42 0 25 1 0 1 1 0 8 0 pgrppl 48 99 0 82 1 0 1 1 0 8 0 ucredpl 96 5267 0 5252 1 0 1 1 0 8 0 zombiepl 144 16805 0 16805 5 4 1 1 0 8 1 processpl 1064 16856 0 16805 5 0 5 5 0 8 0 procpl 672 41533 0 41465 16 9 7 9 0 8 0 srpgc 96 30 0 30 8 8 0 1 0 8 0 sosppl 168 35 0 35 9 9 0 1 0 8 0 sockpl 480 23637 0 23604 438 426 12 37 0 8 7 mcl64k 65536 23 0 0 3 0 3 3 0 8 0 mcl16k 16384 17 0 0 3 0 3 3 0 8 0 mcl12k 12288 25 0 0 2 0 2 2 0 8 0 mcl9k 9216 8 0 0 1 0 1 1 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 21 0 0 3 1 2 3 0 8 0 mcl2k2 2112 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 273 0 0 19 0 19 19 0 8 0 mtagpl 96 708 0 0 11 0 11 11 0 8 0 mbufpl 256 1156 0 0 41 0 41 41 0 8 0 bufpl 288 24677 0 18341 453 0 453 453 0 8 0 anonpl 24 4481066 0 4462702 271 141 130 142 0 186 0 amapchunkpl 152 489839 0 488974 82 44 38 47 0 158 0 amappl16 200 40744 0 40130 156 122 34 47 0 8 0 amappl15 192 1898 0 1891 1 0 1 1 0 8 0 amappl14 184 448 0 442 1 0 1 1 0 8 0 amappl13 176 1133 0 1132 1 0 1 1 0 8 0 amappl12 168 6597 0 6591 1 0 1 1 0 8 0 amappl11 160 94 0 78 1 0 1 1 0 8 0 amappl10 152 6034 0 6024 1 0 1 1 0 8 0 amappl9 144 1046 0 1042 1 0 1 1 0 8 0 amappl8 136 1140 0 1038 4 0 4 4 0 8 0 amappl7 128 204 0 190 1 0 1 1 0 8 0 amappl6 120 867 0 842 2 1 1 2 0 8 0 amappl5 112 19134 0 19113 1 0 1 1 0 8 0 amappl4 104 1507 0 1476 2 1 1 2 0 8 0 amappl3 96 7571 0 7557 1 0 1 1 0 8 0 amappl2 88 5944 0 5895 3 1 2 3 0 8 0 amappl1 80 290712 0 290138 22 8 14 19 0 8 0 amappl 88 203221 0 202936 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 16927 0 16808 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 16927 0 16808 1 0 1 1 0 8 0 vmmpekpl 168 114366 0 114288 4 0 4 4 0 8 0 vmmpepl 168 1474102 0 1471326 317 186 131 158 0 357 1 vmsppl 368 16926 0 16808 12 1 11 11 0 8 0 rwobjpl 56 344755 0 337030 129 17 112 114 0 8 0 pdppl 4096 33861 0 33706 637 478 159 159 0 8 4 pvpl 32 7527639 0 7504711 500 298 202 262 0 265 0 pmappl 248 16926 0 16808 9 1 8 8 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1695 0 741 28 0 28 28 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> 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(fffffd806d553310) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806d553310) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806d5531f8) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip_input(ffff80002e3cadb8,ffff80002e3cadc4,0,2) at rip_input+0x3b0 sys/netinet/raw_ip.c:188 ip_deliver(ffff80002e3cadb8,ffff80002e3cadc4,0,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip_ours(ffff80002e3cadb8,ffff80002e3cadc4,ffff80002489b000,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616 ip_input_if(ffff80002e3cadb8,ffff80002e3cadc4,4,0,ffff800000689000) at ip_input_if+0x2a1 ipv4_input(ffff800000689000,fffffd8067a75300) at ipv4_input+0x48 sys/netinet/ip_input.c:242 if_input_local(ffff800000689000,fffffd8067a75300,2) at if_input_local+0x10e sys/net/if.c:774 ip_output(fffffd8064526d00,0,fffffd806866a440,20,0,fffffd806866a3c8,43121f1b3f7b67ef) at ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] ip_output(fffffd8064526d00,0,fffffd806866a440,20,0,fffffd806866a3c8,43121f1b3f7b67ef) at ip_output+0xb05 sys/netinet/ip_output.c:332 rip_output(fffffd8064526d00,fffffd8064ceeb90,ffff80002e3cb010,f2) at rip_output+0x2cb sys/netinet/raw_ip.c:302 rip_usrreq(fffffd8064ceeb90,9,fffffd8064526d00,0,0,ffff8000ffff2fc8) at rip_usrreq+0x49c sys/netinet/raw_ip.c:554 sosend(fffffd8064ceeb90,0,ffff80002e3cb2a0,0,0,0) at sosend+0x632 sys/kern/uipc_socket.c:582 dofilewritev(ffff8000ffff2fc8,6,ffff80002e3cb2a0,0,ffff80002e3cb3a0) at dofilewritev+0x19c sys/kern/sys_generic.c:381 sys_writev(ffff8000ffff2fc8,ffff80002e3cb348,ffff80002e3cb3a0) at sys_writev+0xa7 sys/kern/sys_generic.c:328 syscall(ffff80002e3cb410) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e3cb410) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x508e23efb60, count: -20 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020ce8ff0) 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 acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800020ce8ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff800020ce8ff0) 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 acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800020ce8ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: -5