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 493135 12569 0 0 0 1 syz-executor.4 * 51473 26758 0 0 0x4000000 0 syz-executor.6 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff825a56b6) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(ffffffff82b47030,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833 __mp_lock(ffffffff82b46e28) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff82b46e28) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff82b46e28) at __mp_lock+0xa1 sys/kern/kern_lock.c:142 selwakeup(fffffd805f1e48d8) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd805f1e48d8) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd805f1e47c0) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip6_input(ffff8000212127c8,ffff8000212127d4,8,18) at rip6_input+0x692 sys/netinet6/raw_ip6.c:224 ip_deliver(ffff8000212127c8,ffff8000212127d4,8,18) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip6_input_if(ffff8000212127c8,ffff8000212127d4,29,0,ffff80000019f2a8) at ip6_input_if+0x920 ipv6_input(ffff80000019f2a8,fffffd805e931200) at ipv6_input+0x48 sys/netinet6/ip6_input.c:169 if_input_local(ffff80000019f2a8,fffffd805e931200,18) at if_input_local+0x136 sys/net/if.c:778 ip6_output(fffffd805e90e700,ffff800000ccad00,fffffd806684c440,0,0,fffffd806684c3c8) at ip6_output+0xf57 rip6_output(fffffd805e90e700,fffffd806fb51798,ffff800021212b30,0) at rip6_output+0x4ad sys/netinet6/raw_ip6.c:490 rip6_usrreq(fffffd806fb51798,9,fffffd805e90e700,0,0,ffff80002e344010) at rip6_usrreq+0x5d3 sys/netinet6/raw_ip6.c:679 end trace frame: 0xffff800021212cb0, 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(ffffffff825a56b6) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(ffffffff82b47030,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833 __mp_lock(ffffffff82b46e28) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff82b46e28) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff82b46e28) at __mp_lock+0xa1 sys/kern/kern_lock.c:142 selwakeup(fffffd805f1e48d8) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd805f1e48d8) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd805f1e47c0) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip6_input(ffff8000212127c8,ffff8000212127d4,8,18) at rip6_input+0x692 sys/netinet6/raw_ip6.c:224 ip_deliver(ffff8000212127c8,ffff8000212127d4,8,18) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip6_input_if(ffff8000212127c8,ffff8000212127d4,29,0,ffff80000019f2a8) at ip6_input_if+0x920 ipv6_input(ffff80000019f2a8,fffffd805e931200) at ipv6_input+0x48 sys/netinet6/ip6_input.c:169 if_input_local(ffff80000019f2a8,fffffd805e931200,18) at if_input_local+0x136 sys/net/if.c:778 ip6_output(fffffd805e90e700,ffff800000ccad00,fffffd806684c440,0,0,fffffd806684c3c8) at ip6_output+0xf57 rip6_output(fffffd805e90e700,fffffd806fb51798,ffff800021212b30,0) at rip6_output+0x4ad sys/netinet6/raw_ip6.c:490 rip6_usrreq(fffffd806fb51798,9,fffffd805e90e700,0,0,ffff80002e344010) at rip6_usrreq+0x5d3 sys/netinet6/raw_ip6.c:679 sosend(fffffd806fb51798,0,ffff800021212d68,0,0,0) at sosend+0x632 sys/kern/uipc_socket.c:582 dofilewritev(ffff80002e344010,4,ffff800021212d68,0,ffff800021212e60) at dofilewritev+0x19c sys/kern/sys_generic.c:381 sys_write(ffff80002e344010,ffff800021212e08,ffff800021212e60) at sys_write+0x83 sys/kern/sys_generic.c:301 syscall(ffff800021212ed0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021212ed0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa90b4ade0d0, count: -19 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff8000212122e0 rbx 0xffffffff8294ebff cpu_info_full_primary+0x2bff rdx 0 rcx 0 rax 0xffff80002e344010 r8 0x101010101010101 r9 0x8080808080808080 r10 0x168f9d9efe8ecfa1 r11 0xacc97e3be45d38f4 r12 0xffffffff8294ea00 cpu_info_full_primary+0x2a00 r13 0 r14 0 r15 0x1 rip 0xffffffff81f18858 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000212122d0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.6) pid=51473 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff80002e344a90,0xffff80002e345a60 process=0xffff8000fffeedd0 user=0xffff80002120d000, vmspace=0xfffffd805f76f190 estcpu=32, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 12569 493135 68455 0 7 0 syz-executor.4 12569 131498 68455 0 2 0x4000000 syz-executor.4 68928 274882 4754 0 2 0 syz-executor.7 68928 147110 4754 0 3 0x4000080 fsleep syz-executor.7 20813 285410 10423 0 2 0 syz-executor.5 20813 167644 10423 0 3 0x4000080 fsleep syz-executor.5 20813 396126 10423 0 3 0x4000080 fsleep syz-executor.5 34488 23968 46885 0 2 0 syz-executor.2 34488 262568 46885 0 3 0x4000080 ttyout syz-executor.2 34488 248082 46885 0 3 0x4000080 fsleep syz-executor.2 93290 90533 27945 0 3 0x80 nanoslp syz-executor.0 93290 328833 27945 0 3 0x4000080 fsleep syz-executor.0 26758 299479 81857 0 2 0 syz-executor.6 *26758 51473 81857 0 7 0x4000000 syz-executor.6 26758 510865 81857 0 3 0x4000080 fsleep syz-executor.6 26758 511984 81857 0 3 0x4000080 fsleep syz-executor.6 99893 195644 86682 0 3 0x80 nanoslp syz-executor.3 99893 469649 86682 0 3 0x4000080 fsleep syz-executor.3 4754 223999 90732 0 3 0x82 nanoslp syz-executor.7 69912 47557 90732 0 2 0x2 syz-executor.1 88406 80011 0 0 3 0x14200 acct acct 46885 200291 90732 0 3 0x82 nanoslp syz-executor.2 27945 277760 90732 0 3 0x82 nanoslp syz-executor.0 68455 66489 90732 0 3 0x82 nanoslp syz-executor.4 31250 267367 0 0 3 0x14200 bored sosplice 10423 247527 90732 0 3 0x82 nanoslp syz-executor.5 81857 513587 90732 0 3 0x82 nanoslp syz-executor.6 86682 356167 90732 0 3 0x82 nanoslp syz-executor.3 90732 126643 55922 0 3 0x82 thrsleep syz-fuzzer 90732 512314 55922 0 3 0x4000082 nanoslp syz-fuzzer 90732 320738 55922 0 3 0x4000082 thrsleep syz-fuzzer 90732 305852 55922 0 3 0x4000082 thrsleep syz-fuzzer 90732 476360 55922 0 3 0x4000082 kqread syz-fuzzer 90732 363820 55922 0 3 0x4000082 thrsleep syz-fuzzer 90732 427727 55922 0 3 0x4000082 thrsleep syz-fuzzer 90732 147377 55922 0 3 0x4000082 thrsleep syz-fuzzer 90732 322775 55922 0 3 0x4000082 thrsleep syz-fuzzer 55922 405833 79194 0 3 0x10008a sigsusp ksh 79194 414494 40240 0 3 0x9a kqread sshd 63051 230112 1 0 3 0x100083 ttyopn getty 40240 415797 1 0 3 0x88 kqread sshd 56957 116305 57989 74 3 0x1100092 bpf pflogd 57989 93366 1 0 3 0x80 netio pflogd 67167 265 10923 73 3 0x1100090 kqread syslogd 10923 235358 1 0 3 0x100082 netio syslogd 91892 165641 1 0 3 0x100080 kqread resolvd 22146 373168 64673 77 3 0x100092 kqread dhcpleased 77337 398109 64673 77 3 0x100092 kqread dhcpleased 64673 211257 1 0 3 0x80 kqread dhcpleased 5498 132970 0 0 3 0x14200 bored smr 11721 494304 0 0 2 0x14200 zerothread 48985 418373 0 0 3 0x14200 aiodoned aiodoned 34860 332828 0 0 3 0x14200 syncer update 19313 503459 0 0 3 0x14200 cleaner cleaner 79970 353195 0 0 3 0x14200 reaper reaper 27859 104557 0 0 3 0x14200 pgdaemon pagedaemon 13841 458247 0 0 3 0x14200 bored viomb 30596 33156 0 0 3 0x40014200 acpi0 acpi0 10813 299774 0 0 3 0x40014200 idle1 59568 296592 0 0 3 0x14200 bored softnet 97461 354099 0 0 3 0x14200 bored systqmp 29235 477916 0 0 3 0x14200 bored systq 86902 90070 0 0 3 0x40014200 bored softclock 88670 457089 0 0 3 0x40014200 idle0 1 512804 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive mutex &table->inpt_mtx r = 0 (0xffffffff82a900b0) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 rip6_input+0x1cf #4 ip_deliver+0x322 sys/netinet/ip_input.c:657 #5 ip6_input_if+0x920 #6 ipv6_input+0x48 sys/netinet6/ip6_input.c:169 #7 if_input_local+0x136 sys/net/if.c:778 #8 ip6_output+0xf57 #9 rip6_output+0x4ad sys/netinet6/raw_ip6.c:490 #10 rip6_usrreq+0x5d3 sys/netinet6/raw_ip6.c:679 #11 sosend+0x632 sys/kern/uipc_socket.c:582 #12 dofilewritev+0x19c sys/kern/sys_generic.c:381 #13 sys_write+0x83 sys/kern/sys_generic.c:301 #14 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #14 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #15 Xsyscall+0x128 Process 26758 (syz-executor.6) thread 0xffff80002e344010 (51473) exclusive rwlock netlock r = 0 (0xffffffff828f7720) #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_write+0x83 sys/kern/sys_generic.c:301 #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 (0xffffffff82a900b0) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 rip6_input+0x1cf #4 ip_deliver+0x322 sys/netinet/ip_input.c:657 #5 ip6_input_if+0x920 #6 ipv6_input+0x48 sys/netinet6/ip6_input.c:169 #7 if_input_local+0x136 sys/net/if.c:778 #8 ip6_output+0xf57 #9 rip6_output+0x4ad sys/netinet6/raw_ip6.c:490 #10 rip6_usrreq+0x5d3 sys/netinet6/raw_ip6.c:679 #11 sosend+0x632 sys/kern/uipc_socket.c:582 #12 dofilewritev+0x19c sys/kern/sys_generic.c:381 #13 sys_write+0x83 sys/kern/sys_generic.c:301 #14 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #14 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #15 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10228 6627K 6953K 78643K 17258 0 pcb 17 18K 23K 78643K 5859 0 rtable 200 14K 19K 78643K 3720 0 ifaddr 85 17K 19K 78643K 786 0 sysctl 2 0K 0K 78643K 2 0 counters 56 35K 35K 78643K 128 0 ioctlops 0 0K 4K 78643K 2060 0 iov 0 0K 44K 78643K 304 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1368 85K 86K 78643K 3336 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 67 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 713 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 17 61K 93K 78643K 8350 0 sigio 0 0K 0K 78643K 20 0 proc 74 87K 124K 78643K 829 0 subproc 104 6K 6K 78643K 186 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 3 0K 0K 78643K 952 0 in_multi 78 5K 7K 78643K 2526 0 ether_multi 2 0K 0K 78643K 377 0 mrt 2 0K 0K 78643K 1444 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 247 1102K 1102K 78643K 247 0 exec 0 0K 2K 78643K 1225 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 466 483K 486K 78643K 107995 0 UVM aobj 131 8K 8K 78643K 136 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 2 0K 0K 78643K 141 0 NDP 13 0K 2K 78643K 398 0 temp 159 4761K 4831K 78643K 50917 0 kqueue 12 18K 26K 78643K 269 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 217 0 212 3 2 1 3 0 8 0 rtentry 112 1190 0 1104 4 0 4 4 0 8 0 unpcb 136 4039 0 4024 48 47 1 9 0 8 0 syncache 296 32 0 32 11 11 0 1 0 8 0 tcpqe 32 754 0 754 6 6 0 3 0 8 0 tcpcb 736 8236 0 8163 179 172 7 25 0 8 0 arp 120 38 0 23 1 0 1 1 0 8 0 inpcb 312 18796 0 18778 146 137 9 16 0 8 6 rttmr 72 337 0 337 4 4 0 1 0 8 0 nd6 48 525 0 504 1 0 1 1 0 8 0 pkpcb 40 8 0 8 1 1 0 1 0 8 0 kcovpl 48 14 0 6 1 0 1 1 0 8 0 ppxss 1248 20 0 20 7 7 0 1 0 8 0 pfstscr 40 10 0 10 2 2 0 1 0 8 0 pffrag 232 25 0 25 3 3 0 1 0 482 0 pffrnode 88 25 0 25 3 3 0 1 0 8 0 pffrent 40 66 0 66 4 4 0 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 45 0 45 2 2 0 1 0 8 0 pfstitem 24 35 0 33 1 0 1 1 0 8 0 pfstkey 112 53 0 51 1 0 1 1 0 8 0 pfstate 320 45 0 43 2 1 1 2 0 8 0 pfrule 1360 139 0 138 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1174 0 802 34 7 27 30 0 8 1 art_table 32 1175 0 802 4 0 4 4 0 8 0 art_node 16 1150 0 1074 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 5 1 0 1 1 0 8 0 semapl 112 708 0 698 1 0 1 1 0 8 0 shmpl 112 133 0 5 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 11134 0 9690 91 0 91 91 0 8 0 ffsino 272 11134 0 9690 97 0 97 97 0 8 0 nchpl 144 21834 0 20213 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 67209 0 67209 4 3 1 2 0 8 1 percpumem 16 76 0 36 1 0 1 1 0 8 0 vcpupl 2048 33 0 0 5 0 5 5 0 8 0 vmpool 560 33 0 0 3 0 3 3 0 8 0 pfiaddrpl 120 15 0 15 2 2 0 1 0 8 0 scxspl 216 59506 0 59506 12 11 1 6 0 8 1 plimitpl 152 707 0 690 1 0 1 1 0 8 0 sigapl 424 8671 0 8624 8 1 7 8 0 8 0 futexpl 64 77461 0 77453 1 0 1 1 0 8 0 knotepl 120 445 0 0 7 0 7 7 0 8 0 kqueuepl 216 826 0 818 15 14 1 5 0 8 0 pipepl 336 1041 0 1009 29 26 3 8 0 8 0 fdescpl 496 8635 0 8605 6 2 4 5 0 8 0 filepl 152 54214 0 53947 115 101 14 21 0 8 2 lockfpl 104 1408 0 1406 4 3 1 2 0 8 0 lockfspl 48 366 0 364 1 0 1 1 0 8 0 sessionpl 144 30 0 13 1 0 1 1 0 8 0 pgrppl 48 247 0 230 1 0 1 1 0 8 0 ucredpl 96 5414 0 5402 1 0 1 1 0 8 0 zombiepl 144 8625 0 8624 1 0 1 1 0 8 0 processpl 1064 8671 0 8624 5 0 5 5 0 8 0 procpl 672 23993 0 23927 11 4 7 9 0 8 0 srpgc 96 10 0 10 4 4 0 1 0 8 0 sosppl 168 43 0 43 8 8 0 1 0 8 0 sockpl 480 23103 0 23065 352 335 17 35 0 8 11 mcl64k 65536 43 0 0 4 1 3 3 0 8 0 mcl16k 16384 31 0 0 4 2 2 3 0 8 0 mcl12k 12288 23 0 0 2 0 2 2 0 8 0 mcl9k 9216 25 0 0 2 0 2 2 0 8 0 mcl8k 8192 26 0 0 3 0 3 3 0 8 0 mcl4k 4096 33 0 0 4 1 3 3 0 8 0 mcl2k2 2112 9 0 0 1 0 1 1 0 8 0 mcl2k 2048 410 0 0 50 0 50 50 0 8 0 mtagpl 96 702 0 0 15 1 14 15 0 8 0 mbufpl 256 1306 0 0 64 0 64 64 0 8 0 bufpl 288 13431 0 7095 453 0 453 453 0 8 0 anonpl 24 2388753 0 2368051 224 91 133 151 0 186 1 amapchunkpl 152 260157 0 259242 76 38 38 50 0 158 2 amappl16 200 22072 0 21385 102 65 37 48 0 8 0 amappl15 192 123 0 117 1 0 1 1 0 8 0 amappl14 184 8 0 5 1 0 1 1 0 8 0 amappl13 176 1402 0 1399 1 0 1 1 0 8 0 amappl12 168 1139 0 1137 2 1 1 1 0 8 0 amappl11 160 1791 0 1771 1 0 1 1 0 8 0 amappl10 152 2169 0 2160 1 0 1 1 0 8 0 amappl9 144 473 0 470 1 0 1 1 0 8 0 amappl8 136 2835 0 2730 4 0 4 4 0 8 0 amappl7 128 2036 0 2023 1 0 1 1 0 8 0 amappl6 120 234 0 210 2 1 1 2 0 8 0 amappl5 112 9626 0 9606 1 0 1 1 0 8 0 amappl4 104 3024 0 2994 2 0 2 2 0 8 0 amappl3 96 2600 0 2587 1 0 1 1 0 8 0 amappl2 88 3340 0 3290 3 1 2 3 0 8 0 amappl1 80 155872 0 155261 26 13 13 19 0 8 0 amappl 88 107247 0 106939 9 1 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 135 0 5 3 0 3 3 0 8 0 uaddrrnd 24 8668 0 8605 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 8668 0 8605 1 0 1 1 0 8 0 vmmpekpl 168 64218 0 64143 4 0 4 4 0 8 0 vmmpepl 168 776632 0 773782 201 73 128 147 0 357 1 vmsppl 368 8667 0 8605 8 2 6 6 0 8 0 rwobjpl 56 193743 0 185911 118 6 112 114 0 8 0 pdppl 4096 17343 0 17243 380 278 102 102 0 8 2 pvpl 32 4137361 0 4113115 385 177 208 256 0 265 6 pmappl 248 8667 0 8605 5 1 4 4 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1564 0 632 30 2 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(ffffffff825a56b6) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(ffffffff82b47030,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833 __mp_lock(ffffffff82b46e28) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff82b46e28) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff82b46e28) at __mp_lock+0xa1 sys/kern/kern_lock.c:142 selwakeup(fffffd805f1e48d8) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd805f1e48d8) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd805f1e47c0) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip6_input(ffff8000212127c8,ffff8000212127d4,8,18) at rip6_input+0x692 sys/netinet6/raw_ip6.c:224 ip_deliver(ffff8000212127c8,ffff8000212127d4,8,18) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip6_input_if(ffff8000212127c8,ffff8000212127d4,29,0,ffff80000019f2a8) at ip6_input_if+0x920 ipv6_input(ffff80000019f2a8,fffffd805e931200) at ipv6_input+0x48 sys/netinet6/ip6_input.c:169 if_input_local(ffff80000019f2a8,fffffd805e931200,18) at if_input_local+0x136 sys/net/if.c:778 ip6_output(fffffd805e90e700,ffff800000ccad00,fffffd806684c440,0,0,fffffd806684c3c8) at ip6_output+0xf57 rip6_output(fffffd805e90e700,fffffd806fb51798,ffff800021212b30,0) at rip6_output+0x4ad sys/netinet6/raw_ip6.c:490 rip6_usrreq(fffffd806fb51798,9,fffffd805e90e700,0,0,ffff80002e344010) at rip6_usrreq+0x5d3 sys/netinet6/raw_ip6.c:679 sosend(fffffd806fb51798,0,ffff800021212d68,0,0,0) at sosend+0x632 sys/kern/uipc_socket.c:582 dofilewritev(ffff80002e344010,4,ffff800021212d68,0,ffff800021212e60) at dofilewritev+0x19c sys/kern/sys_generic.c:381 sys_write(ffff80002e344010,ffff800021212e08,ffff800021212e60) at sys_write+0x83 sys/kern/sys_generic.c:301 syscall(ffff800021212ed0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021212ed0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa90b4ade0d0, count: -19 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 end of kernel end trace frame: 0x7f7ffffc4030, count: 12 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 end of kernel end trace frame: 0x7f7ffffc4030, count: -3