login: uvm_fault(0xffffffff822efed8, 0xffff800003b87002, 0, 1) -> e kernel: page fault trap, code=0 Stopped at rtable_satoplen+0x150: movzbl 0xffffffffffffffff(%r13),%r12d ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic kernel page fault uvm_fault(0xffffffff822efed8, 0xffff800003b87002, 0, 1) -> e rtable_satoplen(21,ffff800003b86f59) at rtable_satoplen+0x150 sys/net/rtable.c:888 end trace frame: 0xffff800020bf98b0, count: 0 ddb{0}> trace rtable_satoplen(21,ffff800003b86f59) at rtable_satoplen+0x150 sys/net/rtable.c:888 rtable_lookup(0,ffff800003b86f09,ffff800003b86f59,ffff800003b86f11,21) at rtable_lookup+0xfd sys/net/rtable.c:391 rtm_output(ffff800003b86f00,ffff800020bf99a0,ffff800020bf99a8,21,0) at rtm_output+0x10c sys/net/rtsock.c:1122 route_output(fffffd806d649d00,fffffd806b72d790,0,0) at route_output+0x79b sys/net/rtsock.c:806 route_usrreq(fffffd806b72d790,9,fffffd806d649d00,0,0,ffff800020b64270) at route_usrreq+0x35d sys/net/rtsock.c:271 sosend(fffffd806b72d790,0,ffff800020bf9c68,0,0,0) at sosend+0x6eb sys/kern/uipc_socket.c:513 sendit(ffff800020b64270,5,ffff800020bf9d28,0,ffff800020bf9df0) at sendit+0x590 sys/kern/uipc_syscalls.c:662 sys_sendto(ffff800020b64270,ffff800020bf9e08,ffff800020bf9df0) at sys_sendto+0x92 syscall(ffff800020bf9ea0) at syscall+0x5b8 mi_syscall sys/sys/syscall_mi.h:99 [inline] syscall(ffff800020bf9ea0) at syscall+0x5b8 sys/arch/amd64/amd64/trap.c:574 Xsyscall(6,0,ffffffffffffffd8,0,6,35262e8e0d8) at Xsyscall+0x128 end of kernel end trace frame: 0x3552dc54f10, count: -10 ddb{0}> show registers rdi 0 rsi 0xaa rbp 0xffff800020bf9810 rbx 0xffffffffffffff5a rdx 0xffff800003b86f5d rcx 0xffff800003b87003 rax 0xffff800003b87003 r8 0x21 r9 0x1 r10 0x4 r11 0xd3f77f8ba9bf2683 r12 0 r13 0xffff800003b87003 r14 0xffffffff821bff98 mplsdomain r15 0x4 rip 0xffffffff81c86cd0 rtable_satoplen+0x150 cs 0x8 rflags 0x10287 __ALIGN_SIZE+0xf287 rsp 0xffff800020bf97c0 ss 0x10 rtable_satoplen+0x150: movzbl 0xffffffffffffffff(%r13),%r12d ddb{0}> show proc PROC (syz-executor.0) pid=32833 stat=onproc flags process=0 proc=4000000 pri=52, usrpri=52, nice=20 forw=0xffffffffffffffff, list=0xffff800020b644c8,0xffffffff823613a0 process=0xffff800020b7c360 user=0xffff800020bf4000, vmspace=0xfffffd807f00b708 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 94709 424469 98761 0 2 0 syz-executor.0 94709 382524 98761 0 3 0x4000080 fsleep syz-executor.0 *94709 32833 98761 0 7 0x4000000 syz-executor.0 98761 371396 43132 0 2 0x482 syz-executor.0 71192 517385 43132 0 2 0x482 syz-executor.1 43132 349596 2946 0 3 0x82 kqread syz-fuzzer 43132 271533 2946 0 3 0x4000082 thrsleep syz-fuzzer 43132 317025 2946 0 3 0x4000082 thrsleep syz-fuzzer 43132 421825 2946 0 3 0x4000082 thrsleep syz-fuzzer 43132 461790 2946 0 3 0x4000082 thrsleep syz-fuzzer 43132 151516 2946 0 3 0x4000082 thrsleep syz-fuzzer 43132 142108 2946 0 3 0x4000082 thrsleep syz-fuzzer 43132 111989 2946 0 3 0x4000082 thrsleep syz-fuzzer 43132 125761 2946 0 3 0x4000082 thrsleep syz-fuzzer 43132 174068 2946 0 3 0x4000082 thrsleep syz-fuzzer 43132 246064 2946 0 3 0x4000082 thrsleep syz-fuzzer 43132 118839 2946 0 3 0x4000082 thrsleep syz-fuzzer 2946 342158 44399 0 3 0x10008a pause ksh 44399 114937 18323 0 3 0x92 select sshd 47119 4334 1 0 3 0x100083 ttyin getty 18323 184799 1 0 3 0x80 select sshd 84260 416812 59881 74 3 0x100092 bpf pflogd 59881 49471 1 0 3 0x80 netio pflogd 88981 160209 90706 73 7 0x100090 syslogd 90706 47544 1 0 3 0x100082 netio syslogd 603 74374 1 77 3 0x100090 poll dhclient 65724 248116 1 0 3 0x80 poll dhclient 86842 54595 0 0 3 0x14200 pgzero zerothread 60482 293454 0 0 3 0x14200 aiodoned aiodoned 27572 477284 0 0 3 0x14200 syncer update 87310 399745 0 0 3 0x14200 cleaner cleaner 18522 28736 0 0 3 0x14200 reaper reaper 27323 124928 0 0 3 0x14200 pgdaemon pagedaemon 86630 381081 0 0 3 0x14200 bored crynlk 73428 443408 0 0 3 0x14200 bored crypto 69398 461015 0 0 3 0x40014200 acpi0 acpi0 65852 428168 0 0 3 0x40014200 idle1 27149 42630 0 0 3 0x14200 bored softnet 5120 171995 0 0 3 0x14200 bored systqmp 83277 459021 0 0 3 0x14200 bored systq 57385 137586 0 0 3 0x40014200 bored softclock 54956 470183 0 0 3 0x40014200 idle0 20401 440888 0 0 3 0x14200 bored smr 1 313945 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 94709 (syz-executor.0) thread 0xffff800020b64270 (32833) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff82373b28) locked @ /syzkaller/managers/multicore/kernel/sys/arch/amd64/amd64/softintr.c:87 #0 witness_lock+0x594 sys/kern/subr_witness.c:1201 #1 solock+0x7e sys/kern/uipc_socket2.c:292 #2 sosend+0x586 sys/kern/uipc_socket.c:501 #3 sendit+0x590 sys/kern/uipc_syscalls.c:662 #4 sys_sendto+0x92 #5 syscall+0x5b8 mi_syscall sys/sys/syscall_mi.h:99 [inline] #5 syscall+0x5b8 sys/arch/amd64/amd64/trap.c:574 #6 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9465 6387K 6393K 78643K 10566 0 0 pcb 27 9K 9K 78643K 61 0 0 rtable 101 4K 4K 78643K 228 0 0 ifaddr 40 10K 11K 78643K 56 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1470 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1202 75K 75K 78643K 1226 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 1K 78643K 2 0 0 VM map 2 1K 1K 78643K 2 0 0 sem 2 0K 0K 78643K 2 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12628 0 0 file desc 5 13K 21K 78643K 37 0 0 sigio 0 0K 0K 78643K 2 0 0 proc 52 50K 71K 78643K 344 0 0 subproc 64 65538K 67586K 78643K 102 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 in_multi 33 2K 2K 78643K 44 0 0 ether_multi 1 0K 0K 78643K 1 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 48 212K 212K 78643K 48 0 0 exec 0 0K 1K 78643K 194 0 0 pagedep 1 8K 8K 78643K 1 0 0 inodedep 1 32K 32K 78643K 1 0 0 newblk 1 0K 0K 78643K 1 0 0 VM swap 7 26K 26K 78643K 7 0 0 UVM amap 87 21K 21K 78643K 946 0 0 UVM aobj 2 2K 2K 78643K 2 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 NDP 8 0K 0K 78643K 15 0 0 temp 88 2364K 2428K 78643K 3172 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 5 0 1 1 0 1 1 0 8 0 inpcbpl 280 41 0 32 1 0 1 1 0 8 0 plimitpl 152 16 0 8 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtentry 112 50 0 10 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpcb 544 12 0 8 1 0 1 1 0 8 0 nd6 48 6 0 2 1 0 1 1 0 8 0 ppxss 1128 2 0 2 1 0 1 1 0 8 1 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 13 0 2 1 0 1 1 0 8 0 pfstkey 112 13 0 2 1 0 1 1 0 8 0 pfstate 328 13 0 2 2 0 2 2 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 227 0 41 12 0 12 12 0 8 0 art_table 32 228 0 41 2 0 2 2 0 8 0 art_node 16 49 0 15 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1454 0 32 46 0 46 46 0 8 0 ffsino 272 1454 0 32 95 0 95 95 0 8 0 nchpl 144 1711 0 76 61 0 61 61 0 8 0 uvmvnodes 72 1515 0 0 28 0 28 28 0 8 0 vnodes 200 1515 0 0 80 0 80 80 0 8 0 namei 1024 4343 0 4343 2 1 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scxspl 192 4045 0 4045 7 1 6 6 0 8 6 sigapl 432 230 0 215 2 0 2 2 0 8 0 futexpl 56 153 0 152 1 0 1 1 0 8 0 knotepl 112 81 0 54 2 0 2 2 0 8 1 kqueuepl 104 4 0 2 1 0 1 1 0 8 0 pipepl 112 164 0 145 2 1 1 1 0 8 0 fdescpl 488 231 0 215 3 0 3 3 0 8 0 filepl 152 1169 0 1066 5 0 5 5 0 8 1 lockfpl 104 6 0 6 1 1 0 1 0 8 0 lockfspl 32 3 0 3 1 1 0 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 19 0 8 1 0 1 1 0 8 0 ucredpl 96 63 0 54 1 0 1 1 0 8 0 zombiepl 144 215 0 214 2 1 1 1 0 8 0 processpl 840 246 0 214 4 0 4 4 0 8 0 procpl 600 286 0 241 4 0 4 4 0 8 0 srpgc 64 6 0 6 1 0 1 1 0 8 1 sockpl 384 85 0 62 3 0 3 3 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 119 0 0 14 0 14 14 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 141 0 0 8 0 8 8 0 8 0 bufpl 256 5388 0 1043 272 0 272 272 0 8 0 anonpl 16 29628 0 22624 35 2 33 33 0 125 0 amapchunkpl 152 894 0 804 5 0 5 5 0 158 1 amappl16 192 581 0 162 22 0 22 22 0 8 0 amappl15 184 10 0 9 1 0 1 1 0 8 0 amappl14 176 30 0 25 1 0 1 1 0 8 0 amappl13 168 29 0 26 1 0 1 1 0 8 0 amappl12 160 10 0 9 2 1 1 1 0 8 0 amappl11 152 215 0 202 1 0 1 1 0 8 0 amappl10 144 71 0 64 1 0 1 1 0 8 0 amappl9 136 357 0 354 1 0 1 1 0 8 0 amappl8 128 138 0 120 1 0 1 1 0 8 0 amappl7 120 30 0 25 1 0 1 1 0 8 0 amappl6 112 57 0 49 1 0 1 1 0 8 0 amappl5 104 143 0 128 1 0 1 1 0 8 0 amappl4 96 313 0 288 2 0 2 2 0 8 1 amappl3 88 121 0 116 1 0 1 1 0 8 0 amappl2 80 836 0 779 2 0 2 2 0 8 0 amappl1 72 14626 0 14180 24 6 18 19 0 8 8 amappl 72 530 0 494 1 0 1 1 0 75 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma64 64 259 0 259 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 17 0 17 1 1 0 1 0 8 0 aobjpl 64 1 0 0 1 0 1 1 0 8 0 uaddrrnd 24 231 0 215 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 231 0 215 1 0 1 1 0 8 0 vmmpekpl 168 5893 0 5871 2 0 2 2 0 8 0 vmmpepl 168 32256 0 30833 87 10 77 77 0 357 12 vmsppl 360 230 0 215 2 0 2 2 0 8 0 pdppl 4096 470 0 430 6 0 6 6 0 8 0 pvpl 32 115341 0 105186 102 3 99 99 0 265 7 pmappl 224 230 0 215 2 0 2 2 0 8 1 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 419 0 4 12 0 12 12 0 8 0