panic: kernel diagnostic assertion "sin6tosa(&ro->ro_dst)->sa_family == AF_INET6" failed: file "/syzkaller/managers/setuid/kernel/sys/netinet6/in6_src.c", line 328 Stopped at db_enter+0x1c: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *243977 54725 32767 0x10 0x4000000 1 syz-executor.6 5413 71217 32767 0x10 0 0 syz-executor.5 db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8287606f) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff828f80a1,ffffffff8286a976,148,ffffffff8294a7ee) at __assert+0x29 sys/kern/subr_prf.c:157 in6_selectroute(ffff80002a25a2e0,ffff800000da5480,fffffd8079306b18,0) at in6_selectroute+0x228 sys/netinet6/in6_src.c:328 ip6_output(fffffd8071052a00,ffff800000da5480,fffffd8079306b18,0,0,fffffd8079306bd8) at ip6_output+0xc6a sys/netinet6/ip6_output.c:467 tcp_output(ffff800000ed1988) at tcp_output+0x2877 sys/netinet/tcp_output.c:1110 tcp_connect(fffffd80701ed028,fffffd8067000500) at tcp_connect+0x33a sys/netinet/tcp_usrreq.c:670 sys_connect(ffff80002a20e2b8,ffff80002a25a780,ffff80002a25a6d0) at sys_connect+0x207 sys/kern/uipc_syscalls.c:422 syscall(ffff80002a25a780) at syscall+0x5ae mi_syscall sys/sys/syscall_mi.h:183 [inline] syscall(ffff80002a25a780) at syscall+0x5ae sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc2cffaf3090, count: 5 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: kernel diagnostic assertion "sin6tosa(&ro->ro_dst)->sa_family == AF_INET6" failed: file "/syzkaller/managers/setuid/kernel/sys/netinet6/in6_src.c", line 328 ddb{1}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8287606f) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff828f80a1,ffffffff8286a976,148,ffffffff8294a7ee) at __assert+0x29 sys/kern/subr_prf.c:157 in6_selectroute(ffff80002a25a2e0,ffff800000da5480,fffffd8079306b18,0) at in6_selectroute+0x228 sys/netinet6/in6_src.c:328 ip6_output(fffffd8071052a00,ffff800000da5480,fffffd8079306b18,0,0,fffffd8079306bd8) at ip6_output+0xc6a sys/netinet6/ip6_output.c:467 tcp_output(ffff800000ed1988) at tcp_output+0x2877 sys/netinet/tcp_output.c:1110 tcp_connect(fffffd80701ed028,fffffd8067000500) at tcp_connect+0x33a sys/netinet/tcp_usrreq.c:670 sys_connect(ffff80002a20e2b8,ffff80002a25a780,ffff80002a25a6d0) at sys_connect+0x207 sys/kern/uipc_syscalls.c:422 syscall(ffff80002a25a780) at syscall+0x5ae mi_syscall sys/sys/syscall_mi.h:183 [inline] syscall(ffff80002a25a780) at syscall+0x5ae sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc2cffaf3090, count: -10 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a25a120 rbx 0xffff800029cfcca7 rdx 0xffff800000dbfb00 rcx 0xffff80002a20e2b8 rax 0xffff800029cfbff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x4a41211cc40cd878 r11 0x6b952d1689bf5d7c r12 0xffff800029cfcaa8 r13 0 r14 0 r15 0x1 rip 0xffffffff8182182c db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff80002a25a110 ss 0x10 db_enter+0x1c: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.6) tid=243977 pid=54725 tcnt=2 stat=onproc flags process=10 proc=4000000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff80002a20d818,0xffffffff82e33f90 process=0xffff8000ffff6c70 user=0xffff80002a255000, vmspace=0xfffffd8070b6c398 estcpu=36, cpticks=3, pctcpu=0.0, user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 54725 128145 24304 32767 2 0x10 syz-executor.6 *54725 243977 24304 32767 7 0x4000010 syz-executor.6 25872 163396 27890 32767 3 0x90 nanoslp syz-executor.7 25872 473228 27890 32767 3 0x4000090 fsleep syz-executor.7 25872 468154 27890 32767 3 0x4000090 fsleep syz-executor.7 25872 357279 27890 32767 3 0x4000090 netio syz-executor.7 69398 256612 80213 32767 3 0x90 nanoslp syz-executor.2 69398 517267 80213 32767 3 0x4000090 netio syz-executor.2 69398 200744 80213 32767 3 0x4000090 netio syz-executor.2 69398 277474 80213 32767 3 0x4000090 fsleep syz-executor.2 80213 123545 24287 32767 3 0x90 nanoslp syz-executor.2 24287 362768 32855 0 3 0x82 wait syz-executor.2 6873 337028 37262 32767 3 0x90 nanoslp syz-executor.4 37262 449273 32855 0 3 0x82 wait syz-executor.4 86093 51065 77169 32767 3 0x90 piperd syz-executor.3 77169 398205 32855 0 3 0x82 wait syz-executor.3 71217 5413 65855 32767 7 0x10 syz-executor.5 65855 440913 32855 0 3 0x82 wait syz-executor.5 64415 459510 56070 32767 3 0x90 nanoslp syz-executor.1 56070 384268 32855 0 3 0x82 wait syz-executor.1 71373 290692 1557 32767 3 0x90 piperd syz-executor.0 1557 49557 32855 0 3 0x82 wait syz-executor.0 79220 386022 0 0 3 0x14200 bored sosplice 27890 361773 88172 32767 3 0x90 nanoslp syz-executor.7 88172 147980 32855 0 3 0x82 wait syz-executor.7 24304 437496 3644 32767 3 0x90 nanoslp syz-executor.6 3644 440530 32855 0 3 0x82 wait syz-executor.6 32855 95354 61776 0 3 0x2000082 thrsleep syz-fuzzer 32855 403450 61776 0 3 0x6000082 nanoslp syz-fuzzer 32855 47480 61776 0 3 0x6000082 wait syz-fuzzer 32855 125297 61776 0 3 0x6000082 wait syz-fuzzer 32855 159362 61776 0 3 0x6000082 wait syz-fuzzer 32855 217747 61776 0 3 0x6000082 wait syz-fuzzer 32855 394510 61776 0 3 0x6000082 kqread syz-fuzzer 32855 326022 61776 0 3 0x6000082 thrsleep syz-fuzzer 32855 469136 61776 0 3 0x6000082 thrsleep syz-fuzzer 32855 258630 61776 0 3 0x6000082 thrsleep syz-fuzzer 32855 329767 61776 0 3 0x6000082 wait syz-fuzzer 32855 153722 61776 0 3 0x6000082 wait syz-fuzzer 32855 205372 61776 0 3 0x6000082 thrsleep syz-fuzzer 32855 71479 61776 0 3 0x6000082 wait syz-fuzzer 32855 298000 61776 0 3 0x6000082 thrsleep syz-fuzzer 32855 206761 61776 0 3 0x6000082 wait syz-fuzzer 61776 450260 8396 0 3 0x10008a sigsusp ksh 8396 407048 73400 0 3 0x9a kqread sshd 60777 287539 1 0 3 0x100083 ttyin getty 73400 277795 1 0 3 0x88 kqread sshd 29101 242374 40358 73 3 0x1100090 kqread syslogd 40358 73293 1 0 3 0x100082 netio syslogd 51523 168417 1 0 3 0x100080 kqread resolvd 65869 358025 85422 77 3 0x100092 kqread dhcpleased 46272 460864 85422 77 3 0x100092 kqread dhcpleased 85422 347395 1 0 3 0x80 kqread dhcpleased 10372 433794 0 0 3 0x14200 bored smr 59556 409507 0 0 2 0x14200 zerothread 10288 89494 0 0 3 0x14200 aiodoned aiodoned 83861 162558 0 0 3 0x14200 syncer update 24272 383555 0 0 3 0x14200 cleaner cleaner 78201 335883 0 0 3 0x14200 reaper reaper 7891 458362 0 0 3 0x14200 pgdaemon pagedaemon 94335 85624 0 0 3 0x14200 bored viomb 67728 328437 0 0 3 0x40014200 acpi0 acpi0 61675 209473 0 0 3 0x40014200 idle1 17910 175733 0 0 3 0x14200 bored softnet3 6538 519281 0 0 3 0x14200 bored softnet2 92854 196424 0 0 3 0x14200 bored softnet1 89821 361647 0 0 3 0x14200 bored softnet0 99734 341066 0 0 3 0x14200 bored systqmp 11314 277435 0 0 3 0x14200 bored systq 43334 414953 0 0 3 0x14200 tmoslp softclockmp 69418 301847 0 0 3 0x40014200 tmoslp softclock 60840 21767 0 0 3 0x40014200 idle0 1 263172 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 54725 (syz-executor.6) thread 0xffff80002a20e2b8 (243977) exclusive rwlock netlock r = 0 (0xffffffff82caa410) #0 witness_lock+0x447 #1 sys_connect+0x1be isdnssocket sys/kern/uipc_syscalls.c:127 [inline] #1 sys_connect+0x1be sys/kern/uipc_syscalls.c:413 #2 syscall+0x5ae mi_syscall sys/sys/syscall_mi.h:183 [inline] #2 syscall+0x5ae sys/arch/amd64/amd64/trap.c:577 #3 Xsyscall+0x128 Process 71217 (syz-executor.5) thread 0xffff80002a232d38 (5413) exclusive rrwlock inode r = 0 (0xfffffd8067622098) #0 witness_lock+0x447 #1 rw_enter+0x3c8 sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x8c sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0x8b sys/kern/vfs_vops.c:518 #4 ufs_ihashins+0x46 sys/ufs/ufs/ufs_ihash.c:140 #5 ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1343 #6 ffs_inode_alloc+0x1c2 sys/ufs/ffs/ffs_alloc.c:394 #7 ufs_mkdir+0xf8 sys/ufs/ufs/ufs_vnops.c:1145 #8 VOP_MKDIR+0xc3 sys/kern/vfs_vops.c:388 #9 domkdirat+0x125 sys/kern/vfs_syscalls.c:3073 #10 syscall+0x533 mi_syscall sys/sys/syscall_mi.h:183 [inline] #10 syscall+0x533 sys/arch/amd64/amd64/trap.c:577 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd80675315f8) #0 witness_lock+0x447 #1 rw_enter+0x3c8 sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x8c sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0x8b sys/kern/vfs_vops.c:518 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:564 #5 vfs_lookup+0xd5 sys/kern/vfs_lookup.c:418 #6 namei+0x55a sys/kern/vfs_lookup.c:250 #7 domkdirat+0x79 sys/kern/vfs_syscalls.c:3058 #8 syscall+0x533 mi_syscall sys/sys/syscall_mi.h:183 [inline] #8 syscall+0x533 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10202 6411K 6419K 166960K 11341 0 pcb 15 14K 16K 166960K 19 0 rtable 242 6K 7K 166960K 1196 0 pf 29 8K 8K 166960K 69 0 ifaddr 44 15K 15K 166960K 128 0 ifgroup 50 2K 2K 166960K 130 0 sysctl 3 0K 0K 166960K 3 0 counters 64 36K 36K 166960K 104 0 ioctlops 0 0K 2K 166960K 115 0 iov 2 0K 18K 166960K 798 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1279 80K 80K 166960K 2293 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 44 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 82 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 21 77K 113K 166960K 4125 0 sigio 0 0K 0K 166960K 77 0 proc 56 78K 103K 166960K 1202 0 subproc 104 6K 6K 166960K 364 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 184 0 in_multi 99 7K 7K 166960K 368 0 ether_multi 1 0K 0K 166960K 16 0 mrt 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 193 864K 864K 166960K 193 0 exec 0 0K 1K 166960K 931 0 tdb 3 0K 0K 166960K 3 0 pagedep 1 8K 8K 166960K 1 0 inodedep 1 32K 32K 166960K 1 0 newblk 1 0K 0K 166960K 1 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 349 84K 94K 166960K 41993 0 UVM aobj 131 4K 4K 166960K 131 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 0K 166960K 120 0 NDP 11 0K 2K 166960K 87 0 temp 74 6712K 6776K 166960K 15068 0 kqueue 12 18K 28K 166960K 484 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 24 0 0 1 0 1 1 0 8 0 rtpcb 120 240 0 237 2 1 1 2 0 8 0 rtentry 112 337 0 223 4 0 4 4 0 8 0 unpcb 144 3374 0 3357 37 31 6 10 0 8 5 syncache 320 59 0 59 8 7 1 1 0 8 1 tcpqe 32 168 0 168 8 7 1 1 0 8 1 tcpcb 808 1879 0 1858 40 31 9 10 0 8 6 arp 120 59 0 40 1 0 1 1 0 8 0 ipq 40 3 0 3 2 2 0 1 0 8 0 ipqe 40 74 0 74 2 2 0 1 0 8 0 inpcb 376 4381 0 4355 67 58 9 16 0 8 6 nd6 136 89 0 62 1 0 1 1 0 8 0 kcovpl 48 28 0 20 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1354 0 892 30 1 29 30 0 8 0 art_table 32 1355 0 892 4 0 4 4 0 8 0 art_node 16 336 0 232 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 3 1 0 1 1 0 8 0 semapl 112 10 0 0 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 6618 0 5177 91 0 91 91 0 8 0 ffsino 272 6618 0 5177 97 0 97 97 0 8 0 nchpl 144 11926 0 10283 63 0 63 63 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 40332 0 40331 2 1 1 2 0 8 0 percpumem 16 66 0 20 1 0 1 1 0 8 0 kstatmem 264 62 0 40 2 0 2 2 0 8 0 scxspl 216 35586 0 35586 25 21 4 8 1 8 4 plimitpl 152 448 0 424 6 4 2 2 0 8 1 sigapl 424 4373 0 4320 7 0 7 7 0 8 0 futexpl 64 31120 0 31117 1 0 1 1 0 8 0 knotepl 120 398 0 0 10 1 9 9 0 8 0 kqueuepl 216 1201 0 1193 18 17 1 5 0 8 0 pipepl 320 1178 0 1150 25 21 4 10 0 8 1 fdescpl 496 4354 0 4322 7 2 5 6 0 8 0 filepl 152 27859 0 27618 56 40 16 19 0 8 5 lockfpl 104 546 0 544 1 0 1 1 0 8 0 lockfspl 48 166 0 164 1 0 1 1 0 8 0 sessionpl 144 43 0 27 1 0 1 1 0 8 0 pgrppl 48 98 0 82 1 0 1 1 0 8 0 ucredpl 104 4491 0 4473 1 0 1 1 0 8 0 zombiepl 144 4322 0 4320 1 0 1 1 0 8 0 processpl 1136 4373 0 4320 5 0 5 5 0 8 0 procpl 680 11376 0 11301 8 0 8 8 0 8 0 sosppl 168 84 0 84 2 2 0 1 0 8 0 sockpl 488 8196 0 8150 158 136 22 34 0 8 16 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 20 0 0 3 1 2 3 0 8 0 mcl12k 12288 14 0 0 2 0 2 2 0 8 0 mcl9k 9216 6 0 0 1 0 1 1 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 30 0 0 3 0 3 3 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 250 0 0 32 3 29 32 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 1020 0 0 57 0 57 57 0 8 0 bufpl 288 11140 0 4822 452 0 452 452 0 8 0 anonpl 24 582785 0 571329 151 67 84 97 0 186 2 amapchunkpl 152 133149 0 132271 53 12 41 44 0 158 0 amappl16 200 13599 0 13313 70 53 17 28 0 8 0 amappl15 192 34 0 32 2 1 1 1 0 8 0 amappl14 184 233 0 215 4 2 2 2 0 8 0 amappl13 176 70 0 69 1 0 1 1 0 8 0 amappl12 168 5274 0 5238 2 0 2 2 0 8 0 amappl11 160 55 0 44 1 0 1 1 0 8 0 amappl10 152 51 0 40 1 0 1 1 0 8 0 amappl9 144 192 0 192 3 2 1 1 0 8 1 amappl8 136 419 0 330 4 0 4 4 0 8 0 amappl7 128 231 0 207 2 0 2 2 0 8 0 amappl6 120 649 0 637 1 0 1 1 0 8 0 amappl5 112 201 0 193 1 0 1 1 0 8 0 amappl4 104 629 0 602 2 1 1 2 0 8 0 amappl3 96 25911 0 25817 7 3 4 4 0 8 0 amappl2 88 4999 0 4924 3 1 2 3 0 8 0 amappl1 80 24755 0 24232 22 9 13 22 0 8 0 amappl 88 41165 0 40920 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 4354 0 4322 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4354 0 4322 1 0 1 1 0 8 0 vmmpekpl 168 40308 0 40240 4 0 4 4 0 8 0 vmmpepl 168 279556 0 277302 166 52 114 131 0 357 1 vmsppl 448 4353 0 4322 5 0 5 5 0 8 0 rwobjpl 56 80386 0 72997 110 2 108 109 0 8 0 pdppl 4096 8715 0 8644 279 200 79 89 0 8 8 pvpl 32 44783 0 0 364 2 362 363 0 265 0 pmappl 248 4353 0 4322 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1112 0 239 26 0 26 26 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffffffff82cc8ff0) at x86_ipi_db+0x1e 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+0x27 __mp_lock(ffffffff82e674d8) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82e674d8) at __mp_lock+0x122 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff82e674d8,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x46f sys/kern/sched_bsd.c:470 sleep_finish(0,1) at sleep_finish+0x19b sys/kern/kern_synch.c:414 biowait(fffffd80675dd390) at biowait+0x91 sys/kern/vfs_bio.c:1278 bwrite(fffffd80675dd390) at bwrite+0x21c sys/kern/vfs_bio.c:769 VOP_BWRITE(fffffd80675dd390) at VOP_BWRITE+0x4e sys/kern/vfs_vops.c:640 ufs_direnter(fffffd8069c36008,fffffd80670a0da0,ffff80002d6b44d0,ffff80002d6b47f0,fffffd80674f5a58) at ufs_direnter+0x89c sys/ufs/ufs/ufs_lookup.c:885 ufs_mkdir(ffff80002d6b4660) at ufs_mkdir+0x6db sys/ufs/ufs/ufs_vnops.c:1230 VOP_MKDIR(fffffd8069c36008,ffff80002d6b47c0,ffff80002d6b47f0,ffff80002d6b46f0) at VOP_MKDIR+0xc3 sys/kern/vfs_vops.c:388 domkdirat(ffff80002a232d38,ffffff9c,7a98cb579010,1ff) at domkdirat+0x125 sys/kern/vfs_syscalls.c:3073 end trace frame: 0xffff80002d6b4960, count: 0 ddb{0}> trace x86_ipi_db(ffffffff82cc8ff0) at x86_ipi_db+0x1e 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+0x27 __mp_lock(ffffffff82e674d8) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82e674d8) at __mp_lock+0x122 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff82e674d8,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x46f sys/kern/sched_bsd.c:470 sleep_finish(0,1) at sleep_finish+0x19b sys/kern/kern_synch.c:414 biowait(fffffd80675dd390) at biowait+0x91 sys/kern/vfs_bio.c:1278 bwrite(fffffd80675dd390) at bwrite+0x21c sys/kern/vfs_bio.c:769 VOP_BWRITE(fffffd80675dd390) at VOP_BWRITE+0x4e sys/kern/vfs_vops.c:640 ufs_direnter(fffffd8069c36008,fffffd80670a0da0,ffff80002d6b44d0,ffff80002d6b47f0,fffffd80674f5a58) at ufs_direnter+0x89c sys/ufs/ufs/ufs_lookup.c:885 ufs_mkdir(ffff80002d6b4660) at ufs_mkdir+0x6db sys/ufs/ufs/ufs_vnops.c:1230 VOP_MKDIR(fffffd8069c36008,ffff80002d6b47c0,ffff80002d6b47f0,ffff80002d6b46f0) at VOP_MKDIR+0xc3 sys/kern/vfs_vops.c:388 domkdirat(ffff80002a232d38,ffffff9c,7a98cb579010,1ff) at domkdirat+0x125 sys/kern/vfs_syscalls.c:3073 syscall(ffff80002d6b4970) at syscall+0x533 mi_syscall sys/sys/syscall_mi.h:183 [inline] syscall(ffff80002d6b4970) at syscall+0x533 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a98cb579080, count: -16 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x1c: addq $0x8,%rsp db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8287606f) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff828f80a1,ffffffff8286a976,148,ffffffff8294a7ee) at __assert+0x29 sys/kern/subr_prf.c:157 in6_selectroute(ffff80002a25a2e0,ffff800000da5480,fffffd8079306b18,0) at in6_selectroute+0x228 sys/netinet6/in6_src.c:328 ip6_output(fffffd8071052a00,ffff800000da5480,fffffd8079306b18,0,0,fffffd8079306bd8) at ip6_output+0xc6a sys/netinet6/ip6_output.c:467 tcp_output(ffff800000ed1988) at tcp_output+0x2877 sys/netinet/tcp_output.c:1110 tcp_connect(fffffd80701ed028,fffffd8067000500) at tcp_connect+0x33a sys/netinet/tcp_usrreq.c:670 sys_connect(ffff80002a20e2b8,ffff80002a25a780,ffff80002a25a6d0) at sys_connect+0x207 sys/kern/uipc_syscalls.c:422 syscall(ffff80002a25a780) at syscall+0x5ae mi_syscall sys/sys/syscall_mi.h:183 [inline] syscall(ffff80002a25a780) at syscall+0x5ae sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc2cffaf3090, count: 5 ddb{1}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8287606f) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff828f80a1,ffffffff8286a976,148,ffffffff8294a7ee) at __assert+0x29 sys/kern/subr_prf.c:157 in6_selectroute(ffff80002a25a2e0,ffff800000da5480,fffffd8079306b18,0) at in6_selectroute+0x228 sys/netinet6/in6_src.c:328 ip6_output(fffffd8071052a00,ffff800000da5480,fffffd8079306b18,0,0,fffffd8079306bd8) at ip6_output+0xc6a sys/netinet6/ip6_output.c:467 tcp_output(ffff800000ed1988) at tcp_output+0x2877 sys/netinet/tcp_output.c:1110 tcp_connect(fffffd80701ed028,fffffd8067000500) at tcp_connect+0x33a sys/netinet/tcp_usrreq.c:670 sys_connect(ffff80002a20e2b8,ffff80002a25a780,ffff80002a25a6d0) at sys_connect+0x207 sys/kern/uipc_syscalls.c:422 syscall(ffff80002a25a780) at syscall+0x5ae mi_syscall sys/sys/syscall_mi.h:183 [inline] syscall(ffff80002a25a780) at syscall+0x5ae sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc2cffaf3090, count: -10