login: 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 *481473 11682 0 0 0x4000000 0 syz-executor468611390 314310 78764 0 0 0x4000080 1 syz-executor468611390 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(fffffd8077abb6e8) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd8077abb6e8) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd8077abb5d0) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip_input(ffff800021244b78,ffff800021244b84,0,2) at rip_input+0x3b0 sys/netinet/raw_ip.c:188 ip_deliver(ffff800021244b78,ffff800021244b84,0,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip_ours(ffff800021244b78,ffff800021244b84,fffffd806d4da000,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616 ip_input_if(ffff800021244b78,ffff800021244b84,4,0,ffff80000019f2a8) at ip_input_if+0x2a1 ipv4_input(ffff80000019f2a8,fffffd806d339b00) at ipv4_input+0x48 sys/netinet/ip_input.c:242 if_input_local(ffff80000019f2a8,fffffd806d339b00,2) at if_input_local+0x10e sys/net/if.c:774 ether_resolve(ffff80000019f2a8,fffffd807f00eb00,fffffd806f6872f8,fffffd806f66b310,ffff800021244cc8) at ether_resolve+0x4ac sys/net/if_ethersubr.c:242 ether_output(ffff80000019f2a8,fffffd807f00eb00,fffffd806f6872f8,fffffd806f66b310) at ether_output+0x47 ether_encap sys/net/if_ethersubr.c:324 [inline] ether_output(ffff80000019f2a8,fffffd807f00eb00,fffffd806f6872f8,fffffd806f66b310) at ether_output+0x47 sys/net/if_ethersubr.c:353 end trace frame: 0xffff800021244e40, 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(fffffd8077abb6e8) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd8077abb6e8) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd8077abb5d0) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip_input(ffff800021244b78,ffff800021244b84,0,2) at rip_input+0x3b0 sys/netinet/raw_ip.c:188 ip_deliver(ffff800021244b78,ffff800021244b84,0,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip_ours(ffff800021244b78,ffff800021244b84,fffffd806d4da000,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616 ip_input_if(ffff800021244b78,ffff800021244b84,4,0,ffff80000019f2a8) at ip_input_if+0x2a1 ipv4_input(ffff80000019f2a8,fffffd806d339b00) at ipv4_input+0x48 sys/netinet/ip_input.c:242 if_input_local(ffff80000019f2a8,fffffd806d339b00,2) at if_input_local+0x10e sys/net/if.c:774 ether_resolve(ffff80000019f2a8,fffffd807f00eb00,fffffd806f6872f8,fffffd806f66b310,ffff800021244cc8) at ether_resolve+0x4ac sys/net/if_ethersubr.c:242 ether_output(ffff80000019f2a8,fffffd807f00eb00,fffffd806f6872f8,fffffd806f66b310) at ether_output+0x47 ether_encap sys/net/if_ethersubr.c:324 [inline] ether_output(ffff80000019f2a8,fffffd807f00eb00,fffffd806f6872f8,fffffd806f66b310) at ether_output+0x47 sys/net/if_ethersubr.c:353 ip_output(fffffd807f00eb00,0,fffffd806f6872e8,20,0,fffffd806f687270,963a7808b4987d23) at ip_output+0x106b sys/netinet/ip_output.c:468 rip_output(fffffd807f00eb00,fffffd8070d4d7a0,ffff800021244ee0,1) at rip_output+0x2cb sys/netinet/raw_ip.c:302 rip_usrreq(fffffd8070d4d7a0,9,fffffd807f00eb00,0,0,ffff8000ffff3a48) at rip_usrreq+0x49c sys/netinet/raw_ip.c:554 sosend(fffffd8070d4d7a0,0,ffff800021245050,0,0,0) at sosend+0x632 sys/kern/uipc_socket.c:582 sendit(ffff8000ffff3a48,6,ffff800021245150,0,ffff800021245240) at sendit+0x65d sys/kern/uipc_syscalls.c:653 sys_sendto(ffff8000ffff3a48,ffff8000212451e8,ffff800021245240) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 syscall(ffff8000212452b0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000212452b0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4a2d141ef50, count: -22 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800021244700 rbx 0xffffffff8298dbff cpu_info_full_primary+0x2bff rdx 0x3fd rcx 0 rax 0x68 r8 0x101010101010101 r9 0x8080808080808080 r10 0xe97c692b633df0c3 r11 0xb66cb86fa9aa4f40 r12 0xffffffff8298da00 cpu_info_full_primary+0x2a00 r13 0 r14 0 r15 0x1 rip 0xffffffff811e4c58 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000212446f0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor468611390) pid=481473 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff3ce8,0xffff8000ffff3518 process=0xffff800021230868 user=0xffff800021240000, vmspace=0xfffffd806cbfda20 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 32458 165893 75907 0 2 0 syz-executor468611390 32458 48898 75907 0 3 0x4000080 fsleep syz-executor468611390 96403 174682 85824 0 2 0 syz-executor468611390 96403 496491 85824 0 3 0x4000080 fsleep syz-executor468611390 1970 201618 23050 0 3 0x3000 suspend syz-executor468611390 1970 75018 23050 0 2 0x4081080 syz-executor468611390 11682 52546 19320 0 2 0 syz-executor468611390 *11682 481473 19320 0 7 0x4000000 syz-executor468611390 98149 213655 58194 0 2 0 syz-executor468611390 98149 501128 58194 0 3 0x4000080 fsleep syz-executor468611390 78764 459783 25844 0 2 0 syz-executor468611390 78764 314310 25844 0 7 0x4000080 syz-executor468611390 23692 83923 47435 0 2 0 syz-executor468611390 23692 211985 47435 0 3 0x4000080 fsleep syz-executor468611390 10803 66702 8429 0 2 0 syz-executor468611390 10803 110357 8429 0 2 0x4000000 syz-executor468611390 58194 435009 17181 0 2 0 syz-executor468611390 23050 335200 17181 0 3 0x80 nanoslp syz-executor468611390 8429 412211 17181 0 3 0x80 nanoslp syz-executor468611390 47435 380158 17181 0 3 0x80 nanoslp syz-executor468611390 25844 80693 17181 0 3 0x80 nanoslp syz-executor468611390 75907 467357 17181 0 3 0x80 nanoslp syz-executor468611390 85824 186157 17181 0 3 0x80 nanoslp syz-executor468611390 19320 420348 17181 0 3 0x80 nanoslp syz-executor468611390 17181 280555 45102 0 3 0x82 nanoslp syz-executor468611390 45102 367450 26502 0 3 0x10008a sigsusp ksh 26502 120907 37350 0 3 0x9a kqread sshd 46824 86529 1 0 3 0x100083 ttyin getty 37350 311892 1 0 3 0x88 kqread sshd 6446 317854 23772 74 3 0x1100092 bpf pflogd 23772 376882 1 0 3 0x80 netio pflogd 13576 507754 31899 73 3 0x1100090 kqread syslogd 31899 177224 1 0 3 0x100082 netio syslogd 57761 385256 1 0 3 0x100080 kqread resolvd 2676 504753 53634 77 3 0x100092 kqread dhcpleased 20877 305595 53634 77 3 0x100092 kqread dhcpleased 53634 115450 1 0 3 0x80 kqread dhcpleased 38340 493880 0 0 3 0x14200 bored smr 19862 17114 0 0 2 0x14200 zerothread 87427 342816 0 0 3 0x14200 aiodoned aiodoned 66956 35283 0 0 3 0x14200 syncer update 17647 356130 0 0 3 0x14200 cleaner cleaner 95620 67141 0 0 3 0x14200 reaper reaper 83567 280003 0 0 3 0x14200 pgdaemon pagedaemon 25961 301627 0 0 3 0x14200 bored viomb 66421 307728 0 0 3 0x40014200 acpi0 acpi0 13693 50170 0 0 3 0x40014200 idle1 57997 288182 0 0 3 0x14200 bored softnet 77723 157931 0 0 3 0x14200 bored systqmp 58526 333101 0 0 3 0x14200 bored systq 79550 313644 0 0 3 0x40014200 bored softclock 44266 258604 0 0 3 0x40014200 idle0 1 201352 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 ether_resolve+0x4ac sys/net/if_ethersubr.c:242 #10 ether_output+0x47 ether_encap sys/net/if_ethersubr.c:324 [inline] #10 ether_output+0x47 sys/net/if_ethersubr.c:353 #11 ip_output+0x106b sys/netinet/ip_output.c:468 #12 rip_output+0x2cb sys/netinet/raw_ip.c:302 #13 rip_usrreq+0x49c sys/netinet/raw_ip.c:554 #14 sosend+0x632 sys/kern/uipc_socket.c:582 #15 sendit+0x65d sys/kern/uipc_syscalls.c:653 #16 sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 #17 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #17 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #18 Xsyscall+0x128 Process 1970 (syz-executor468611390) thread 0xffff8000ffff2fc8 (201618) exclusive rwlock amaplk r = 0 (0xfffffd806dcc7ec0) #0 witness_lock+0x44d #1 uvm_fault_check+0x3ca sys/uvm/uvm_fault.c:774 #2 uvm_fault+0x102 sys/uvm/uvm_fault.c:602 #3 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 #4 usertrap+0x1aa sys/arch/amd64/amd64/trap.c:403 #5 recall_trap+0x8 shared rwlock vmmaplk r = 0 (0xfffffd806cbfdba8) #0 witness_lock+0x44d #1 uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1758 #2 uvm_fault_check+0x3a sys/uvm/uvm_fault.c:674 #3 uvm_fault+0x102 sys/uvm/uvm_fault.c:602 #4 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 #5 usertrap+0x1aa sys/arch/amd64/amd64/trap.c:403 #6 recall_trap+0x8 Process 11682 (syz-executor468611390) thread 0xffff8000ffff3a48 (481473) 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 sendit+0x65d sys/kern/uipc_syscalls.c:653 #4 sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 #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 ether_resolve+0x4ac sys/net/if_ethersubr.c:242 #10 ether_output+0x47 ether_encap sys/net/if_ethersubr.c:324 [inline] #10 ether_output+0x47 sys/net/if_ethersubr.c:353 #11 ip_output+0x106b sys/netinet/ip_output.c:468 #12 rip_output+0x2cb sys/netinet/raw_ip.c:302 #13 rip_usrreq+0x49c sys/netinet/raw_ip.c:554 #14 sosend+0x632 sys/kern/uipc_socket.c:582 #15 sendit+0x65d sys/kern/uipc_syscalls.c:653 #16 sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 #17 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #17 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #18 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10149 6454K 6455K 78643K 11239 0 pcb 13 8K 8K 78643K 19 0 rtable 62 2K 2K 78643K 112 0 ifaddr 29 8K 8K 78643K 32 0 counters 40 33K 33K 78643K 40 0 ioctlops 0 0K 4K 78643K 1479 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1167 73K 73K 78643K 1180 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 1K 1K 78643K 2 0 sem 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 1 0K 0K 78643K 1 0 proc 67 87K 87K 78643K 282 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 11 0K 0K 78643K 11 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 25 122K 122K 78643K 25 0 exec 0 0K 2K 78643K 430 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 209 7K 7K 78643K 2818 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 4 0K 0K 78643K 4 0 temp 24 4694K 4758K 78643K 3417 0 kqueue 11 16K 18K 78643K 24 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 17 0 14 1 0 1 1 0 8 0 rtentry 112 23 0 1 1 0 1 1 0 8 0 unpcb 136 145 0 119 1 0 1 1 0 8 0 syncache 296 5 0 5 2 1 1 1 0 8 1 tcpcb 736 8 0 5 1 0 1 1 0 8 0 arp 120 2 0 0 1 0 1 1 0 8 0 inpcb 312 86 0 73 1 0 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 pfstitem 24 10 0 2 1 0 1 1 0 8 0 pfstkey 112 10 0 2 1 0 1 1 0 8 0 pfstate 320 10 0 2 1 0 1 1 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 96 0 0 6 0 6 6 0 8 0 art_table 32 97 0 0 1 0 1 1 0 8 0 art_node 16 22 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1487 0 86 88 0 88 88 0 8 0 ffsino 272 1487 0 86 94 0 94 94 0 8 0 nchpl 144 1717 0 151 59 0 59 59 0 8 0 uvmvnodes 80 1497 0 0 31 0 31 31 0 8 0 vnodes 224 1497 0 0 89 0 89 89 0 8 0 namei 1024 4646 0 4646 3 1 2 2 0 8 2 percpumem 16 32 0 0 1 0 1 1 0 8 0 scxspl 216 4412 0 4412 10 9 1 8 0 8 1 plimitpl 152 16 0 9 1 0 1 1 0 8 0 sigapl 424 382 0 337 6 0 6 6 0 8 0 futexpl 64 272 0 267 1 0 1 1 0 8 0 knotepl 120 42 0 0 2 0 2 2 0 8 0 kqueuepl 216 20 0 13 1 0 1 1 0 8 0 pipepl 336 86 0 83 2 1 1 1 0 8 0 fdescpl 496 368 0 337 4 0 4 4 0 8 0 filepl 152 1356 0 1280 3 0 3 3 0 8 0 lockfpl 104 6 0 4 1 0 1 1 0 8 0 lockfspl 48 4 0 2 1 0 1 1 0 8 0 sessionpl 144 18 0 9 1 0 1 1 0 8 0 pgrppl 48 18 0 9 1 0 1 1 0 8 0 ucredpl 96 69 0 57 1 0 1 1 0 8 0 zombiepl 144 337 0 337 2 1 1 1 0 8 1 processpl 1064 382 0 337 4 0 4 4 0 8 0 procpl 672 440 0 387 5 0 5 5 0 8 0 sockpl 480 248 0 206 7 1 6 6 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 65 0 0 8 0 8 8 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 125 0 0 7 0 7 7 0 8 0 bufpl 288 2088 0 93 143 0 143 143 0 8 0 anonpl 24 52988 0 48344 31 3 28 28 0 186 0 amapchunkpl 152 5391 0 4979 17 1 16 16 0 158 0 amappl16 200 93 0 77 2 1 1 1 0 8 0 amappl15 192 69 0 65 1 0 1 1 0 8 0 amappl13 176 34 0 33 2 1 1 1 0 8 0 amappl12 168 20 0 20 2 1 1 1 0 8 1 amappl11 160 46 0 32 1 0 1 1 0 8 0 amappl10 152 2 0 0 1 0 1 1 0 8 0 amappl9 144 464 0 461 1 0 1 1 0 8 0 amappl8 136 389 0 376 1 0 1 1 0 8 0 amappl7 128 65 0 62 1 0 1 1 0 8 0 amappl6 120 116 0 103 1 0 1 1 0 8 0 amappl5 112 165 0 153 1 0 1 1 0 8 0 amappl4 104 687 0 658 1 0 1 1 0 8 0 amappl3 96 168 0 151 1 0 1 1 0 8 0 amappl2 88 369 0 330 1 0 1 1 0 8 0 amappl1 80 9481 0 8957 12 1 11 11 0 8 0 amappl 88 2521 0 2338 5 0 5 5 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 368 0 337 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 368 0 337 1 0 1 1 0 8 0 vmmpekpl 168 6525 0 6505 2 0 2 2 0 8 0 vmmpepl 168 30116 0 28541 72 3 69 69 0 357 0 vmsppl 368 367 0 337 3 0 3 3 0 8 0 rwobjpl 56 10479 0 8251 32 0 32 32 0 8 0 pdppl 4096 743 0 674 89 20 69 69 0 8 0 pvpl 32 151298 0 143945 63 3 60 60 0 265 0 pmappl 248 367 0 337 2 0 2 2 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 456 0 25 13 0 13 13 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(fffffd8077abb6e8) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd8077abb6e8) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd8077abb5d0) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip_input(ffff800021244b78,ffff800021244b84,0,2) at rip_input+0x3b0 sys/netinet/raw_ip.c:188 ip_deliver(ffff800021244b78,ffff800021244b84,0,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip_ours(ffff800021244b78,ffff800021244b84,fffffd806d4da000,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616 ip_input_if(ffff800021244b78,ffff800021244b84,4,0,ffff80000019f2a8) at ip_input_if+0x2a1 ipv4_input(ffff80000019f2a8,fffffd806d339b00) at ipv4_input+0x48 sys/netinet/ip_input.c:242 if_input_local(ffff80000019f2a8,fffffd806d339b00,2) at if_input_local+0x10e sys/net/if.c:774 ether_resolve(ffff80000019f2a8,fffffd807f00eb00,fffffd806f6872f8,fffffd806f66b310,ffff800021244cc8) at ether_resolve+0x4ac sys/net/if_ethersubr.c:242 ether_output(ffff80000019f2a8,fffffd807f00eb00,fffffd806f6872f8,fffffd806f66b310) at ether_output+0x47 ether_encap sys/net/if_ethersubr.c:324 [inline] ether_output(ffff80000019f2a8,fffffd807f00eb00,fffffd806f6872f8,fffffd806f66b310) at ether_output+0x47 sys/net/if_ethersubr.c:353 ip_output(fffffd807f00eb00,0,fffffd806f6872e8,20,0,fffffd806f687270,963a7808b4987d23) at ip_output+0x106b sys/netinet/ip_output.c:468 rip_output(fffffd807f00eb00,fffffd8070d4d7a0,ffff800021244ee0,1) at rip_output+0x2cb sys/netinet/raw_ip.c:302 rip_usrreq(fffffd8070d4d7a0,9,fffffd807f00eb00,0,0,ffff8000ffff3a48) at rip_usrreq+0x49c sys/netinet/raw_ip.c:554 sosend(fffffd8070d4d7a0,0,ffff800021245050,0,0,0) at sosend+0x632 sys/kern/uipc_socket.c:582 sendit(ffff8000ffff3a48,6,ffff800021245150,0,ffff800021245240) at sendit+0x65d sys/kern/uipc_syscalls.c:653 sys_sendto(ffff8000ffff3a48,ffff8000212451e8,ffff800021245240) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 syscall(ffff8000212452b0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000212452b0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4a2d141ef50, count: -22 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 __mp_lock(ffffffff829f38d0) at __mp_lock+0x12e __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0x12e 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(ffff80002125d460,1) at sleep_finish+0x198 sys/kern/kern_synch.c:437 rwsleep(ffff8000211942a0,ffffffff828ff1e0,120,ffffffff825821a8,0) at rwsleep+0xd5 sys/kern/kern_synch.c:317 futex_wait(4a31d92cd20,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000211942a0,ffff80002125d5f0,ffff80002125d650) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002125d6c0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002125d6c0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4a350196f70, count: 3 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 __mp_lock(ffffffff829f38d0) at __mp_lock+0x12e __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0x12e 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(ffff80002125d460,1) at sleep_finish+0x198 sys/kern/kern_synch.c:437 rwsleep(ffff8000211942a0,ffffffff828ff1e0,120,ffffffff825821a8,0) at rwsleep+0xd5 sys/kern/kern_synch.c:317 futex_wait(4a31d92cd20,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000211942a0,ffff80002125d5f0,ffff80002125d650) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002125d6c0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002125d6c0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4a350196f70, count: -12 ddb{1}>