kernel: protection fault trap, code=0 Stopped at __x86_indirect_thunk_r11+0x14: ret ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic the kernel did not panic ddb{1}> trace __x86_indirect_thunk_r11() at __x86_indirect_thunk_r11+0x14 rt_clone(ffff800036ba7a78,fffffd806f101b10,0) at rt_clone+0x98 sys/net/route.c:383 route_mpath(fffffd806f101af8,fffffd805e59f824,0,0) at route_mpath+0x170 rt_match sys/net/route.c:360 [inline] route_mpath(fffffd806f101af8,fffffd805e59f824,0,0) at route_mpath+0x170 rtalloc_mpath sys/net/route.c:476 [inline] route_mpath(fffffd806f101af8,fffffd805e59f824,0,0) at route_mpath+0x170 sys/net/route.c:255 in_pcbselsrc(ffff800036ba7b68,fffffd805e59f820,fffffd806f101a80) at in_pcbselsrc+0x250 in_pcbconnect(fffffd806f101a80,fffffd805e59f800) at in_pcbconnect+0x11a sys/netinet/in_pcb.c:522 tcp_connect(ffff8000013037c8,fffffd805e59f800) at tcp_connect+0x3cb sys/netinet/tcp_usrreq.c:654 sys_connect(ffff80003117e038,ffff800036ba7d90,ffff800036ba7ce0) at sys_connect+0x345 sys/kern/uipc_syscalls.c:422 syscall(ffff800036ba7d90) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff800036ba7d90) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6e704b3fda0, count: -9 ddb{1}> show registers rdi 0xffff8000012c6800 rsi 0xb rbp 0xffff800036ba7950 rbx 0xffff800001305b60 rdx 0xfffffd806bf248d8 rcx 0x5eb rax 0xffffffff82009835 rtrequest+0xbb5 r8 0x100 r9 0xfffffd806bf248d8 r10 0xdd95418392b963bf r11 0x6161616161616161 r12 0xffff800036ba7a08 r13 0 r14 0xfffffd806bf248d8 r15 0xffff800036ba7968 rip 0xffffffff8243e304 __x86_indirect_thunk_r11+0x14 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800036ba7850 ss 0x10 __x86_indirect_thunk_r11+0x14: ret ddb{1}> show proc PROC (syz-executor) tid=62485 pid=80585 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003117f1f0,0xffff80003117e558 process=0xffff8000371ced70 user=0xffff800036ba2000, vmspace=0xfffffd806c9dc018 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 60669 137151 62178 0 2 0 syz-executor 12516 59949 10223 0 7 0x100000 sh 80585 345154 55551 0 3 0x80 fsleep syz-executor *80585 62485 55551 0 7 0x4000000 syz-executor 10265 95665 64157 0 3 0x80 fsleep syz-executor 10265 291546 64157 0 3 0x4000080 pipewr syz-executor 10223 68012 27835 0 3 0x10008a sigsusp sh 4195 364290 52162 0 3 0x80 fsleep syz-executor 4195 108851 52162 0 3 0x4000080 lockf syz-executor 70477 473737 74114 0 2 0 syz-executor 70477 387730 74114 0 3 0x4000080 fsleep syz-executor 27835 493098 52709 0 3 0x82 wait syz-executor 39557 256662 35222 0 3 0x80 fsleep syz-executor 39557 383218 35222 0 3 0x4000080 fsleep syz-executor 39557 105712 35222 0 3 0x4000080 sbwait syz-executor 39557 329197 35222 0 3 0x4000080 fsleep syz-executor 25205 142646 46872 0 3 0x80 fsleep syz-executor 25205 474635 46872 0 3 0x4000080 wsevent_read syz-executor 46872 86772 52709 0 3 0x82 nanoslp syz-executor 62178 57133 52709 0 3 0x82 nanoslp syz-executor 74114 1260 52709 0 3 0x82 nanoslp syz-executor 35222 128213 52709 0 3 0x82 nanoslp syz-executor 55551 326575 52709 0 3 0x82 nanoslp syz-executor 52162 106404 52709 0 3 0x82 nanoslp syz-executor 64157 329440 52709 0 3 0x82 nanoslp syz-executor 54417 395103 1 0 3 0x100083 ttyin getty 72780 328853 0 0 3 0x14200 bored sosplice 52709 166491 55069 0 3 0x82 kqread syz-executor 55069 406971 16054 0 3 0x10008a sigsusp ksh 16054 358506 94287 0 3 0x98 kqread sshd-session 94287 517328 37645 0 3 0x92 kqread sshd-session 37645 241744 1 0 3 0x88 kqread sshd 50019 410639 21458 74 3 0x1100092 bpf pflogd 21458 294299 1 0 3 0x80 sbwait pflogd 72701 41503 43263 73 3 0x1100090 kqread syslogd 43263 261757 1 0 3 0x100082 sbwait syslogd 52214 216904 1 0 3 0x100080 kqread resolvd 48275 385790 27838 77 3 0x100092 kqread dhcpleased 24690 474856 27838 77 3 0x100092 kqread dhcpleased 27838 165887 1 0 3 0x80 kqread dhcpleased 42310 63640 0 0 3 0x14200 bored smr 60163 321206 0 0 2 0x14200 zerothread 60376 406900 0 0 3 0x14200 aiodoned aiodoned 5241 247943 0 0 3 0x14200 syncer update 95502 295198 0 0 3 0x14200 cleaner cleaner 7905 98932 0 0 3 0x14200 reaper reaper 91965 364325 0 0 3 0x14200 pgdaemon pagedaemon 13200 60440 0 0 3 0x14200 bored viomb 43495 112110 0 0 3 0x40014200 acpi0 acpi0 49818 94963 0 0 3 0x40014200 idle1 7990 116861 0 0 3 0x14200 bored softnet3 95300 102885 0 0 3 0x14200 bored softnet2 22709 343290 0 0 3 0x14200 bored softnet1 62612 176802 0 0 3 0x14200 bored softnet0 56390 211675 0 0 3 0x14200 bored systqmp 39397 447621 0 0 3 0x14200 bored systq 96694 298973 0 0 3 0x14200 tmoslp softclockmp 21888 407673 0 0 3 0x40014200 tmoslp softclock 7865 36692 0 0 3 0x40014200 idle0 1 182340 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 80585 (syz-executor) thread 0xffff80003117e038 (62485) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff835573c8) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 rt_clone+0x72 #2 route_mpath+0x170 rt_match sys/net/route.c:360 [inline] #2 route_mpath+0x170 rtalloc_mpath sys/net/route.c:476 [inline] #2 route_mpath+0x170 sys/net/route.c:255 #3 in_pcbselsrc+0x250 #4 in_pcbconnect+0x11a sys/netinet/in_pcb.c:522 #5 tcp_connect+0x3cb sys/netinet/tcp_usrreq.c:654 #6 sys_connect+0x345 sys/kern/uipc_syscalls.c:422 #7 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #7 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #8 Xsyscall+0x128 exclusive rwlock netlock r = 0 (0xffffffff83471ac0) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 sys_connect+0x27f sys/kern/uipc_syscalls.c:413 #2 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #2 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #3 Xsyscall+0x128 Process 39557 (syz-executor) thread 0xffff8000ffffccb8 (105712) exclusive rwlock sbufrcv r = 0 (0xffff8000012880e0) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 sblock+0xb7 sys/kern/uipc_socket2.c:549 #3 soreceive+0x295 sys/kern/uipc_socket.c:947 #4 recvit+0x40a sys/kern/uipc_syscalls.c:1082 #5 sys_recvmmsg+0x3d3 sys/kern/uipc_syscalls.c:973 #6 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #6 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10207 11269K 11457K 166960K 11854 0 pcb 17 16K 17K 166960K 180 0 rtable 220 7K 9K 166960K 799 0 pf 36 18K 20K 166960K 115 0 ifaddr 40 7K 7K 166960K 125 0 ifgroup 55 2K 2K 166960K 166 0 sysctl 2 0K 0K 166960K 3 0 counters 64 36K 36K 166960K 120 0 ioctlops 0 0K 4K 166960K 1563 0 iov 1 4K 12K 166960K 87 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1428 90K 90K 166960K 2178 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 9 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 37 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 19 69K 97K 166960K 892 0 sigio 0 0K 0K 166960K 18 0 proc 73 91K 164K 166960K 1099 0 subproc 104 6K 6K 166960K 390 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 57 0 in_multi 86 6K 7K 166960K 259 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 85 387K 387K 166960K 85 0 exec 0 0K 1K 166960K 740 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 244 73K 91K 166960K 8862 0 UVM aobj 81 5K 5K 166960K 81 0 pinsyscall 44 88K 106K 166960K 2416 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 24 0 NDP 12 0K 2K 166960K 82 0 temp 54 6818K 6883K 166960K 43595 0 kqueue 14 22K 28K 166960K 91 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 118 0 115 2 0 2 2 0 8 1 rtentry 112 270 0 171 4 0 4 4 0 8 0 unpcb 144 483 0 459 7 4 3 5 0 8 2 syncache 336 7 0 7 2 2 0 1 0 8 0 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 808 162 0 155 5 4 1 5 0 8 0 arp 120 44 0 25 1 0 1 1 0 8 0 inpcb 336 847 0 837 13 6 7 7 0 8 6 nd6 136 66 0 44 1 0 1 1 0 8 0 pkpcb 40 3 0 3 2 2 0 1 0 8 0 kcovpl 48 30 0 22 1 0 1 1 0 8 0 ppxss 1168 3 0 3 1 1 0 1 0 8 0 pffrag 232 7 0 1 1 0 1 1 0 482 0 pffrnode 88 7 0 1 1 0 1 1 0 8 0 pffrent 40 43 0 37 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 pfrktable 1344 3 0 1 1 0 1 1 0 8 0 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pftag 88 1 0 1 1 1 0 1 0 8 0 pfstitem 24 81 0 27 1 0 1 1 0 8 0 pfstkey 128 81 0 27 2 0 2 2 0 8 0 pfstate 376 80 0 27 6 0 6 6 0 8 0 pfrule 1344 24 0 17 2 0 2 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 1009 0 629 31 7 24 30 0 8 0 art_table 32 1011 0 629 4 0 4 4 0 8 0 art_node 16 257 0 170 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 5 1 0 1 1 0 8 0 semupl 112 2 0 2 2 1 1 1 0 8 1 semapl 112 34 0 24 1 0 1 1 0 8 0 shmpl 112 78 0 0 3 0 3 3 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2584 0 1048 97 0 97 97 0 8 0 ffsino 272 2584 0 1048 103 0 103 103 0 8 0 nchpl 144 3436 0 1726 64 0 64 64 0 8 0 uvmvnodes 80 3225 0 0 66 0 66 66 0 8 0 vnodes 216 3225 0 0 180 0 180 180 0 8 0 namei 1024 13047 0 13047 1 0 1 1 0 8 1 percpumem 16 74 0 28 1 0 1 1 0 8 0 pfiaddrpl 120 1 0 0 1 0 1 1 0 8 0 kstatmem 264 80 0 56 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 17421 0 17421 9 8 1 8 1 8 1 plimitpl 152 173 0 156 1 0 1 1 0 8 0 sigapl 424 1154 0 1102 9 2 7 7 0 8 1 futexpl 64 9082 0 9074 2 1 1 1 0 8 0 knotepl 120 312 0 0 10 0 10 10 0 8 0 kqueuepl 216 144 0 134 1 0 1 1 0 8 0 pipepl 320 230 0 202 3 0 3 3 0 8 0 fdescpl 496 1135 0 1102 6 1 5 6 0 8 0 filepl 152 6091 0 5829 19 6 13 17 0 8 2 lockfpl 104 150 0 145 1 0 1 1 0 8 0 lockfspl 48 61 0 57 1 0 1 1 0 8 0 sessionpl 144 48 0 39 1 0 1 1 0 8 0 pgrppl 48 86 0 69 1 0 1 1 0 8 0 ucredpl 104 1240 0 1227 1 0 1 1 0 8 0 zombiepl 144 1102 0 1102 1 0 1 1 0 8 1 processpl 1160 1154 0 1102 5 1 4 5 0 8 0 procpl 648 1943 0 1883 8 2 6 6 0 8 0 sosppl 168 4 0 4 1 1 0 1 0 8 0 sockpl 664 1461 0 1424 18 10 8 13 0 8 4 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 138 0 0 18 0 18 18 0 8 0 mcl2k 2048 46 0 0 5 0 5 5 0 8 0 mtagpl 96 10 0 0 1 0 1 1 0 8 0 mbufpl 256 318 0 0 18 0 18 18 0 8 0 bufpl 280 5965 0 101 419 0 419 419 0 8 0 anonpl 24 276121 0 270333 71 6 65 67 0 185 15 amapchunkpl 152 29593 0 29014 33 1 32 33 0 158 9 amappl16 200 7143 0 7056 19 9 10 18 0 8 0 amappl15 192 12 0 12 1 1 0 1 0 8 0 amappl14 184 147 0 135 1 0 1 1 0 8 0 amappl13 176 10 0 10 2 2 0 1 0 8 0 amappl12 168 2050 0 2016 4 2 2 3 0 8 0 amappl11 160 56 0 42 1 0 1 1 0 8 0 amappl10 152 15 0 14 1 0 1 1 0 8 0 amappl9 144 146 0 145 1 0 1 1 0 8 0 amappl8 136 33 0 30 1 0 1 1 0 8 0 amappl7 128 181 0 168 1 0 1 1 0 8 0 amappl6 120 350 0 347 1 0 1 1 0 8 0 amappl5 112 216 0 204 1 0 1 1 0 8 0 amappl4 104 362 0 344 1 0 1 1 0 8 0 amappl3 96 5582 0 5469 4 0 4 4 0 8 0 amappl2 88 941 0 872 2 0 2 2 0 8 0 amappl1 80 11398 0 10830 14 0 14 14 0 8 0 amappl 88 8325 0 8143 5 0 5 5 0 92 0 dma65536 65536 1 0 1 1 0 1 1 0 8 1 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma256 256 7 0 7 2 2 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 80 0 0 2 0 2 2 0 8 0 uaddrrnd 24 1135 0 1102 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1135 0 1102 1 0 1 1 0 8 0 vmmpekpl 168 10248 0 10202 3 0 3 3 0 8 0 vmmpepl 168 80847 0 78894 96 10 86 96 0 357 1 vmsppl 440 1134 0 1102 6 2 4 5 0 8 0 rwobjpl 56 30193 0 25884 61 0 61 61 0 8 0 pdppl 4096 2277 0 2204 128 55 73 87 0 8 0 pvpl 32 28899 0 0 235 2 233 234 0 265 0 pmappl 248 1134 0 1102 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 434 0 78 11 0 11 11 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff834e3ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff835571c0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff835571c0) at __mp_lock+0x192 sys/kern/kern_lock.c:144 softintr_dispatch(0) at softintr_dispatch+0x5b sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x27 __mp_lock(ffffffff835571c0) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff835571c0) at __mp_lock+0x199 sys/kern/kern_lock.c:144 syscall(ffff80002a0bac00) at syscall+0xad6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0bac00) at syscall+0xad6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x720e8cfba200, count: -9 ddb{0}> machine ddbcpu 1 Stopped at __x86_indirect_thunk_r11+0x14: ret ddb{1}> trace __x86_indirect_thunk_r11() at __x86_indirect_thunk_r11+0x14 rt_clone(ffff800036ba7a78,fffffd806f101b10,0) at rt_clone+0x98 sys/net/route.c:383 route_mpath(fffffd806f101af8,fffffd805e59f824,0,0) at route_mpath+0x170 rt_match sys/net/route.c:360 [inline] route_mpath(fffffd806f101af8,fffffd805e59f824,0,0) at route_mpath+0x170 rtalloc_mpath sys/net/route.c:476 [inline] route_mpath(fffffd806f101af8,fffffd805e59f824,0,0) at route_mpath+0x170 sys/net/route.c:255 in_pcbselsrc(ffff800036ba7b68,fffffd805e59f820,fffffd806f101a80) at in_pcbselsrc+0x250 in_pcbconnect(fffffd806f101a80,fffffd805e59f800) at in_pcbconnect+0x11a sys/netinet/in_pcb.c:522 tcp_connect(ffff8000013037c8,fffffd805e59f800) at tcp_connect+0x3cb sys/netinet/tcp_usrreq.c:654 sys_connect(ffff80003117e038,ffff800036ba7d90,ffff800036ba7ce0) at sys_connect+0x345 sys/kern/uipc_syscalls.c:422 syscall(ffff800036ba7d90) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff800036ba7d90) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6e704b3fda0, count: -9