uvm_fault(0xffffffff82239408, 0xffff800004b66002, 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(0xffffffff82239408, 0xffff800004b66002, 0, 1) -> e rtable_satoplen(21,ffff800004b65f59) at rtable_satoplen+0x150 sys/net/rtable.c:888 end trace frame: 0xffff800020be30a0, count: 0 ddb{1}> trace rtable_satoplen(21,ffff800004b65f59) at rtable_satoplen+0x150 sys/net/rtable.c:888 rtable_lookup(0,ffff800004b65f09,ffff800004b65f59,ffff800004b65f11,21) at rtable_lookup+0xfd sys/net/rtable.c:391 rtm_output(ffff800004b65f00,ffff800020be3190,ffff800020be3198,21,0) at rtm_output+0x10c sys/net/rtsock.c:1122 route_output(fffffd806df23800,fffffd806f6c5c00,0,0) at route_output+0x79b sys/net/rtsock.c:806 route_usrreq(fffffd806f6c5c00,9,fffffd806df23800,0,0,ffff800020b752d8) at route_usrreq+0x35d sys/net/rtsock.c:271 sosend(fffffd806f6c5c00,0,ffff800020be3458,0,0,0) at sosend+0x6eb sys/kern/uipc_socket.c:513 sendit(ffff800020b752d8,3,ffff800020be3518,0,ffff800020be35e0) at sendit+0x590 sys/kern/uipc_syscalls.c:662 sys_sendto(ffff800020b752d8,ffff800020be35f8,ffff800020be35e0) at sys_sendto+0x92 syscall(ffff800020be3690) at syscall+0x5b8 mi_syscall sys/sys/syscall_mi.h:99 [inline] syscall(ffff800020be3690) at syscall+0x5b8 sys/arch/amd64/amd64/trap.c:574 Xsyscall(6,0,ffffffffffffffd8,0,6,3599e87e010) at Xsyscall+0x128 end of kernel end trace frame: 0x35be6935620, count: -10 ddb{1}> show registers rdi 0 rsi 0xaa rbp 0xffff800020be3000 rbx 0xffffffffffffff5a rdx 0xffff800004b65f5d rcx 0xffff800004b66003 rax 0xffff800004b66003 r8 0x21 r9 0x1 r10 0x4 r11 0xfd2387a8638d1927 r12 0 r13 0xffff800004b66003 r14 0xffffffff821b2890 mplsdomain r15 0x4 rip 0xffffffff813351d0 rtable_satoplen+0x150 cs 0x8 rflags 0x10287 __ALIGN_SIZE+0xf287 rsp 0xffff800020be2fb0 ss 0x10 rtable_satoplen+0x150: movzbl 0xffffffffffffffff(%r13),%r12d ddb{1}> show proc PROC (syz-executor.1) pid=99633 stat=onproc flags process=10 proc=4000000 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020b74270,0xffffffff82370ee8 process=0xffff800020b3b078 user=0xffff800020bde000, vmspace=0xfffffd807f00b708 estcpu=32, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 37031 264477 14443 32767 7 0x10 syz-executor.1 *37031 99633 14443 32767 7 0x4000010 syz-executor.1 14443 410572 1835 32767 3 0x90 nanosleep syz-executor.1 1835 282674 60632 0 3 0x82 wait syz-executor.1 55287 167826 25547 32767 3 0x10 biowait syz-executor.0 25547 133085 60632 0 3 0x82 wait syz-executor.0 43586 415285 0 0 3 0x14200 bored sosplice 60632 400526 98536 0 3 0x82 thrsleep syz-fuzzer 60632 224905 98536 0 3 0x4000082 nanosleep syz-fuzzer 60632 378063 98536 0 3 0x4000082 thrsleep syz-fuzzer 60632 269885 98536 0 3 0x4000082 thrsleep syz-fuzzer 60632 82451 98536 0 3 0x4000082 kqread syz-fuzzer 60632 140912 98536 0 3 0x4000082 nanosleep syz-fuzzer 60632 471792 98536 0 3 0x4000082 thrsleep syz-fuzzer 60632 74436 98536 0 3 0x4000082 thrsleep syz-fuzzer 60632 427534 98536 0 3 0x4000082 thrsleep syz-fuzzer 60632 123980 98536 0 3 0x4000082 thrsleep syz-fuzzer 98536 159864 93391 0 3 0x10008a pause ksh 93391 268122 17340 0 3 0x92 select sshd 19765 517949 1 0 3 0x100083 ttyin getty 17340 32601 1 0 3 0x80 select sshd 16728 389777 22575 73 2 0x100090 syslogd 22575 395042 1 0 3 0x100082 netio syslogd 41542 55582 1 77 3 0x100090 poll dhclient 34666 520659 1 0 3 0x80 poll dhclient 89284 467634 0 0 3 0x14200 pgzero zerothread 44934 138575 0 0 3 0x14200 aiodoned aiodoned 33324 310230 0 0 3 0x14200 syncer update 77686 377 0 0 3 0x14200 cleaner cleaner 78151 291417 0 0 3 0x14200 reaper reaper 90453 362366 0 0 3 0x14200 pgdaemon pagedaemon 50586 409785 0 0 3 0x14200 bored crynlk 2751 519805 0 0 3 0x14200 bored crypto 86352 283422 0 0 3 0x40014200 acpi0 acpi0 26730 64837 0 0 3 0x40014200 idle1 59102 210926 0 0 3 0x14200 bored softnet 77273 304845 0 0 3 0x14200 bored systqmp 22565 10634 0 0 3 0x14200 bored systq 33852 449767 0 0 3 0x40014200 bored softclock 85405 438976 0 0 3 0x40014200 idle0 5439 508666 0 0 3 0x14200 bored smr 1 319260 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 37031 (syz-executor.1) thread 0xffff800020b752d8 (99633) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff82394290) 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 55287 (syz-executor.0) thread 0xffff800020b75c38 (167826) exclusive rrwlock inode r = 0 (0xfffffd806b26df88) 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 vget+0x1c3 sys/kern/vfs_subr.c:672 #6 ufs_ihashget+0x151 sys/ufs/ufs/ufs_ihash.c:119 #7 ffs_vget+0x84 sys/ufs/ffs/ffs_vfsops.c:1323 #8 ufs_lookup+0x15d3 sys/ufs/ufs/ufs_lookup.c:487 #9 VOP_LOOKUP+0x67 sys/kern/vfs_vops.c:90 #10 vfs_lookup+0x556 sys/kern/vfs_lookup.c:523 #11 namei+0x4b2 sys/kern/vfs_lookup.c:224 #12 dounlinkat+0xa5 sys/kern/vfs_syscalls.c:1673 #13 syscall+0x5b8 mi_syscall sys/sys/syscall_mi.h:99 [inline] #13 syscall+0x5b8 sys/arch/amd64/amd64/trap.c:574 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806b26dd68) 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 dounlinkat+0xa5 sys/kern/vfs_syscalls.c:1673 #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 9459 6321K 6321K 78643K 10666 0 0 pcb 24 9K 11K 78643K 498 0 0 rtable 98 3K 3K 78643K 942 0 0 ifaddr 35 10K 10K 78643K 182 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 2K 78643K 47 0 0 iov 0 0K 24K 78643K 75 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1200 75K 75K 78643K 1768 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 18 0 0 VM map 2 1K 1K 78643K 2 0 0 sem 12 0K 1K 78643K 114 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12628 0 0 file desc 7 21K 29K 78643K 864 0 0 sigio 0 0K 0K 78643K 6 0 0 proc 41 38K 66K 78643K 833 0 0 subproc 68 69634K 69634K 78643K 884 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 110 0 0 in_multi 33 2K 2K 78643K 315 0 0 ether_multi 1 0K 0K 78643K 7 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 340 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 29K 78643K 3495 0 0 UVM aobj 51 2K 2K 78643K 53 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 54 0 0 NDP 7 0K 0K 78643K 81 0 0 temp 121 2378K 2444K 78643K 6311 0 0 kqueue 0 0K 0K 78643K 2 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 28 0 24 1 0 1 1 0 8 0 inpcbpl 280 475 0 468 1 0 1 1 0 8 0 plimitpl 152 108 0 99 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtentry 112 257 0 217 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpcb 544 213 0 209 1 0 1 1 0 8 0 nd6 48 52 0 48 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1184 0 996 12 0 12 12 0 8 0 art_table 32 1185 0 996 2 0 2 2 0 8 0 art_node 16 256 0 222 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 8 3 2 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 108 0 98 1 0 1 1 0 8 0 shmpl 112 51 0 2 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2398 0 963 47 0 47 47 0 8 0 ffsino 272 2398 0 963 96 0 96 96 0 8 0 nchpl 144 3746 0 2125 61 0 61 61 0 8 0 uvmvnodes 72 2849 0 0 52 0 52 52 0 8 0 vnodes 200 2849 0 0 150 0 150 150 0 8 0 namei 1024 11888 0 11888 2 1 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scxspl 192 10766 0 10765 12 9 3 6 0 8 2 sigapl 432 962 0 947 2 0 2 2 0 8 0 futexpl 56 7724 0 7724 1 0 1 1 0 8 1 knotepl 112 705 0 686 1 0 1 1 0 8 0 kqueuepl 104 176 0 174 1 0 1 1 0 8 0 pipepl 112 806 0 787 2 1 1 1 0 8 0 fdescpl 488 963 0 947 3 0 3 3 0 8 0 filepl 152 6196 0 6099 6 1 5 5 0 8 1 lockfpl 104 244 0 244 2 1 1 1 0 8 1 lockfspl 32 553 0 553 2 1 1 1 0 8 1 sessionpl 112 41 0 31 1 0 1 1 0 8 0 pgrppl 48 59 0 49 1 0 1 1 0 8 0 ucredpl 96 1648 0 1639 1 0 1 1 0 8 0 zombiepl 144 947 0 947 2 1 1 1 0 8 1 processpl 840 979 0 947 4 0 4 4 0 8 0 procpl 600 2467 0 2425 4 0 4 4 0 8 0 srpgc 64 142 0 142 4 3 1 1 0 8 1 sosppl 128 17 0 17 5 4 1 1 0 8 1 sockpl 384 974 0 956 6 3 3 5 0 8 1 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 7 0 0 1 0 1 1 0 8 0 mcl9k 9216 7 0 0 1 0 1 1 0 8 0 mcl8k 8192 8 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 116 0 0 14 0 14 14 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 172 0 0 9 0 9 9 0 8 0 bufpl 256 7287 0 1122 386 0 386 386 0 8 0 anonpl 16 107199 0 101614 57 22 35 41 0 125 6 amapchunkpl 152 6225 0 6140 9 1 8 9 0 158 3 amappl16 192 3946 0 3611 40 21 19 29 0 8 2 amappl15 184 89 0 83 1 0 1 1 0 8 0 amappl14 176 188 0 184 2 1 1 1 0 8 0 amappl13 168 302 0 298 1 0 1 1 0 8 0 amappl12 160 71 0 70 1 0 1 1 0 8 0 amappl11 152 60 0 46 1 0 1 1 0 8 0 amappl10 144 362 0 359 3 2 1 1 0 8 0 amappl9 136 754 0 751 1 0 1 1 0 8 0 amappl8 128 355 0 333 1 0 1 1 0 8 0 amappl7 120 216 0 209 1 0 1 1 0 8 0 amappl6 112 91 0 85 1 0 1 1 0 8 0 amappl5 104 168 0 155 1 0 1 1 0 8 0 amappl4 96 1113 0 1082 2 1 1 2 0 8 0 amappl3 88 259 0 254 1 0 1 1 0 8 0 amappl2 80 6695 0 6637 2 0 2 2 0 8 0 amappl1 72 32046 0 31602 24 14 10 19 0 8 0 amappl 72 2851 0 2816 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 52 0 2 1 0 1 1 0 8 0 uaddrrnd 24 963 0 947 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 963 0 947 1 0 1 1 0 8 0 vmmpekpl 168 11758 0 11733 2 0 2 2 0 8 0 vmmpepl 168 115836 0 114455 104 30 74 75 0 357 13 vmsppl 360 962 0 947 2 0 2 2 0 8 0 pdppl 4096 1934 0 1894 6 0 6 6 0 8 0 pvpl 32 324877 0 316044 159 57 102 111 0 265 19 pmappl 224 962 0 947 5 3 2 2 0 8 1 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 536 0 3 16 0 16 16 0 8 0