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 *254431 8944 0 0 0x4000000 0 syz-executor.3 80846 26411 0 0 0x4000080 1 syz-executor.6 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(fffffd806e651310) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806e651310) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806e6511f8) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip6_input(ffff80002e3a94b8,ffff80002e3a94c4,85,18) at rip6_input+0x692 sys/netinet6/raw_ip6.c:224 ip_deliver(ffff80002e3a94b8,ffff80002e3a94c4,85,18) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip6_input_if(ffff80002e3a94b8,ffff80002e3a94c4,29,0,ffff80000019f2a8) at ip6_input_if+0x920 ipv6_input(ffff80000019f2a8,fffffd806e4c7900) at ipv6_input+0x48 sys/netinet6/ip6_input.c:169 if_input_local(ffff80000019f2a8,fffffd806e4c7900,18) at if_input_local+0x136 sys/net/if.c:778 ip6_output(fffffd8068dfa400,ffff800000c15700,fffffd805fe6ff30,0,0,fffffd805fe6feb8) at ip6_output+0xf57 rip6_output(fffffd8068dfa400,fffffd806c05dd38,ffff80002e3a9820,0) at rip6_output+0x4ad sys/netinet6/raw_ip6.c:490 rip6_usrreq(fffffd806c05dd38,9,fffffd8068dfa400,0,0,ffff8000212267f0) at rip6_usrreq+0x5d3 sys/netinet6/raw_ip6.c:679 end trace frame: 0xffff80002e3a99a0, 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(fffffd806e651310) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806e651310) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806e6511f8) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip6_input(ffff80002e3a94b8,ffff80002e3a94c4,85,18) at rip6_input+0x692 sys/netinet6/raw_ip6.c:224 ip_deliver(ffff80002e3a94b8,ffff80002e3a94c4,85,18) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip6_input_if(ffff80002e3a94b8,ffff80002e3a94c4,29,0,ffff80000019f2a8) at ip6_input_if+0x920 ipv6_input(ffff80000019f2a8,fffffd806e4c7900) at ipv6_input+0x48 sys/netinet6/ip6_input.c:169 if_input_local(ffff80000019f2a8,fffffd806e4c7900,18) at if_input_local+0x136 sys/net/if.c:778 ip6_output(fffffd8068dfa400,ffff800000c15700,fffffd805fe6ff30,0,0,fffffd805fe6feb8) at ip6_output+0xf57 rip6_output(fffffd8068dfa400,fffffd806c05dd38,ffff80002e3a9820,0) at rip6_output+0x4ad sys/netinet6/raw_ip6.c:490 rip6_usrreq(fffffd806c05dd38,9,fffffd8068dfa400,0,0,ffff8000212267f0) at rip6_usrreq+0x5d3 sys/netinet6/raw_ip6.c:679 sosend(fffffd806c05dd38,0,ffff80002e3a9a58,0,0,0) at sosend+0x632 sys/kern/uipc_socket.c:582 dofilewritev(ffff8000212267f0,5,ffff80002e3a9a58,0,ffff80002e3a9b50) at dofilewritev+0x19c sys/kern/sys_generic.c:381 sys_write(ffff8000212267f0,ffff80002e3a9af8,ffff80002e3a9b50) at sys_write+0x83 sys/kern/sys_generic.c:301 syscall(ffff80002e3a9bc0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e3a9bc0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xbe9322bd3c0, count: -19 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002e3a8fd0 rbx 0xffffffff8298dbff cpu_info_full_primary+0x2bff rdx 0xffff800000bdabc0 rcx 0 rax 0xffff8000212267f0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xca7f86af46f21e93 r11 0xf1c02dd46abfda2f r12 0xffffffff8298da00 cpu_info_full_primary+0x2a00 r13 0 r14 0 r15 0x1 rip 0xffffffff811e4c58 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002e3a8fc0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.3) pid=254431 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=75, nice=20 forw=0xffffffffffffffff, list=0xffff800021227510,0xffff800021226fe0 process=0xffff800027f20440 user=0xffff80002e3a4000, vmspace=0xfffffd806a86c460 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 27304 124822 38098 0 2 0 syz-executor.4 27304 109817 38098 0 3 0x4000080 fsleep syz-executor.4 99104 1132 35027 0 2 0 syz-executor.7 99104 210758 35027 0 2 0x4000000 syz-executor.7 69361 301471 7058 0 2 0 syz-executor.1 69361 271905 7058 0 3 0x4000080 fsleep syz-executor.1 4809 367645 47086 0 2 0 syz-executor.2 4809 90813 47086 0 3 0x4000080 lockf syz-executor.2 4809 81604 47086 0 3 0x4000080 fsleep syz-executor.2 8944 115861 55133 0 2 0 syz-executor.3 * 8944 254431 55133 0 7 0x4000000 syz-executor.3 26411 375976 63493 0 3 0x80 nanoslp syz-executor.6 26411 70896 63493 0 3 0x4000080 netio syz-executor.6 26411 80846 63493 0 7 0x4000080 syz-executor.6 26411 89635 63493 0 3 0x4000080 fsleep syz-executor.6 44420 323953 34288 0 3 0x80 nanoslp syz-executor.5 44420 100203 34288 0 3 0x4000000 fltagain2 syz-executor.5 44420 126203 34288 0 3 0x4000080 fsleep syz-executor.5 44420 57635 34288 0 3 0x4000080 fsleep syz-executor.5 55133 376171 97817 0 3 0x82 nanoslp syz-executor.3 7058 157203 97817 0 3 0x82 nanoslp syz-executor.1 37994 491390 0 0 3 0x14200 bored sosplice 35027 173552 97817 0 3 0x82 nanoslp syz-executor.7 63493 242936 97817 0 3 0x82 nanoslp syz-executor.6 34288 71906 97817 0 3 0x82 nanoslp syz-executor.5 47086 419043 97817 0 3 0x82 nanoslp syz-executor.2 38098 372397 97817 0 2 0x2 syz-executor.4 70026 203955 97817 0 3 0x82 nanoslp syz-executor.0 97817 484717 75316 0 3 0x82 thrsleep syz-fuzzer 97817 350312 75316 0 3 0x4000082 thrsleep syz-fuzzer 97817 106317 75316 0 3 0x4000082 thrsleep syz-fuzzer 97817 5893 75316 0 3 0x4000082 thrsleep syz-fuzzer 97817 204732 75316 0 3 0x4000082 kqread syz-fuzzer 97817 517089 75316 0 3 0x4000082 thrsleep syz-fuzzer 97817 428002 75316 0 3 0x4000082 thrsleep syz-fuzzer 97817 102384 75316 0 3 0x4000082 thrsleep syz-fuzzer 97817 435901 75316 0 3 0x4000082 thrsleep syz-fuzzer 75316 174460 81323 0 3 0x10008a sigsusp ksh 81323 169284 56990 0 3 0x9a kqread sshd 45107 297124 1 0 3 0x100083 ttyin getty 56990 434495 1 0 3 0x88 kqread sshd 93244 209564 41219 74 3 0x1100092 bpf pflogd 41219 401896 1 0 3 0x80 netio pflogd 21222 406868 14631 73 3 0x1100090 kqread syslogd 14631 385693 1 0 3 0x100082 netio syslogd 30861 233269 1 0 3 0x100080 kqread resolvd 56260 26018 12102 77 3 0x100092 kqread dhcpleased 98706 115076 12102 77 3 0x100092 kqread dhcpleased 12102 218906 1 0 3 0x80 kqread dhcpleased 63310 91349 0 0 3 0x14200 bored smr 42975 122013 0 0 2 0x14200 zerothread 92414 399259 0 0 3 0x14200 aiodoned aiodoned 11024 78547 0 0 3 0x14200 syncer update 90478 132843 0 0 3 0x14200 cleaner cleaner 45178 34683 0 0 3 0x14200 reaper reaper 75908 185318 0 0 3 0x14200 pgdaemon pagedaemon 82809 33018 0 0 3 0x14200 bored viomb 89164 219637 0 0 3 0x40014200 acpi0 acpi0 56475 3096 0 0 3 0x40014200 idle1 98387 53089 0 0 3 0x14200 bored softnet 2285 330051 0 0 3 0x14200 bored systqmp 5273 278245 0 0 3 0x14200 bored systq 79887 182249 0 0 3 0x40014200 bored softclock 48904 82884 0 0 3 0x40014200 idle0 1 137277 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 (0xffffffff82b8e030) #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 8944 (syz-executor.3) thread 0xffff8000212267f0 (254431) 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_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 (0xffffffff82b8e030) #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 10176 6473K 6797K 78643K 11490 0 pcb 18 8K 8K 78643K 59 0 rtable 244 7K 7K 78643K 448 0 ifaddr 87 17K 18K 78643K 127 0 sysctl 2 0K 0K 78643K 2 0 counters 56 35K 35K 78643K 62 0 ioctlops 0 0K 4K 78643K 1579 0 iov 0 0K 1K 78643K 18 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1275 80K 80K 78643K 1383 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 8 0 VM map 2 1K 1K 78643K 2 0 sem 10 1K 1K 78643K 13 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 17 61K 89K 78643K 480 0 proc 72 99K 124K 78643K 610 0 subproc 104 6K 6K 78643K 147 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 1 0K 0K 78643K 26 0 in_multi 101 6K 6K 78643K 134 0 ether_multi 2 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 37 175K 175K 78643K 37 0 exec 0 0K 2K 78643K 721 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 353 162K 162K 78643K 7479 0 UVM aobj 22 2K 2K 78643K 22 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 2 0K 0K 78643K 2 0 NDP 12 0K 2K 78643K 37 0 temp 107 4700K 4766K 78643K 17803 0 kqueue 12 18K 20K 78643K 31 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 480 0 477 3 0 3 3 0 8 2 rtentry 112 147 0 34 4 0 4 4 0 8 0 unpcb 136 368 0 351 6 5 1 6 0 8 0 syncache 296 4 0 4 1 1 0 1 0 8 0 tcpqe 32 330 0 330 1 1 0 1 0 8 0 tcpcb 736 69 0 64 2 0 2 2 0 8 1 arp 120 25 0 6 1 0 1 1 0 8 0 inpcb 312 253 0 240 4 2 2 4 0 8 0 nd6 48 33 0 9 1 0 1 1 0 8 0 kcovpl 48 11 0 3 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 29 0 2 1 0 1 1 0 8 0 pfstkey 112 29 0 2 1 0 1 1 0 8 0 pfstate 320 29 0 2 3 0 3 3 0 8 0 pfrule 1360 26 0 21 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 596 0 132 29 0 29 29 0 8 0 art_table 32 597 0 132 4 0 4 4 0 8 0 art_node 16 146 0 43 1 0 1 1 0 8 0 sysvmsgpl 40 17 0 7 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 8 0 0 1 0 1 1 0 8 0 shmpl 112 19 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1869 0 429 91 0 91 91 0 8 0 ffsino 272 1869 0 429 97 0 97 97 0 8 0 nchpl 144 2553 0 913 63 0 63 63 0 8 0 uvmvnodes 80 2058 0 0 42 0 42 42 0 8 0 vnodes 224 2058 0 0 122 0 122 122 0 8 0 namei 1024 8907 0 8907 2 1 1 2 0 8 1 percpumem 16 43 0 3 1 0 1 1 0 8 0 vcpupl 2048 9 0 0 2 0 2 2 0 8 0 vmpool 560 9 0 0 1 0 1 1 0 8 0 scxspl 216 8046 0 8046 9 3 6 8 0 8 6 plimitpl 152 30 0 15 1 0 1 1 0 8 0 sigapl 424 774 0 728 6 0 6 6 0 8 0 futexpl 64 2675 0 2669 1 0 1 1 0 8 0 knotepl 120 127 0 0 4 0 4 4 0 8 0 kqueuepl 216 44 0 35 1 0 1 1 0 8 0 pipepl 336 265 0 237 8 2 6 8 0 8 3 fdescpl 496 759 0 729 5 1 4 5 0 8 0 filepl 152 4030 0 3772 18 4 14 18 0 8 2 lockfpl 104 115 0 109 1 0 1 1 0 8 0 lockfspl 48 44 0 40 1 0 1 1 0 8 0 sessionpl 144 27 0 10 1 0 1 1 0 8 0 pgrppl 48 30 0 12 1 0 1 1 0 8 0 ucredpl 96 151 0 139 1 0 1 1 0 8 0 zombiepl 144 729 0 728 1 0 1 1 0 8 0 processpl 1064 774 0 728 4 0 4 4 0 8 0 procpl 672 1417 0 1351 6 0 6 6 0 8 0 srpgc 96 4 0 4 1 1 0 1 0 8 0 sosppl 168 10 0 10 1 0 1 1 0 8 1 sockpl 480 1110 0 1077 30 18 12 21 0 8 7 mcl64k 65536 7 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 7 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 8 0 0 1 0 1 1 0 8 0 mcl4k 4096 15 0 0 2 0 2 2 0 8 0 mcl2k 2048 189 0 0 23 0 23 23 0 8 0 mtagpl 96 13 0 0 1 0 1 1 0 8 0 mbufpl 256 311 0 0 19 0 19 19 0 8 0 bufpl 288 4445 0 149 307 0 307 307 0 8 0 anonpl 24 162814 0 143248 124 4 120 120 0 186 0 amapchunkpl 152 17308 0 16395 42 5 37 40 0 158 0 amappl16 200 1565 0 992 33 2 31 31 0 8 0 amappl15 192 254 0 247 1 0 1 1 0 8 0 amappl14 184 102 0 95 1 0 1 1 0 8 0 amappl13 176 119 0 118 1 0 1 1 0 8 0 amappl12 168 97 0 90 1 0 1 1 0 8 0 amappl11 160 52 0 37 1 0 1 1 0 8 0 amappl10 152 80 0 72 1 0 1 1 0 8 0 amappl9 144 482 0 477 1 0 1 1 0 8 0 amappl8 136 710 0 657 2 0 2 2 0 8 0 amappl7 128 188 0 174 1 0 1 1 0 8 0 amappl6 120 225 0 203 2 1 1 2 0 8 0 amappl5 112 442 0 423 1 0 1 1 0 8 0 amappl4 104 986 0 956 2 0 2 2 0 8 0 amappl3 96 304 0 290 1 0 1 1 0 8 0 amappl2 88 622 0 576 3 1 2 3 0 8 0 amappl1 80 16954 0 16345 19 5 14 19 0 8 0 amappl 88 6978 0 6699 7 0 7 7 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 21 0 0 1 0 1 1 0 8 0 uaddrrnd 24 768 0 729 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 768 0 729 1 0 1 1 0 8 0 vmmpekpl 168 10885 0 10834 3 0 3 3 0 8 0 vmmpepl 168 74507 0 71877 145 6 139 145 0 357 21 vmsppl 368 767 0 729 5 1 4 4 0 8 0 rwobjpl 56 20725 0 17046 52 0 52 52 0 8 0 pdppl 4096 1543 0 1467 128 51 77 81 0 8 1 pvpl 32 414974 0 390909 248 13 235 248 0 265 38 pmappl 248 767 0 729 4 1 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 731 0 60 20 0 20 20 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(fffffd806e651310) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806e651310) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806e6511f8) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip6_input(ffff80002e3a94b8,ffff80002e3a94c4,85,18) at rip6_input+0x692 sys/netinet6/raw_ip6.c:224 ip_deliver(ffff80002e3a94b8,ffff80002e3a94c4,85,18) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip6_input_if(ffff80002e3a94b8,ffff80002e3a94c4,29,0,ffff80000019f2a8) at ip6_input_if+0x920 ipv6_input(ffff80000019f2a8,fffffd806e4c7900) at ipv6_input+0x48 sys/netinet6/ip6_input.c:169 if_input_local(ffff80000019f2a8,fffffd806e4c7900,18) at if_input_local+0x136 sys/net/if.c:778 ip6_output(fffffd8068dfa400,ffff800000c15700,fffffd805fe6ff30,0,0,fffffd805fe6feb8) at ip6_output+0xf57 rip6_output(fffffd8068dfa400,fffffd806c05dd38,ffff80002e3a9820,0) at rip6_output+0x4ad sys/netinet6/raw_ip6.c:490 rip6_usrreq(fffffd806c05dd38,9,fffffd8068dfa400,0,0,ffff8000212267f0) at rip6_usrreq+0x5d3 sys/netinet6/raw_ip6.c:679 sosend(fffffd806c05dd38,0,ffff80002e3a9a58,0,0,0) at sosend+0x632 sys/kern/uipc_socket.c:582 dofilewritev(ffff8000212267f0,5,ffff80002e3a9a58,0,ffff80002e3a9b50) at dofilewritev+0x19c sys/kern/sys_generic.c:381 sys_write(ffff8000212267f0,ffff80002e3a9af8,ffff80002e3a9b50) at sys_write+0x83 sys/kern/sys_generic.c:301 syscall(ffff80002e3a9bc0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e3a9bc0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xbe9322bd3c0, 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x56 kd_curproc sys/dev/kcov.c:585 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x56 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(ffff80002e344d60,1) at sleep_finish+0x198 sys/kern/kern_synch.c:437 rwsleep(fffffd806e6512b0,ffffffff82904150,118,ffffffff825fea8d,0) at rwsleep+0xd5 sys/kern/kern_synch.c:317 soreceive(fffffd806e6511f8,ffff80002e344f38,ffff80002e344ef8,0,0,ffff80002e345034,2feaf0dc29f3d14) at soreceive+0x564 sys/kern/uipc_socket.c:834 recvit(ffff8000211bca80,6,ffff80002e345008,0,ffff80002e345100) at recvit+0x31b sys/kern/uipc_syscalls.c:814 sys_recvfrom(ffff8000211bca80,ffff80002e3450a8,ffff80002e345100) at sys_recvfrom+0xd0 sys/kern/uipc_syscalls.c:713 syscall(ffff80002e345170) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e345170) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xde7806bda00, count: 1 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x56 kd_curproc sys/dev/kcov.c:585 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x56 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(ffff80002e344d60,1) at sleep_finish+0x198 sys/kern/kern_synch.c:437 rwsleep(fffffd806e6512b0,ffffffff82904150,118,ffffffff825fea8d,0) at rwsleep+0xd5 sys/kern/kern_synch.c:317 soreceive(fffffd806e6511f8,ffff80002e344f38,ffff80002e344ef8,0,0,ffff80002e345034,2feaf0dc29f3d14) at soreceive+0x564 sys/kern/uipc_socket.c:834 recvit(ffff8000211bca80,6,ffff80002e345008,0,ffff80002e345100) at recvit+0x31b sys/kern/uipc_syscalls.c:814 sys_recvfrom(ffff8000211bca80,ffff80002e3450a8,ffff80002e345100) at sys_recvfrom+0xd0 sys/kern/uipc_syscalls.c:713 syscall(ffff80002e345170) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e345170) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xde7806bda00, count: -14