uvm_fault(0xffffffff8225bef8, 0xffff800004d84002, 0, 1) -> e kernel: page fault trap, code=0 Stopped at rtable_satoplen+0x150: movzbl 0xffffffffffffffff(%r13),%r12d ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic kernel page fault uvm_fault(0xffffffff8225bef8, 0xffff800004d84002, 0, 1) -> e rtable_satoplen(21,ffff800004d83f59) at rtable_satoplen+0x150 sys/net/rtable.c:888 end trace frame: 0xffff800020c36960, count: 0 ddb{1}> trace rtable_satoplen(21,ffff800004d83f59) at rtable_satoplen+0x150 sys/net/rtable.c:888 rtable_lookup(0,ffff800004d83f09,ffff800004d83f59,ffff800004d83f11,21) at rtable_lookup+0xfd sys/net/rtable.c:391 rtm_output(ffff800004d83f00,ffff800020c36a50,ffff800020c36a58,21,0) at rtm_output+0x10c sys/net/rtsock.c:1122 route_output(fffffd807e63e100,fffffd806f6c2180,0,0) at route_output+0x79b sys/net/rtsock.c:806 route_usrreq(fffffd806f6c2180,9,fffffd807e63e100,0,0,ffff800020b39530) at route_usrreq+0x35d sys/net/rtsock.c:271 sosend(fffffd806f6c2180,0,ffff800020c36d18,0,0,0) at sosend+0x6eb sys/kern/uipc_socket.c:513 sendit(ffff800020b39530,4,ffff800020c36dd8,0,ffff800020c36ea0) at sendit+0x590 sys/kern/uipc_syscalls.c:662 sys_sendto(ffff800020b39530,ffff800020c36eb8,ffff800020c36ea0) at sys_sendto+0x92 syscall(ffff800020c36f50) at syscall+0x5b8 mi_syscall sys/sys/syscall_mi.h:99 [inline] syscall(ffff800020c36f50) at syscall+0x5b8 sys/arch/amd64/amd64/trap.c:574 Xsyscall(6,0,ffffffffffffffd8,0,6,b82c26b4010) at Xsyscall+0x128 end of kernel end trace frame: 0xb84d1d1c1d0, count: -10 ddb{1}> show registers rdi 0 rsi 0xaa rbp 0xffff800020c368c0 rbx 0xffffffffffffff5a rdx 0xffff800004d83f5d rcx 0xffff800004d84003 rax 0xffff800004d84003 r8 0x21 r9 0x1 r10 0x4 r11 0xeab4a7eb6bbfcf1c r12 0 r13 0xffff800004d84003 r14 0xffffffff82190d08 mplsdomain r15 0x4 rip 0xffffffff81d8c9d0 rtable_satoplen+0x150 cs 0x8 rflags 0x10287 __ALIGN_SIZE+0xf287 rsp 0xffff800020c36870 ss 0x10 rtable_satoplen+0x150: movzbl 0xffffffffffffffff(%r13),%r12d ddb{1}> show proc PROC (syz-executor.1) pid=377968 stat=onproc flags process=1010 proc=4080000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020b38270,0xffffffff82387188 process=0xffff800020b3b708 user=0xffff800020c32000, vmspace=0xfffffd807effe870 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 61703 17382 94030 32767 3 0x3010 suspend syz-executor.1 *61703 377968 94030 32767 7 0x4081010 syz-executor.1 49325 108430 5955 32767 3 0x90 nanosleep syz-executor.0 5955 99638 64449 0 3 0x82 wait syz-executor.0 94030 234683 5240 32767 3 0x90 nanosleep syz-executor.1 5240 227036 64449 0 3 0x82 wait syz-executor.1 77526 176033 0 0 3 0x14200 bored sosplice 64449 383562 39231 0 3 0x82 thrsleep syz-fuzzer 64449 492932 39231 0 3 0x4000082 thrsleep syz-fuzzer 64449 447078 39231 0 3 0x4000082 thrsleep syz-fuzzer 64449 238819 39231 0 3 0x4000082 thrsleep syz-fuzzer 64449 406856 39231 0 3 0x4000082 thrsleep syz-fuzzer 64449 311490 39231 0 3 0x4000082 thrsleep syz-fuzzer 64449 251932 39231 0 3 0x4000082 thrsleep syz-fuzzer 64449 174636 39231 0 3 0x4000082 thrsleep syz-fuzzer 64449 85772 39231 0 3 0x4000082 thrsleep syz-fuzzer 64449 364724 39231 0 3 0x4000082 kqread syz-fuzzer 39231 385437 17633 0 3 0x10008a pause ksh 17633 470032 80338 0 3 0x92 select sshd 65712 250597 1 0 3 0x100083 ttyin getty 80338 350935 1 0 3 0x80 select sshd 74582 188845 48341 73 2 0x100090 syslogd 48341 500071 1 0 3 0x100082 netio syslogd 86084 433671 1 77 3 0x100090 poll dhclient 21813 14017 1 0 3 0x80 poll dhclient 35234 316115 0 0 3 0x14200 pgzero zerothread 45853 12809 0 0 3 0x14200 aiodoned aiodoned 68885 230840 0 0 3 0x14200 syncer update 41547 298820 0 0 3 0x14200 cleaner cleaner 58000 471514 0 0 3 0x14200 reaper reaper 25983 91852 0 0 3 0x14200 pgdaemon pagedaemon 61945 406954 0 0 3 0x14200 bored crynlk 80592 111686 0 0 3 0x14200 bored crypto 25405 305744 0 0 3 0x40014200 acpi0 acpi0 14303 278014 0 0 3 0x40014200 idle1 24439 339395 0 0 3 0x14200 bored softnet 37629 78771 0 0 3 0x14200 bored systqmp 94009 104698 0 0 3 0x14200 bored systq 33822 28230 0 0 3 0x40014200 bored softclock 13329 182497 0 0 7 0x40014200 idle0 70002 100948 0 0 3 0x14200 bored smr 1 432779 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 61703 (syz-executor.1) thread 0xffff800020b39530 (377968) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff82345c60) locked @ /syzkaller/managers/setuid/kernel/sys/arch/amd64/amd64/trap.c:161 #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{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9459 6321K 6321K 78643K 10616 0 0 pcb 25 9K 10K 78643K 532 0 0 rtable 98 3K 3K 78643K 855 0 0 ifaddr 35 10K 10K 78643K 122 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 2K 78643K 31 0 0 iov 0 0K 24K 78643K 79 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1200 75K 75K 78643K 1565 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 5K 78643K 7 0 0 VM map 2 1K 1K 78643K 2 0 0 sem 12 1K 1K 78643K 57 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12628 0 0 file desc 7 21K 29K 78643K 700 0 0 sigio 0 0K 0K 78643K 3 0 0 proc 41 38K 58K 78643K 585 0 0 subproc 68 69634K 69634K 78643K 544 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 0K 78643K 68 0 0 in_multi 33 2K 2K 78643K 200 0 0 ether_multi 1 0K 0K 78643K 3 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 54 238K 238K 78643K 54 0 0 exec 0 0K 1K 78643K 252 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 82 20K 30K 78643K 2738 0 0 UVM aobj 29 2K 2K 78643K 33 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 0K 78643K 34 0 0 NDP 5 0K 0K 78643K 51 0 0 temp 86 2365K 2445K 78643K 5248 0 0 kqueue 0 0K 0K 78643K 7 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 18 0 14 1 0 1 1 0 8 0 inpcbpl 280 316 0 309 1 0 1 1 0 8 0 plimitpl 152 68 0 59 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtentry 112 167 0 127 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 11 0 11 1 1 0 1 0 8 0 tcpcb 544 105 0 101 1 0 1 1 0 8 0 nd6 48 32 0 28 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 776 0 588 12 0 12 12 0 8 0 art_table 32 777 0 588 2 0 2 2 0 8 0 art_node 16 166 0 132 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 0 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 51 0 41 1 0 1 1 0 8 0 shmpl 112 31 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2206 0 785 46 0 46 46 0 8 0 ffsino 272 2206 0 785 95 0 95 95 0 8 0 nchpl 144 3273 0 1658 61 0 61 61 0 8 0 uvmvnodes 72 2487 0 0 46 0 46 46 0 8 0 vnodes 200 2487 0 0 131 0 131 131 0 8 0 namei 1024 9551 0 9551 2 1 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scxspl 192 9529 0 9529 15 11 4 6 0 8 4 sigapl 432 828 0 813 2 0 2 2 0 8 0 futexpl 56 5293 0 5293 1 0 1 1 0 8 1 knotepl 112 449 0 430 1 0 1 1 0 8 0 kqueuepl 104 127 0 125 1 0 1 1 0 8 0 pipepl 112 498 0 479 2 1 1 1 0 8 0 fdescpl 488 829 0 813 3 0 3 3 0 8 0 filepl 152 4611 0 4513 6 1 5 5 0 8 1 lockfpl 104 125 0 125 2 1 1 1 0 8 1 lockfspl 32 237 0 237 2 1 1 1 0 8 1 sessionpl 112 31 0 21 1 0 1 1 0 8 0 pgrppl 48 40 0 30 1 0 1 1 0 8 0 ucredpl 96 1081 0 1072 1 0 1 1 0 8 0 zombiepl 144 813 0 812 2 1 1 1 0 8 0 processpl 840 845 0 812 4 0 4 4 0 8 0 procpl 600 1883 0 1840 4 0 4 4 0 8 0 srpgc 64 82 0 82 3 2 1 1 0 8 1 sosppl 128 7 0 7 3 2 1 1 0 8 1 sockpl 384 845 0 826 3 0 3 3 0 8 1 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 123 0 0 15 0 15 15 0 8 1 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 250 0 0 14 0 14 14 0 8 0 bufpl 256 7086 0 1122 373 0 373 373 0 8 0 anonpl 16 89856 0 83773 54 17 37 44 0 125 9 amapchunkpl 152 4692 0 4605 12 7 5 11 0 158 0 amappl16 192 3478 0 3143 47 24 23 29 0 8 6 amappl15 184 157 0 151 1 0 1 1 0 8 0 amappl14 176 182 0 178 2 1 1 1 0 8 0 amappl13 168 52 0 49 1 0 1 1 0 8 0 amappl12 160 244 0 240 1 0 1 1 0 8 0 amappl11 152 100 0 89 1 0 1 1 0 8 0 amappl10 144 154 0 152 3 2 1 1 0 8 0 amappl9 136 615 0 611 1 0 1 1 0 8 0 amappl8 128 205 0 188 1 0 1 1 0 8 0 amappl7 120 139 0 130 1 0 1 1 0 8 0 amappl6 112 126 0 115 1 0 1 1 0 8 0 amappl5 104 357 0 344 1 0 1 1 0 8 0 amappl4 96 991 0 963 2 1 1 2 0 8 0 amappl3 88 252 0 247 1 0 1 1 0 8 0 amappl2 80 5883 0 5826 2 0 2 2 0 8 0 amappl1 72 27881 0 27438 23 13 10 19 0 8 0 amappl 72 2210 0 2175 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 32 0 4 1 0 1 1 0 8 0 uaddrrnd 24 829 0 813 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 829 0 813 1 0 1 1 0 8 0 vmmpekpl 168 10003 0 9981 2 0 2 2 0 8 0 vmmpepl 168 98631 0 97249 100 27 73 75 0 357 10 vmsppl 360 828 0 813 2 0 2 2 0 8 0 pdppl 4096 1666 0 1626 6 0 6 6 0 8 0 pvpl 32 273081 0 263751 132 25 107 117 0 265 25 pmappl 224 828 0 813 4 3 1 2 0 8 0 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 528 0 3 15 0 15 15 0 8 0