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(ffff80002a126128,fffffd806ee5bf00,0) at rt_clone+0x98 sys/net/route.c:383 route_mpath(fffffd806ee5bee8,fffffd806e669b24,0,0) at route_mpath+0x170 rt_match sys/net/route.c:360 [inline] route_mpath(fffffd806ee5bee8,fffffd806e669b24,0,0) at route_mpath+0x170 rtalloc_mpath sys/net/route.c:476 [inline] route_mpath(fffffd806ee5bee8,fffffd806e669b24,0,0) at route_mpath+0x170 sys/net/route.c:255 in_pcbselsrc(ffff80002a126218,fffffd806e669b20,fffffd806ee5be70) at in_pcbselsrc+0x250 in_pcbconnect(fffffd806ee5be70,fffffd806e669b00) at in_pcbconnect+0x11a sys/netinet/in_pcb.c:522 tcp_connect(ffff800001589768,fffffd806e669b00) at tcp_connect+0x3cb sys/netinet/tcp_usrreq.c:654 sys_connect(ffff80003259a538,ffff80002a126440,ffff80002a126390) at sys_connect+0x345 sys/kern/uipc_syscalls.c:422 syscall(ffff80002a126440) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a126440) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd6acc53a2c0, count: -9 ddb{0}> show registers rdi 0xffff8000015b8000 rsi 0xb rbp 0xffff80002a126000 rbx 0xffff800000e44ac0 rdx 0xfffffd8067d40868 rcx 0x56d rax 0xffffffff8169d1b5 rtrequest+0xbb5 r8 0x100 r9 0xfffffd8067d40868 r10 0x6e0da506c8a12b53 r11 0x4fc7900000000 r12 0xffff80002a1260b8 r13 0 r14 0xfffffd8067d40868 r15 0xffff80002a126018 rip 0xffffffff81cf7304 __x86_indirect_thunk_r11+0x14 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a125f00 ss 0x10 __x86_indirect_thunk_r11+0x14: ret ddb{0}> show proc PROC (syz-executor) tid=247690 pid=59316 tcnt=2 stat=onproc flags process=10 proc=4000000 runpri=32, usrpri=84, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003259a2b0,0xffff800037276a70 process=0xffff80003727a440 user=0xffff80002a121000, vmspace=0xfffffd806bcafc10 estcpu=34, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 26506 61013 83789 0 2 0 syz-executor 26506 483331 83789 0 3 0x4000080 fsleep syz-executor 59224 303363 69900 0 2 0x100002 sh 52770 332325 89169 0 2 0 syz-executor 52770 288183 89169 0 3 0x4000080 fsleep syz-executor 36577 33986 65653 0 2 0 syz-executor 36577 287230 65653 0 3 0x4000080 fsleep syz-executor 59316 195303 82935 0 2 0x10 syz-executor *59316 247690 82935 0 7 0x4000010 syz-executor 67900 508809 61266 0 2 0 syz-executor 67900 435450 61266 0 3 0x4000080 fsleep syz-executor 67900 473046 61266 0 3 0x4000080 fsleep syz-executor 69900 176138 41358 0 3 0x82 wait syz-executor 83789 370985 41358 0 3 0x82 nanoslp syz-executor 65653 323235 41358 0 2 0x482 syz-executor 89169 112971 41358 0 3 0x82 nanoslp syz-executor 11808 77264 41358 0 2 0x2 syz-executor 32098 313930 0 0 3 0x14200 acct acct 82935 222522 41358 0 2 0x482 syz-executor 61266 366445 41358 0 3 0x82 nanoslp syz-executor 61270 510914 77013 0 3 0x100082 sbwait ndp 77013 441853 20793 0 3 0x10008a sigsusp sh 20793 146434 41358 0 3 0x82 wait syz-executor 92971 319442 1 0 3 0x100083 ttyin getty 12328 512325 0 0 3 0x14200 bored sosplice 41358 318103 48802 0 2 0x2 syz-executor 48802 477952 86697 0 3 0x10008a sigsusp ksh 86697 128072 25244 0 3 0x98 kqread sshd-session 25244 97790 54618 0 3 0x92 kqread sshd-session 54618 354026 1 0 3 0x88 kqread sshd 73828 341220 61540 74 3 0x1100092 bpf pflogd 61540 395295 1 0 3 0x80 sbwait pflogd 71053 24547 20015 73 3 0x1100090 kqread syslogd 20015 514435 1 0 3 0x100082 sbwait syslogd 9581 439673 1 0 3 0x100080 kqread resolvd 20099 371554 86210 77 3 0x100092 kqread dhcpleased 10137 72025 86210 77 3 0x100092 kqread dhcpleased 86210 120685 1 0 3 0x80 kqread dhcpleased 94828 66115 0 0 3 0x14200 bored smr 13443 266059 0 0 2 0x14200 zerothread 94606 265922 0 0 3 0x14200 aiodoned aiodoned 30580 270926 0 0 3 0x14200 syncer update 61139 122426 0 0 3 0x14200 cleaner cleaner 79130 477814 0 0 3 0x14200 reaper reaper 4702 137521 0 0 3 0x14200 pgdaemon pagedaemon 66651 446668 0 0 3 0x14200 bored viomb 92278 206467 0 0 3 0x40014200 acpi0 acpi0 16613 335318 0 0 7 0x40014200 idle1 11554 75706 0 0 3 0x14200 bored softnet3 62878 269859 0 0 3 0x14200 bored softnet2 76508 270096 0 0 3 0x14200 bored softnet1 1470 251150 0 0 3 0x14200 bored softnet0 12580 161676 0 0 3 0x14200 bored systqmp 33261 458592 0 0 3 0x14200 bored systq 15802 371068 0 0 2 0x14200 softclockmp 19201 215373 0 0 2 0x40014200 softclock 19828 181267 0 0 3 0x40014200 idle0 1 266545 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 59316 (syz-executor) thread 0xffff80003259a538 (247690) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff835a3c08) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #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 (0xffffffff834c1440) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #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 11808 (syz-executor) thread 0xffff80002ef7f1e8 (77264) exclusive rrwlock inode r = 0 (0xfffffd806059bb40) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #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 vget+0x2bd sys/kern/vfs_subr.c:676 #6 ufs_ihashget+0x192 sys/ufs/ufs/ufs_ihash.c:98 #7 ffs_vget+0x8c sys/ufs/ffs/ffs_vfsops.c:1201 #8 ufs_lookup+0x19f8 sys/ufs/ufs/ufs_lookup.c:478 #9 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #10 vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 #11 namei+0x7aa sys/kern/vfs_lookup.c:250 #12 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1852 #13 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #13 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806eec9a30) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #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 vget+0x2bd sys/kern/vfs_subr.c:676 #6 cache_lookup+0x36e sys/kern/vfs_cache.c:222 #7 ufs_lookup+0x218 sys/ufs/ufs/ufs_lookup.c:160 #8 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #9 vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 #10 namei+0x7aa sys/kern/vfs_lookup.c:250 #11 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1852 #12 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #12 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #13 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10239 14640K 14640K 166960K 12713 0 pcb 19 14K 16K 166960K 421 0 rtable 210 8K 9K 166960K 1276 0 pf 42 19K 27K 166960K 191 0 ifaddr 41 7K 8K 166960K 189 0 ifgroup 60 2K 2K 166960K 232 0 sysctl 3 0K 0K 166960K 5 0 counters 66 36K 37K 166960K 162 0 ioctlops 0 0K 4K 166960K 1818 0 iov 0 0K 24K 166960K 63 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1432 90K 90K 166960K 2732 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 10K 166960K 20 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 114 0 dirhash 12 2K 2K 166960K 27 0 ACPI 1690 195K 286K 166960K 12418 0 file desc 18 65K 97K 166960K 1524 0 sigio 0 0K 0K 166960K 24 0 proc 72 91K 128K 166960K 1496 0 subproc 104 6K 7K 166960K 546 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 90 0 in_multi 85 6K 7K 166960K 424 0 ether_multi 1 0K 0K 166960K 5 0 mrt 1 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 103 466K 466K 166960K 103 0 exec 0 0K 1K 166960K 923 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 228 72K 91K 166960K 13992 0 UVM aobj 35 6K 6K 166960K 39 0 pinsyscall 44 88K 107K 166960K 3412 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 56 0 NDP 13 0K 2K 166960K 133 0 temp 57 6819K 7078K 166960K 52388 0 kqueue 15 24K 30K 166960K 158 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 135 0 131 1 0 1 1 0 8 0 rtentry 112 445 0 353 4 1 3 4 0 8 0 unpcb 144 1384 0 1367 14 10 4 6 0 8 3 syncache 336 9 0 9 3 3 0 1 0 8 0 tcpqe 32 3 0 3 3 3 0 1 0 8 0 tcpcb 808 357 0 349 11 7 4 5 0 8 3 arp 120 79 0 59 1 0 1 1 0 8 0 inpcb 336 1433 0 1421 14 7 7 7 0 8 5 nd6 136 113 0 92 1 0 1 1 0 8 0 pkpcb 40 10 0 10 3 3 0 1 0 8 0 kcovpl 48 42 0 34 1 0 1 1 0 8 0 ppxss 1168 11 0 11 3 3 0 1 0 8 0 pffrag 232 13 0 9 1 0 1 1 0 482 0 pffrnode 88 13 0 9 1 0 1 1 0 8 0 pffrent 40 135 0 131 1 0 1 1 0 8 0 pfosfp 40 1429 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1429 0 714 21 0 21 21 0 8 0 pfrktable 1344 9 0 5 1 0 1 1 0 8 0 pfanchor 1288 2 0 1 1 0 1 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstitem 24 123 0 86 1 0 1 1 0 8 0 pfstkey 128 123 0 86 2 0 2 2 0 8 0 pfstate 376 122 0 86 6 0 6 6 0 8 0 pfrule 1344 28 0 21 2 0 2 2 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1786 0 1408 36 10 26 29 0 8 2 art_table 32 1787 0 1408 4 0 4 4 0 8 0 art_node 16 436 0 357 1 0 1 1 0 8 0 sysvmsgpl 40 31 0 10 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 112 0 102 1 0 1 1 0 8 0 shmpl 112 36 0 4 1 0 1 1 0 8 0 dirhash 1024 27 0 10 3 0 3 3 0 8 0 dino2pl 256 3369 0 1810 98 0 98 98 0 8 0 ffsino 272 3369 0 1810 104 0 104 104 0 8 0 nchpl 144 4963 0 3232 65 0 65 65 0 8 0 uvmvnodes 80 4496 0 0 92 0 92 92 0 8 0 vnodes 216 4496 0 0 250 0 250 250 0 8 0 namei 1024 19610 0 19610 5 4 1 2 0 8 1 percpumem 16 95 0 48 1 0 1 1 0 8 0 pfiaddrpl 120 3 0 1 1 0 1 1 0 8 0 kstatmem 264 122 0 96 3 1 2 3 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 36207 0 36207 10 9 1 8 1 8 1 plimitpl 152 387 0 370 1 0 1 1 0 8 0 sigapl 424 1788 0 1736 10 3 7 9 0 8 0 futexpl 64 15259 0 15254 4 3 1 1 0 8 0 knotepl 120 582 0 0 16 0 16 16 0 8 0 kqueuepl 216 323 0 312 1 0 1 1 0 8 0 pipepl 320 444 0 417 11 8 3 8 0 8 0 fdescpl 496 1747 0 1715 6 1 5 6 0 8 0 filepl 152 10362 0 10107 38 24 14 20 0 8 4 lockfpl 104 670 0 666 3 2 1 2 0 8 0 lockfspl 48 183 0 179 1 0 1 1 0 8 0 sessionpl 144 64 0 55 1 0 1 1 0 8 0 pgrppl 48 116 0 99 1 0 1 1 0 8 0 ucredpl 104 1469 0 1455 1 0 1 1 0 8 0 zombiepl 144 1736 0 1736 1 0 1 1 0 8 1 processpl 1160 1788 0 1736 6 1 5 6 0 8 0 procpl 648 3298 0 3240 9 3 6 8 0 8 0 sosppl 168 9 0 9 3 2 1 1 0 8 1 sockpl 664 2979 0 2946 30 20 10 15 0 8 7 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 225 0 0 29 1 28 29 0 8 0 mtagpl 96 17 0 0 1 0 1 1 0 8 0 mbufpl 256 450 0 0 23 0 23 23 0 8 0 bufpl 280 8750 0 2418 453 0 453 453 0 8 0 anonpl 24 295994 0 292275 66 13 53 62 0 185 13 amapchunkpl 152 45346 0 44884 39 9 30 34 0 158 10 amappl16 200 6079 0 6059 37 35 2 14 0 8 0 amappl15 192 10 0 10 1 1 0 1 0 8 0 amappl14 184 185 0 172 1 0 1 1 0 8 0 amappl13 176 11 0 11 2 2 0 1 0 8 0 amappl12 168 2872 0 2838 4 2 2 3 0 8 0 amappl11 160 53 0 39 1 0 1 1 0 8 0 amappl10 152 35 0 35 1 1 0 1 0 8 0 amappl9 144 165 0 165 1 1 0 1 0 8 0 amappl8 136 22 0 19 1 0 1 1 0 8 0 amappl7 128 193 0 179 1 0 1 1 0 8 0 amappl6 120 498 0 494 1 0 1 1 0 8 0 amappl5 112 265 0 253 1 0 1 1 0 8 0 amappl4 104 410 0 389 1 0 1 1 0 8 0 amappl3 96 8927 0 8822 4 0 4 4 0 8 0 amappl2 88 1164 0 1092 2 0 2 2 0 8 0 amappl1 80 14817 0 14221 14 0 14 14 0 8 0 amappl 88 13265 0 13103 5 0 5 5 0 92 0 dma4096 4096 3 0 3 3 3 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 8 0 8 2 2 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 38 0 4 1 0 1 1 0 8 0 uaddrrnd 24 1747 0 1715 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1747 0 1715 1 0 1 1 0 8 0 vmmpekpl 168 15017 0 14968 4 1 3 3 0 8 0 vmmpepl 168 113789 0 111941 108 23 85 101 0 357 1 vmsppl 440 1746 0 1715 6 2 4 5 0 8 0 rwobjpl 56 38094 0 32599 78 0 78 78 0 8 0 pdppl 4096 3501 0 3430 147 72 75 87 0 8 4 pvpl 32 29686 0 0 240 0 240 240 0 265 0 pmappl 248 1746 0 1715 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 485 0 111 11 0 11 11 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(ffff80002a126128,fffffd806ee5bf00,0) at rt_clone+0x98 sys/net/route.c:383 route_mpath(fffffd806ee5bee8,fffffd806e669b24,0,0) at route_mpath+0x170 rt_match sys/net/route.c:360 [inline] route_mpath(fffffd806ee5bee8,fffffd806e669b24,0,0) at route_mpath+0x170 rtalloc_mpath sys/net/route.c:476 [inline] route_mpath(fffffd806ee5bee8,fffffd806e669b24,0,0) at route_mpath+0x170 sys/net/route.c:255 in_pcbselsrc(ffff80002a126218,fffffd806e669b20,fffffd806ee5be70) at in_pcbselsrc+0x250 in_pcbconnect(fffffd806ee5be70,fffffd806e669b00) at in_pcbconnect+0x11a sys/netinet/in_pcb.c:522 tcp_connect(ffff800001589768,fffffd806e669b00) at tcp_connect+0x3cb sys/netinet/tcp_usrreq.c:654 sys_connect(ffff80003259a538,ffff80002a126440,ffff80002a126390) at sys_connect+0x345 sys/kern/uipc_syscalls.c:422 syscall(ffff80002a126440) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a126440) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd6acc53a2c0, 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 acpicpu_idle() at acpicpu_idle+0x41e sys/dev/acpi/acpicpu.c:1219 sched_idle(ffff800029b7bff0) at sched_idle+0x558 sys/kern/kern_sched.c:182 end trace frame: 0x0, count: -5