kernel: protection fault trap, code=0 Stopped at __x86_indirect_thunk_r11+0x14: ret ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic the kernel did not panic ddb{0}> trace __x86_indirect_thunk_r11() at __x86_indirect_thunk_r11+0x14 rt_clone(ffff800036fe8708,fffffd80652dbdc8,0) at rt_clone+0x98 sys/net/route.c:383 route_mpath(fffffd80652dbdb0,fffffd806cdb1824,0,0) at route_mpath+0x170 rt_match sys/net/route.c:360 [inline] route_mpath(fffffd80652dbdb0,fffffd806cdb1824,0,0) at route_mpath+0x170 rtalloc_mpath sys/net/route.c:476 [inline] route_mpath(fffffd80652dbdb0,fffffd806cdb1824,0,0) at route_mpath+0x170 sys/net/route.c:255 in_pcbselsrc(ffff800036fe87f8,fffffd806cdb1820,fffffd80652dbd38) at in_pcbselsrc+0x250 in_pcbconnect(fffffd80652dbd38,fffffd806cdb1800) at in_pcbconnect+0x11a sys/netinet/in_pcb.c:522 tcp_connect(ffff8000016e9cf0,fffffd806cdb1800) at tcp_connect+0x3cb sys/netinet/tcp_usrreq.c:654 sys_connect(ffff8000ffffd450,ffff800036fe8a20,ffff800036fe8970) at sys_connect+0x345 sys/kern/uipc_syscalls.c:422 syscall(ffff800036fe8a20) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff800036fe8a20) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1e62f4df450, count: -9 ddb{0}> show registers rdi 0xffff8000015a0800 rsi 0xb rbp 0xffff800036fe85e0 rbx 0xffff800000e44fd0 rdx 0xfffffd806e6bb5b0 rcx 0x5d5 rax 0xffffffff81201b05 rtrequest+0xbb5 r8 0x100 r9 0xfffffd806e6bb5b0 r10 0x9a4e6cc7413dde66 r11 0x4fc7900000000 r12 0xffff800036fe8698 r13 0 r14 0xfffffd806e6bb5b0 r15 0xffff800036fe85f8 rip 0xffffffff819a3304 __x86_indirect_thunk_r11+0x14 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800036fe84e0 ss 0x10 __x86_indirect_thunk_r11+0x14: ret ddb{0}> show proc PROC (syz-executor) tid=128096 pid=86533 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=82, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffffc520,0xffff8000ffffcf50 process=0xffff8000371bbb08 user=0xffff800036fe3000, vmspace=0xfffffd806cbc0a68 estcpu=32, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 99586 125592 84004 0 2 0x100002 sh 83527 469197 53899 0 2 0 syz-executor 83527 472216 53899 0 3 0x4000080 fsleep syz-executor 98165 428879 3747 0 2 0 syz-executor 98165 47818 3747 0 7 0x4000000 syz-executor 86533 229136 53046 0 2 0 syz-executor *86533 128096 53046 0 7 0x4000000 syz-executor 53430 149085 46001 0 2 0 syz-executor 53430 241096 46001 0 3 0x4000080 fsleep syz-executor 53430 2696 46001 0 3 0x4000080 ttyin syz-executor 53430 413121 46001 0 3 0x4000080 fsleep syz-executor 95981 108962 9502 0 2 0 syz-executor 95981 123192 9502 0 3 0x4000080 fsleep syz-executor 52481 464424 32780 0 2 0 syz-executor 52481 316406 32780 0 3 0x4000080 sbwait syz-executor 84004 3993 29821 0 3 0x82 wait syz-executor 53046 264312 29821 0 3 0x82 nanoslp syz-executor 3747 61309 29821 0 3 0x82 nanoslp syz-executor 46001 427082 29821 0 3 0x82 nanoslp syz-executor 32780 249508 29821 0 3 0x82 nanoslp syz-executor 53899 136418 29821 0 3 0x82 nanoslp syz-executor 9502 461507 29821 0 3 0x82 nanoslp syz-executor 10898 233624 29821 0 3 0x82 wait syz-executor 62027 405580 1 0 3 0x100083 ttyin getty 46306 169690 0 0 3 0x14200 bored sosplice 95725 460124 0 0 3 0x14200 acct acct 29821 10531 6411 0 3 0x82 kqread syz-executor 6411 154114 45643 0 3 0x10008a sigsusp ksh 45643 206385 15768 0 3 0x98 kqread sshd-session 15768 201340 62677 0 3 0x92 kqread sshd-session 62677 46893 1 0 3 0x88 kqread sshd 79486 395521 90073 74 3 0x1100092 bpf pflogd 90073 167919 1 0 3 0x80 sbwait pflogd 86859 299170 22821 73 2 0x1100010 syslogd 22821 10225 1 0 3 0x100082 sbwait syslogd 33021 456559 1 0 3 0x100080 kqread resolvd 5673 471375 18422 77 3 0x100092 kqread dhcpleased 15765 217117 18422 77 3 0x100092 kqread dhcpleased 18422 441178 1 0 3 0x80 kqread dhcpleased 78717 180176 0 0 3 0x14200 bored smr 72094 465765 0 0 2 0x14200 zerothread 27700 203713 0 0 3 0x14200 aiodoned aiodoned 99800 262089 0 0 3 0x14200 syncer update 16567 505249 0 0 3 0x14200 cleaner cleaner 96386 409735 0 0 3 0x14200 reaper reaper 29234 199861 0 0 3 0x14200 pgdaemon pagedaemon 97644 417293 0 0 3 0x14200 bored viomb 82088 301207 0 0 3 0x40014200 acpi0 acpi0 70266 397620 0 0 3 0x40014200 idle1 9602 520879 0 0 3 0x14200 bored softnet3 76574 27854 0 0 3 0x14200 bored softnet2 99039 519877 0 0 3 0x14200 bored softnet1 63572 247270 0 0 3 0x14200 bored softnet0 1821 158076 0 0 3 0x14200 bored systqmp 405 53766 0 0 3 0x14200 bored systq 41950 436118 0 0 3 0x14200 tmoslp softclockmp 25363 12558 0 0 3 0x40014200 tmoslp softclock 58247 479592 0 0 3 0x40014200 idle0 1 404092 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 86533 (syz-executor) thread 0xffff8000ffffd450 (128096) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff8362a8f8) #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 (0xffffffff8340ed30) #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 sys_connect+0x27f sys/kern/uipc_syscalls.c:413 #3 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #3 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #4 Xsyscall+0x128 Process 86859 (syslogd) thread 0xffff8000ffffd1c8 (299170) exclusive rrwlock inode r = 0 (0xfffffd806e1143d0) #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 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #5 sys_fsync+0x152 sys/kern/vfs_syscalls.c:2926 #6 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #6 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10235 14342K 14475K 166960K 11984 0 pcb 17 13K 14K 166960K 131 0 rtable 207 7K 7K 166960K 1309 0 pf 34 17K 22K 166960K 125 0 ifaddr 40 7K 7K 166960K 132 0 ifgroup 55 2K 2K 166960K 164 0 sysctl 3 0K 0K 166960K 3 0 counters 64 36K 36K 166960K 120 0 ioctlops 0 0K 4K 166960K 1542 0 iov 0 0K 24K 166960K 50 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1393 88K 88K 166960K 2018 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 10 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 20 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1690 195K 286K 166960K 12418 0 file desc 18 65K 93K 166960K 928 0 sigio 0 0K 0K 166960K 14 0 proc 72 91K 128K 166960K 1157 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 1 0K 0K 166960K 83 0 in_multi 86 6K 7K 166960K 301 0 ether_multi 1 0K 0K 166960K 3 0 mrt 0 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 259 1155K 1155K 166960K 259 0 exec 0 0K 1K 166960K 737 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 239 72K 91K 166960K 8948 0 UVM aobj 11 4K 4K 166960K 12 0 pinsyscall 43 86K 102K 166960K 2482 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 53 0 NDP 12 0K 2K 166960K 89 0 temp 51 6818K 6944K 166960K 22647 0 kqueue 14 22K 28K 166960K 99 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> 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 98 0 95 1 0 1 1 0 8 0 rtentry 112 504 0 411 4 1 3 4 0 8 0 unpcb 144 435 0 414 3 2 1 2 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 808 182 0 175 4 3 1 4 0 8 0 arp 120 117 0 99 1 0 1 1 0 8 0 inpcb 336 860 0 848 13 11 2 7 0 8 0 nd6 136 79 0 57 1 0 1 1 0 8 0 pkpcb 40 2 0 2 2 2 0 1 0 8 0 kcovpl 48 30 0 22 1 0 1 1 0 8 0 ppxss 1168 2 0 2 1 1 0 1 0 8 0 pffrag 232 3 0 0 1 0 1 1 0 482 0 pffrnode 88 3 0 0 1 0 1 1 0 8 0 pffrent 40 4 0 1 2 1 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 3 1 1 0 1 0 8 0 pfanchor 1288 3 0 1 1 0 1 1 0 8 0 pfstitem 24 88 0 33 1 0 1 1 0 8 0 pfstkey 128 88 0 33 2 0 2 2 0 8 0 pfstate 376 88 0 33 6 0 6 6 0 8 0 pfrule 1344 23 0 18 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1301 0 905 30 5 25 29 0 8 0 art_table 32 1302 0 905 4 0 4 4 0 8 0 art_node 16 497 0 414 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 3 3 2 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 17 0 7 1 0 1 1 0 8 0 shmpl 112 9 0 1 2 1 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2511 0 967 97 0 97 97 0 8 0 ffsino 272 2511 0 967 104 0 104 104 0 8 0 nchpl 144 3547 0 2919 64 37 27 64 0 8 2 uvmvnodes 80 3114 0 0 64 0 64 64 0 8 0 vnodes 216 3114 0 0 173 0 173 173 0 8 0 namei 1024 13817 0 13817 3 2 1 1 0 8 1 percpumem 16 74 0 28 1 0 1 1 0 8 0 pfiaddrpl 120 1 0 1 1 1 0 1 0 8 0 kstatmem 264 80 0 56 2 0 2 2 0 8 0 scxspl 216 20028 0 20028 10 9 1 8 1 8 1 plimitpl 152 240 0 221 1 0 1 1 0 8 0 sigapl 424 1186 0 1134 8 1 7 7 0 8 0 futexpl 64 8165 0 8161 3 2 1 1 0 8 0 knotepl 120 577 0 0 17 0 17 17 0 8 0 kqueuepl 216 215 0 205 5 2 3 3 0 8 2 pipepl 320 222 0 195 3 0 3 3 0 8 0 fdescpl 496 1166 0 1134 6 1 5 5 0 8 0 filepl 152 6277 0 5959 23 10 13 17 0 8 0 lockfpl 104 234 0 230 1 0 1 1 0 8 0 lockfspl 48 111 0 107 1 0 1 1 0 8 0 sessionpl 144 45 0 36 1 0 1 1 0 8 0 pgrppl 48 87 0 70 1 0 1 1 0 8 0 ucredpl 104 938 0 924 1 0 1 1 0 8 0 zombiepl 144 1135 0 1134 1 0 1 1 0 8 0 processpl 1160 1186 0 1134 6 1 5 5 0 8 1 procpl 648 2026 0 1966 6 0 6 6 0 8 0 srpgc 96 4 0 4 1 1 0 1 0 8 0 sosppl 168 2 0 2 1 1 0 1 0 8 0 sockpl 664 1404 0 1368 14 10 4 9 0 8 0 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 240 0 0 30 0 30 30 0 8 0 mtagpl 96 13 0 0 1 0 1 1 0 8 0 mbufpl 256 1270 0 0 78 0 78 78 0 8 0 bufpl 280 6297 0 123 442 0 442 442 0 8 0 anonpl 24 238816 0 235221 100 48 52 71 0 185 17 amapchunkpl 152 29139 0 28627 33 2 31 31 0 158 11 amappl16 200 5478 0 5457 52 39 13 27 0 8 11 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 145 0 133 1 0 1 1 0 8 0 amappl13 176 10 0 10 2 1 1 1 0 8 1 amappl12 168 2103 0 2070 4 2 2 3 0 8 0 amappl11 160 60 0 46 1 0 1 1 0 8 0 amappl10 152 10 0 10 1 1 0 1 0 8 0 amappl9 144 145 0 145 2 2 0 1 0 8 0 amappl8 136 30 0 26 1 0 1 1 0 8 0 amappl7 128 152 0 140 1 0 1 1 0 8 0 amappl6 120 355 0 353 1 0 1 1 0 8 0 amappl5 112 216 0 204 1 0 1 1 0 8 0 amappl4 104 358 0 339 1 0 1 1 0 8 0 amappl3 96 5665 0 5549 4 0 4 4 0 8 0 amappl2 88 914 0 844 2 0 2 2 0 8 0 amappl1 80 10843 0 10263 14 1 13 14 0 8 0 amappl 88 8397 0 8219 5 0 5 5 0 92 1 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 11 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1166 0 1134 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1166 0 1134 1 0 1 1 0 8 0 vmmpekpl 168 9916 0 9859 4 0 4 4 0 8 0 vmmpepl 168 78544 0 76660 120 34 86 104 0 357 4 vmsppl 440 1165 0 1134 6 2 4 5 0 8 0 rwobjpl 56 27941 0 23871 64 4 60 60 0 8 1 pdppl 4096 2339 0 2268 132 59 73 85 0 8 2 pvpl 32 28088 0 0 228 1 227 227 0 265 0 pmappl 248 1165 0 1134 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 504 0 84 13 0 13 13 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace __x86_indirect_thunk_r11() at __x86_indirect_thunk_r11+0x14 rt_clone(ffff800036fe8708,fffffd80652dbdc8,0) at rt_clone+0x98 sys/net/route.c:383 route_mpath(fffffd80652dbdb0,fffffd806cdb1824,0,0) at route_mpath+0x170 rt_match sys/net/route.c:360 [inline] route_mpath(fffffd80652dbdb0,fffffd806cdb1824,0,0) at route_mpath+0x170 rtalloc_mpath sys/net/route.c:476 [inline] route_mpath(fffffd80652dbdb0,fffffd806cdb1824,0,0) at route_mpath+0x170 sys/net/route.c:255 in_pcbselsrc(ffff800036fe87f8,fffffd806cdb1820,fffffd80652dbd38) at in_pcbselsrc+0x250 in_pcbconnect(fffffd80652dbd38,fffffd806cdb1800) at in_pcbconnect+0x11a sys/netinet/in_pcb.c:522 tcp_connect(ffff8000016e9cf0,fffffd806cdb1800) at tcp_connect+0x3cb sys/netinet/tcp_usrreq.c:654 sys_connect(ffff8000ffffd450,ffff800036fe8a20,ffff800036fe8970) at sys_connect+0x345 sys/kern/uipc_syscalls.c:422 syscall(ffff800036fe8a20) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff800036fe8a20) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1e62f4df450, count: -9 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800029b7bff0) 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(ffffffff8362a6f0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8362a6f0) at __mp_lock+0x192 sys/kern/kern_lock.c:144 syscall(ffff80002a146920) at syscall+0xad6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a146920) at syscall+0xad6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x40582913750, count: -6