uvm_fault(0xffffffff822f43c8, 0xffff800004d90002, 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(0xffffffff822f43c8, 0xffff800004d90002, 0, 1) -> e rtable_satoplen(21,ffff800004d8ff59) at rtable_satoplen+0x150 sys/net/rtable.c:888 end trace frame: 0xffff800020c1d2d0, count: 0 ddb{1}> trace rtable_satoplen(21,ffff800004d8ff59) at rtable_satoplen+0x150 sys/net/rtable.c:888 rtable_lookup(0,ffff800004d8ff09,ffff800004d8ff59,ffff800004d8ff11,21) at rtable_lookup+0xfd sys/net/rtable.c:391 rtm_output(ffff800004d8ff00,ffff800020c1d3c0,ffff800020c1d3c8,21,0) at rtm_output+0x10c sys/net/rtsock.c:1122 route_output(fffffd806f33ad00,fffffd806f70b900,0,0) at route_output+0x79b sys/net/rtsock.c:806 route_usrreq(fffffd806f70b900,9,fffffd806f33ad00,0,0,ffff800020b39080) at route_usrreq+0x35d sys/net/rtsock.c:271 sosend(fffffd806f70b900,0,ffff800020c1d688,0,0,0) at sosend+0x6eb sys/kern/uipc_socket.c:513 sendit(ffff800020b39080,3,ffff800020c1d748,0,ffff800020c1d810) at sendit+0x590 sys/kern/uipc_syscalls.c:662 sys_sendto(ffff800020b39080,ffff800020c1d828,ffff800020c1d810) at sys_sendto+0x92 syscall(ffff800020c1d8c0) at syscall+0x5b8 mi_syscall sys/sys/syscall_mi.h:99 [inline] syscall(ffff800020c1d8c0) at syscall+0x5b8 sys/arch/amd64/amd64/trap.c:574 Xsyscall(6,0,ffffffffffffffd8,0,6,96fcc22e010) at Xsyscall+0x128 end of kernel end trace frame: 0x972a4a29140, count: -10 ddb{1}> show registers rdi 0 rsi 0xaa rbp 0xffff800020c1d230 rbx 0xffffffffffffff5a rdx 0xffff800004d8ff5d rcx 0xffff800004d90003 rax 0xffff800004d90003 r8 0x21 r9 0x1 r10 0x4 r11 0x973e91b775e17c29 r12 0 r13 0xffff800004d90003 r14 0xffffffff821c2010 mplsdomain r15 0x4 rip 0xffffffff814b31e0 rtable_satoplen+0x150 cs 0x8 rflags 0x10287 __ALIGN_SIZE+0xf287 rsp 0xffff800020c1d1e0 ss 0x10 rtable_satoplen+0x150: movzbl 0xffffffffffffffff(%r13),%r12d ddb{1}> show proc PROC (syz-executor.0) pid=391843 stat=onproc flags process=10 proc=4000000 pri=57, usrpri=57, nice=20 forw=0xffffffffffffffff, list=0xffff800020b38978,0xffffffff8235ec20 process=0xffff800020b8c360 user=0xffff800020c18000, vmspace=0xfffffd806e92d2d8 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 76695 25784 77463 32767 7 0x10 syz-executor.0 *76695 391843 77463 32767 7 0x4000010 syz-executor.0 77463 279882 61601 32767 3 0x90 nanosleep syz-executor.0 61601 498723 11080 0 3 0x82 wait syz-executor.0 11748 174357 36042 32767 3 0x90 piperd syz-executor.1 36042 459134 11080 0 3 0x82 wait syz-executor.1 37377 481965 0 0 3 0x14200 bored sosplice 11080 27911 38334 0 3 0x82 kqread syz-fuzzer 11080 150793 38334 0 3 0x4000082 thrsleep syz-fuzzer 11080 498820 38334 0 3 0x4000082 thrsleep syz-fuzzer 11080 524102 38334 0 3 0x4000082 thrsleep syz-fuzzer 11080 386252 38334 0 3 0x4000082 thrsleep syz-fuzzer 11080 149087 38334 0 3 0x4000082 thrsleep syz-fuzzer 11080 515883 38334 0 3 0x4000082 thrsleep syz-fuzzer 11080 109826 38334 0 3 0x4000082 thrsleep syz-fuzzer 11080 17423 38334 0 3 0x4000082 thrsleep syz-fuzzer 11080 88848 38334 0 3 0x4000082 thrsleep syz-fuzzer 38334 93936 60958 0 3 0x10008a pause ksh 60958 78055 97773 0 3 0x92 select sshd 37132 32432 1 0 3 0x100083 ttyin getty 97773 342596 1 0 3 0x80 select sshd 53612 65510 16609 73 2 0x100090 syslogd 16609 414893 1 0 3 0x100082 netio syslogd 65370 56513 1 77 3 0x100090 poll dhclient 14142 319781 1 0 3 0x80 poll dhclient 65466 472012 0 0 3 0x14200 pgzero zerothread 76564 468600 0 0 3 0x14200 aiodoned aiodoned 46313 388900 0 0 3 0x14200 syncer update 34655 288379 0 0 3 0x14200 cleaner cleaner 52721 506267 0 0 3 0x14200 reaper reaper 56553 116445 0 0 3 0x14200 pgdaemon pagedaemon 6364 339921 0 0 3 0x14200 bored crynlk 66361 221166 0 0 3 0x14200 bored crypto 62236 155407 0 0 3 0x40014200 acpi0 acpi0 99865 371135 0 0 3 0x40014200 idle1 66913 126141 0 0 3 0x14200 bored softnet 81046 229634 0 0 3 0x14200 bored systqmp 57206 5694 0 0 3 0x14200 bored systq 50786 263499 0 0 3 0x40014200 bored softclock 84058 516217 0 0 3 0x40014200 idle0 76234 145062 0 0 3 0x14200 bored smr 1 429953 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 76695 (syz-executor.0) thread 0xffff800020b39080 (391843) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff82397440) 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 9460 6321K 6321K 78643K 10767 0 0 pcb 24 9K 11K 78643K 714 0 0 rtable 98 3K 3K 78643K 1600 0 0 ifaddr 35 10K 10K 78643K 303 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 2K 78643K 64 0 0 iov 0 0K 20K 78643K 161 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1201 75K 75K 78643K 2288 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 25 0 0 VM map 2 1K 1K 78643K 2 0 0 sem 12 0K 1K 78643K 889 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12628 0 0 file desc 7 21K 29K 78643K 2681 0 0 sigio 0 0K 0K 78643K 13 0 0 proc 41 38K 58K 78643K 1290 0 0 subproc 68 69634K 69634K 78643K 1564 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 172 0 0 in_multi 33 2K 2K 78643K 569 0 0 ether_multi 1 0K 0K 78643K 13 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 60 265K 265K 78643K 60 0 0 exec 0 0K 1K 78643K 450 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 89 21K 30K 78643K 8805 0 0 UVM aobj 68 4K 4K 78643K 74 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 320 0 0 NDP 7 0K 0K 78643K 141 0 0 temp 121 2378K 2450K 78643K 11520 0 0 kqueue 0 0K 0K 78643K 22 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 48 0 44 1 0 1 1 0 8 0 inpcbpl 280 1437 0 1430 1 0 1 1 0 8 0 plimitpl 152 180 0 171 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtentry 112 437 0 397 2 0 2 2 0 8 0 syncache 264 4 0 4 2 2 0 1 0 8 0 tcpcb 544 291 0 287 1 0 1 1 0 8 0 nd6 48 92 0 88 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 2098 0 1909 12 0 12 12 0 8 0 art_table 32 2099 0 1909 2 0 2 2 0 8 0 art_node 16 436 0 402 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 1 1 0 1 1 0 8 0 semapl 112 887 0 877 1 0 1 1 0 8 0 shmpl 112 72 0 6 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 4332 0 2873 49 1 48 48 0 8 0 ffsino 272 4332 0 2873 99 1 98 98 0 8 0 nchpl 144 7634 0 5999 61 0 61 61 0 8 0 uvmvnodes 72 5123 0 0 94 0 94 94 0 8 0 vnodes 200 5123 0 0 270 0 270 270 0 8 0 namei 1024 23596 0 23596 2 1 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scxspl 192 22628 0 22628 15 14 1 6 0 8 1 sigapl 432 2719 0 2704 2 0 2 2 0 8 0 futexpl 56 23433 0 23433 1 0 1 1 0 8 1 knotepl 112 1438 0 1419 1 0 1 1 0 8 0 kqueuepl 104 719 0 717 1 0 1 1 0 8 0 pipepl 112 1258 0 1239 10 9 1 2 0 8 0 fdescpl 488 2720 0 2704 3 0 3 3 0 8 1 filepl 152 12831 0 12734 11 6 5 7 0 8 1 lockfpl 104 373 0 373 4 3 1 1 0 8 1 lockfspl 32 748 0 748 4 3 1 1 0 8 1 sessionpl 112 61 0 51 1 0 1 1 0 8 0 pgrppl 48 81 0 71 1 0 1 1 0 8 0 ucredpl 96 3199 0 3190 1 0 1 1 0 8 0 zombiepl 144 2704 0 2704 3 2 1 1 0 8 1 processpl 840 2736 0 2704 4 0 4 4 0 8 0 procpl 600 7342 0 7300 4 0 4 4 0 8 0 srpgc 64 262 0 262 9 8 1 1 0 8 1 sosppl 128 353 0 353 7 7 0 1 0 8 0 sockpl 384 2157 0 2139 7 4 3 4 0 8 1 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl16k 16384 5 0 0 1 0 1 1 0 8 0 mcl12k 12288 7 0 0 1 0 1 1 0 8 0 mcl9k 9216 18 0 0 2 0 2 2 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 8 0 0 1 0 1 1 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 140 0 0 15 1 14 15 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 259 0 0 10 0 10 10 0 8 0 bufpl 256 9918 0 2899 439 0 439 439 0 8 0 anonpl 16 273261 0 267710 89 59 30 44 0 125 0 amapchunkpl 152 17294 0 17205 23 18 5 9 0 158 0 amappl16 192 9625 0 9287 66 48 18 29 0 8 0 amappl15 184 556 0 551 1 0 1 1 0 8 0 amappl14 176 1372 0 1369 3 2 1 1 0 8 0 amappl13 168 194 0 191 1 0 1 1 0 8 0 amappl12 160 1207 0 1203 2 1 1 1 0 8 0 amappl11 152 591 0 577 1 0 1 1 0 8 0 amappl10 144 145 0 143 3 2 1 1 0 8 0 amappl9 136 948 0 945 1 0 1 1 0 8 0 amappl8 128 548 0 525 1 0 1 1 0 8 0 amappl7 120 147 0 140 1 0 1 1 0 8 0 amappl6 112 570 0 561 1 0 1 1 0 8 0 amappl5 104 272 0 262 1 0 1 1 0 8 0 amappl4 96 1817 0 1789 2 1 1 2 0 8 0 amappl3 88 3515 0 3506 1 0 1 1 0 8 0 amappl2 80 21469 0 21412 2 0 2 2 0 8 0 amappl1 72 76302 0 75858 24 14 10 19 0 8 0 amappl 72 7922 0 7884 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 73 0 6 2 0 2 2 0 8 0 uaddrrnd 24 2720 0 2704 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2720 0 2704 1 0 1 1 0 8 0 vmmpekpl 168 22744 0 22721 2 0 2 2 0 8 0 vmmpepl 168 312434 0 311047 129 59 70 83 0 357 8 vmsppl 360 2719 0 2704 2 0 2 2 0 8 0 pdppl 4096 5448 0 5408 6 0 6 6 0 8 1 pvpl 32 737787 0 728973 207 119 88 118 0 265 1 pmappl 224 2719 0 2704 3 2 1 2 0 8 0 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 594 0 5 17 0 17 17 0 8 0