uvm_fault(0xffffffff8233ebd8, 0xffff800004b68002, 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(0xffffffff8233ebd8, 0xffff800004b68002, 0, 1) -> e rtable_satoplen(21,ffff800004b67f59) at rtable_satoplen+0x150 sys/net/rtable.c:888 end trace frame: 0xffff800020bfee00, count: 0 ddb{1}> trace rtable_satoplen(21,ffff800004b67f59) at rtable_satoplen+0x150 sys/net/rtable.c:888 rtable_lookup(0,ffff800004b67f09,ffff800004b67f59,ffff800004b67f11,21) at rtable_lookup+0xfd sys/net/rtable.c:391 rtm_output(ffff800004b67f00,ffff800020bfeef0,ffff800020bfeef8,21,0) at rtm_output+0x10c sys/net/rtsock.c:1122 route_output(fffffd806f204100,fffffd806ead3d88,0,0) at route_output+0x79b sys/net/rtsock.c:806 route_usrreq(fffffd806ead3d88,9,fffffd806f204100,0,0,ffff800020b38978) at route_usrreq+0x35d sys/net/rtsock.c:271 sosend(fffffd806ead3d88,0,ffff800020bff1b8,0,0,0) at sosend+0x6eb sys/kern/uipc_socket.c:513 sendit(ffff800020b38978,3,ffff800020bff278,0,ffff800020bff340) at sendit+0x590 sys/kern/uipc_syscalls.c:662 sys_sendto(ffff800020b38978,ffff800020bff358,ffff800020bff340) at sys_sendto+0x92 syscall(ffff800020bff3f0) at syscall+0x5b8 mi_syscall sys/sys/syscall_mi.h:99 [inline] syscall(ffff800020bff3f0) at syscall+0x5b8 sys/arch/amd64/amd64/trap.c:574 Xsyscall(6,0,ffffffffffffffd8,0,6,a0552686010) at Xsyscall+0x128 end of kernel end trace frame: 0xa07da924590, count: -10 ddb{1}> show registers rdi 0 rsi 0xaa rbp 0xffff800020bfed60 rbx 0xffffffffffffff5a rdx 0xffff800004b67f5d rcx 0xffff800004b68003 rax 0xffff800004b68003 r8 0x21 r9 0x1 r10 0x4 r11 0x182f85298bb89df0 r12 0 r13 0xffff800004b68003 r14 0xffffffff821ef8d0 mplsdomain r15 0x4 rip 0xffffffff81195130 rtable_satoplen+0x150 cs 0x8 rflags 0x10287 __ALIGN_SIZE+0xf287 rsp 0xffff800020bfed10 ss 0x10 rtable_satoplen+0x150: movzbl 0xffffffffffffffff(%r13),%r12d ddb{1}> show proc PROC (syz-executor.0) pid=305942 stat=onproc flags process=10 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020b39080,0xffffffff8236bad0 process=0xffff800020b3ad30 user=0xffff800020bfa000, vmspace=0xfffffd807effe708 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 23516 442983 2078 32767 7 0x10 syz-executor.0 *23516 305942 2078 32767 7 0x4000010 syz-executor.0 2078 360344 71073 32767 3 0x90 nanosleep syz-executor.0 71073 107752 32957 0 3 0x82 wait syz-executor.0 8821 246115 7294 32767 3 0x10 biowait syz-executor.1 7294 214472 32957 0 3 0x82 wait syz-executor.1 49411 65761 0 0 3 0x14200 bored sosplice 32957 453149 22608 0 3 0x82 kqread syz-fuzzer 32957 414871 22608 0 3 0x4000082 nanosleep syz-fuzzer 32957 160406 22608 0 3 0x4000082 thrsleep syz-fuzzer 32957 408942 22608 0 3 0x4000082 thrsleep syz-fuzzer 32957 430916 22608 0 3 0x4000082 thrsleep syz-fuzzer 32957 127745 22608 0 3 0x4000082 nanosleep syz-fuzzer 32957 107756 22608 0 3 0x4000082 thrsleep syz-fuzzer 32957 479394 22608 0 3 0x4000082 thrsleep syz-fuzzer 32957 472914 22608 0 3 0x4000082 thrsleep syz-fuzzer 32957 136423 22608 0 3 0x4000082 thrsleep syz-fuzzer 22608 118356 71370 0 3 0x10008a pause ksh 71370 130991 6717 0 3 0x92 select sshd 24154 35402 1 0 3 0x100083 ttyin getty 6717 381125 1 0 3 0x80 select sshd 78184 227835 1827 73 2 0x100090 syslogd 1827 77393 1 0 3 0x100082 netio syslogd 320 16002 1 77 3 0x100090 poll dhclient 77081 261244 1 0 3 0x80 poll dhclient 75868 156825 0 0 3 0x14200 pgzero zerothread 37065 72550 0 0 3 0x14200 aiodoned aiodoned 28441 483425 0 0 3 0x14200 syncer update 81750 303061 0 0 3 0x14200 cleaner cleaner 56346 219107 0 0 3 0x14200 reaper reaper 97118 195939 0 0 3 0x14200 pgdaemon pagedaemon 25729 99566 0 0 3 0x14200 bored crynlk 9807 10676 0 0 3 0x14200 bored crypto 78312 417031 0 0 3 0x40014200 acpi0 acpi0 32809 322051 0 0 3 0x40014200 idle1 87782 378409 0 0 3 0x14200 bored softnet 29567 110638 0 0 3 0x14200 bored systqmp 62342 258030 0 0 3 0x14200 bored systq 6756 129743 0 0 3 0x40014200 bored softclock 91002 478502 0 0 3 0x40014200 idle0 50863 128151 0 0 3 0x14200 bored smr 1 232308 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 23516 (syz-executor.0) thread 0xffff800020b38978 (305942) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff8237ada0) 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 Process 8821 (syz-executor.1) thread 0xffff800020b39530 (246115) exclusive rrwlock inode r = 0 (0xfffffd807b630a28) locked @ /syzkaller/managers/setuid/kernel/sys/ufs/ufs/ufs_ihash.c:140 #0 witness_lock+0x594 sys/kern/subr_witness.c:1201 #1 _rw_enter+0x45d sys/kern/kern_rwlock.c:280 #2 _rrw_enter+0x60 sys/kern/kern_rwlock.c:410 #3 ufs_ihashins+0x6d sys/ufs/ufs/ufs_ihash.c:140 #4 ffs_vget+0x143 sys/ufs/ffs/ffs_vfsops.c:1352 #5 ffs_inode_alloc+0x1cf sys/ufs/ffs/ffs_alloc.c:392 #6 ufs_mkdir+0x10f sys/ufs/ufs/ufs_vnops.c:1164 #7 VOP_MKDIR+0x76 sys/kern/vfs_vops.c:449 #8 domkdirat+0x12d sys/kern/vfs_syscalls.c:2881 #9 syscall+0x5b8 mi_syscall sys/sys/syscall_mi.h:99 [inline] #9 syscall+0x5b8 sys/arch/amd64/amd64/trap.c:574 #10 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd807f5490a8) locked @ /syzkaller/managers/setuid/kernel/sys/ufs/ufs/ufs_vnops.c:1547 #0 witness_lock+0x594 sys/kern/subr_witness.c:1201 #1 _rw_enter+0x45d sys/kern/kern_rwlock.c:280 #2 _rrw_enter+0x60 sys/kern/kern_rwlock.c:410 #3 VOP_LOCK+0x57 sys/kern/vfs_vops.c:602 #4 vn_lock+0x6e sys/kern/vfs_vnops.c:549 #5 vfs_lookup+0xf5 sys/kern/vfs_lookup.c:387 #6 namei+0x4b2 sys/kern/vfs_lookup.c:224 #7 domkdirat+0x81 sys/kern/vfs_syscalls.c:2866 #8 syscall+0x5b8 mi_syscall sys/sys/syscall_mi.h:99 [inline] #8 syscall+0x5b8 sys/arch/amd64/amd64/trap.c:574 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9460 6321K 6321K 78643K 10657 0 0 pcb 24 9K 10K 78643K 443 0 0 rtable 98 3K 3K 78643K 884 0 0 ifaddr 34 10K 10K 78643K 168 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 2K 78643K 41 0 0 iov 0 0K 24K 78643K 116 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1201 75K 75K 78643K 1740 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 15 0 0 VM map 2 1K 1K 78643K 2 0 0 sem 11 1K 1K 78643K 15 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12628 0 0 file desc 7 21K 29K 78643K 832 0 0 sigio 0 0K 0K 78643K 4 0 0 proc 41 38K 58K 78643K 795 0 0 subproc 68 69634K 69634K 78643K 816 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 101 0 0 in_multi 33 2K 2K 78643K 298 0 0 ether_multi 1 0K 0K 78643K 5 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 318 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 88 21K 31K 78643K 3467 0 0 UVM aobj 56 2K 2K 78643K 65 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 61 0 0 NDP 7 0K 0K 78643K 75 0 0 temp 121 2378K 2444K 78643K 6134 0 0 kqueue 0 0K 0K 78643K 13 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 26 0 22 1 0 1 1 0 8 0 inpcbpl 280 410 0 403 1 0 1 1 0 8 0 plimitpl 152 102 0 93 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtentry 112 239 0 199 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 18 0 18 1 1 0 1 0 8 0 tcpcb 544 153 0 149 1 0 1 1 0 8 0 nd6 48 48 0 44 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1092 0 905 12 0 12 12 0 8 0 art_table 32 1093 0 905 2 0 2 2 0 8 0 art_node 16 238 0 204 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 6 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 9 0 0 1 0 1 1 0 8 0 shmpl 112 63 0 9 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2390 0 948 47 0 47 47 0 8 0 ffsino 272 2390 0 948 97 0 97 97 0 8 0 nchpl 144 3729 0 2108 63 2 61 61 0 8 0 uvmvnodes 72 2807 0 0 52 0 52 52 0 8 0 vnodes 200 2807 0 0 148 0 148 148 0 8 0 namei 1024 12030 0 12029 3 2 1 1 0 8 0 percpumem 16 30 0 0 1 0 1 1 0 8 0 scxspl 192 10146 0 10145 15 14 1 6 0 8 0 sigapl 432 936 0 921 2 0 2 2 0 8 0 futexpl 56 7613 0 7613 2 1 1 1 0 8 1 knotepl 112 678 0 659 1 0 1 1 0 8 0 kqueuepl 104 201 0 199 1 0 1 1 0 8 0 pipepl 112 818 0 797 4 3 1 2 0 8 0 fdescpl 488 937 0 921 3 0 3 3 0 8 1 filepl 152 6180 0 6081 7 2 5 6 0 8 1 lockfpl 104 205 0 205 3 2 1 1 0 8 1 lockfspl 32 491 0 491 3 2 1 1 0 8 1 sessionpl 112 39 0 29 1 0 1 1 0 8 0 pgrppl 48 50 0 40 1 0 1 1 0 8 0 ucredpl 96 1660 0 1651 1 0 1 1 0 8 0 zombiepl 144 921 0 921 2 1 1 1 0 8 1 processpl 840 953 0 921 4 0 4 4 0 8 0 procpl 600 2433 0 2391 4 0 4 4 0 8 0 srpgc 64 132 0 132 5 4 1 1 0 8 1 sosppl 128 1 0 1 1 1 0 1 0 8 0 sockpl 384 860 0 842 4 1 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 6 0 0 1 0 1 1 0 8 0 mcl9k 9216 5 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 123 0 0 14 0 14 14 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 212 0 0 10 0 10 10 0 8 0 bufpl 256 7132 0 1122 376 0 376 376 0 8 0 anonpl 16 119775 0 113914 68 28 40 40 0 125 9 amapchunkpl 152 6900 0 6808 25 20 5 12 0 158 0 amappl16 192 4416 0 4085 57 32 25 29 0 8 8 amappl15 184 238 0 233 1 0 1 1 0 8 0 amappl14 176 163 0 156 2 1 1 1 0 8 0 amappl13 168 101 0 98 1 0 1 1 0 8 0 amappl12 160 56 0 53 1 0 1 1 0 8 0 amappl11 152 85 0 74 1 0 1 1 0 8 0 amappl10 144 234 0 230 2 1 1 1 0 8 0 amappl9 136 686 0 683 1 0 1 1 0 8 0 amappl8 128 326 0 299 2 0 2 2 0 8 0 amappl7 120 137 0 130 1 0 1 1 0 8 0 amappl6 112 104 0 97 1 0 1 1 0 8 0 amappl5 104 177 0 166 1 0 1 1 0 8 0 amappl4 96 1157 0 1126 2 1 1 2 0 8 0 amappl3 88 227 0 222 1 0 1 1 0 8 0 amappl2 80 6568 0 6513 2 0 2 2 0 8 0 amappl1 72 31326 0 30886 23 13 10 19 0 8 0 amappl 72 2843 0 2804 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 64 0 9 1 0 1 1 0 8 0 uaddrrnd 24 937 0 921 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 937 0 921 1 0 1 1 0 8 0 vmmpekpl 168 11652 0 11629 2 0 2 2 0 8 0 vmmpepl 168 113214 0 111830 116 40 76 76 0 357 14 vmsppl 360 936 0 921 2 0 2 2 0 8 0 pdppl 4096 1882 0 1842 6 0 6 6 0 8 1 pvpl 32 343821 0 334712 165 55 110 113 0 265 27 pmappl 224 936 0 921 5 4 1 2 0 8 0 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 529 0 4 15 0 15 15 0 8 0