uvm_fault(0xffffffff8231ec78, 0xffff800000929002, 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(0xffffffff8231ec78, 0xffff800000929002, 0, 1) -> e rtable_satoplen(21,ffff800000928f59) at rtable_satoplen+0x150 sys/net/rtable.c:888 end trace frame: 0xffff800020c16f20, count: 0 ddb{1}> trace rtable_satoplen(21,ffff800000928f59) at rtable_satoplen+0x150 sys/net/rtable.c:888 rtable_lookup(0,ffff800000928f09,ffff800000928f59,ffff800000928f11,21) at rtable_lookup+0xfd sys/net/rtable.c:391 rtm_output(ffff800000928f00,ffff800020c17010,ffff800020c17018,21,0) at rtm_output+0x1a7 sys/net/rtsock.c:952 route_output(fffffd80794d2500,fffffd806f73a180,0,0) at route_output+0x79b sys/net/rtsock.c:806 route_usrreq(fffffd806f73a180,9,fffffd80794d2500,0,0,ffff800020b052c8) at route_usrreq+0x35d sys/net/rtsock.c:271 sosend(fffffd806f73a180,0,ffff800020c172d8,0,0,0) at sosend+0x6eb sys/kern/uipc_socket.c:513 sendit(ffff800020b052c8,3,ffff800020c17398,0,ffff800020c17460) at sendit+0x590 sys/kern/uipc_syscalls.c:662 sys_sendto(ffff800020b052c8,ffff800020c17478,ffff800020c17460) at sys_sendto+0x92 syscall(ffff800020c17510) at syscall+0x5b8 mi_syscall sys/sys/syscall_mi.h:99 [inline] syscall(ffff800020c17510) at syscall+0x5b8 sys/arch/amd64/amd64/trap.c:574 Xsyscall(6,0,ffffffffffffffd8,0,6,363faa37010) at Xsyscall+0x128 end of kernel end trace frame: 0x36681d82c40, count: -10 ddb{1}> show registers rdi 0 rsi 0xaa rbp 0xffff800020c16e80 rbx 0xffffffffffffff5a rdx 0xffff800000928f5d rcx 0xffff800000929003 rax 0xffff800000929003 r8 0x21 r9 0x1 r10 0x4 r11 0x2d8f7ecfb1999889 r12 0 r13 0xffff800000929003 r14 0xffffffff8218c6d0 mplsdomain r15 0x4 rip 0xffffffff812d2e50 rtable_satoplen+0x150 cs 0x8 rflags 0x10287 __ALIGN_SIZE+0xf287 rsp 0xffff800020c16e30 ss 0x10 rtable_satoplen+0x150: movzbl 0xffffffffffffffff(%r13),%r12d ddb{1}> show proc PROC (syz-executor.0) pid=72475 stat=onproc flags process=0 proc=4000000 pri=77, usrpri=77, nice=20 forw=0xffffffffffffffff, list=0xffff800020b05520,0xffffffff82387c10 process=0xffff800020b7c9f0 user=0xffff800020c12000, vmspace=0xfffffd807effd438 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 24239 425468 89959 0 7 0 syz-executor.0 *24239 72475 89959 0 7 0x4000000 syz-executor.0 20092 278372 96315 0 3 0x2 biowait syz-executor.1 89959 31024 96315 0 3 0x82 nanosleep syz-executor.0 96315 245483 23040 0 3 0x82 thrsleep syz-fuzzer 96315 284498 23040 0 3 0x4000082 nanosleep syz-fuzzer 96315 190054 23040 0 3 0x4000082 thrsleep syz-fuzzer 96315 418556 23040 0 3 0x4000082 thrsleep syz-fuzzer 96315 251425 23040 0 3 0x4000082 thrsleep syz-fuzzer 96315 70490 23040 0 3 0x4000082 thrsleep syz-fuzzer 96315 409553 23040 0 3 0x4000082 thrsleep syz-fuzzer 96315 493671 23040 0 3 0x4000082 thrsleep syz-fuzzer 96315 393570 23040 0 3 0x4000082 kqread syz-fuzzer 96315 253610 23040 0 3 0x4000082 thrsleep syz-fuzzer 23040 394317 25018 0 3 0x10008a pause ksh 25018 360342 95772 0 3 0x92 select sshd 29297 368668 1 0 3 0x100083 ttyin getty 95772 142619 1 0 3 0x80 select sshd 7769 499657 63639 74 3 0x100092 bpf pflogd 63639 483320 1 0 3 0x80 netio pflogd 73807 369947 17072 73 2 0x100090 syslogd 17072 324990 1 0 3 0x100082 netio syslogd 96424 18169 0 0 3 0x14200 pgzero zerothread 57007 21267 0 0 3 0x14200 aiodoned aiodoned 39916 458439 0 0 3 0x14200 syncer update 95117 83504 0 0 3 0x14200 cleaner cleaner 8566 61107 0 0 3 0x14200 reaper reaper 47625 288983 0 0 3 0x14200 pgdaemon pagedaemon 99026 277519 0 0 3 0x14200 bored crynlk 29962 103027 0 0 3 0x14200 bored crypto 32440 252684 0 0 3 0x40014200 acpi0 acpi0 994 512484 0 0 3 0x40014200 idle1 74285 408315 0 0 3 0x14200 bored softnet 99652 436848 0 0 3 0x14200 bored systqmp 35248 138347 0 0 3 0x14200 bored systq 1810 140837 0 0 3 0x40014200 bored softclock 42288 8792 0 0 3 0x40014200 idle0 7915 448381 0 0 3 0x14200 bored smr 1 502450 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 24239 (syz-executor.0) thread 0xffff800020b052c8 (72475) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff823ef400) locked @ /syzkaller/managers/multicore/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 20092 (syz-executor.1) thread 0xffff800020b679d8 (278372) exclusive rrwlock inode r = 0 (0xfffffd8068b97b48) locked @ /syzkaller/managers/multicore/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 (0xfffffd8068b97a38) locked @ /syzkaller/managers/multicore/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 9482 6333K 6411K 78643K 10657 0 0 pcb 22 9K 11K 78643K 156 0 0 rtable 101 4K 4K 78643K 266 0 0 ifaddr 50 12K 12K 78643K 96 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1476 0 0 iov 0 0K 24K 78643K 45 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1202 75K 76K 78643K 1329 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 5 0 0 VM map 2 1K 1K 78643K 2 0 0 sem 12 1K 1K 78643K 37 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12628 0 0 file desc 5 13K 25K 78643K 211 0 0 sigio 0 0K 0K 78643K 6 0 0 proc 54 51K 71K 78643K 396 0 0 subproc 64 65538K 67586K 78643K 176 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 39 0 0 in_multi 33 2K 2K 78643K 80 0 0 ether_multi 1 0K 0K 78643K 6 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 233 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 80 20K 29K 78643K 1549 0 0 UVM aobj 8 2K 2K 78643K 8 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 10 0 0 NDP 11 0K 0K 78643K 29 0 0 temp 119 2367K 2435K 78643K 3914 0 0 kqueue 0 0K 0K 78643K 3 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 7 0 3 1 0 1 1 0 8 0 inpcbpl 280 148 0 144 1 0 1 1 0 8 0 plimitpl 152 23 0 16 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtentry 112 70 0 30 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 17 0 17 1 1 0 1 0 8 0 tcpcb 544 46 0 42 1 0 1 1 0 8 0 nd6 48 10 0 6 1 0 1 1 0 8 0 ppxss 1128 5 0 5 2 1 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 20 0 6 1 0 1 1 0 8 0 pfstkey 112 20 0 6 1 0 1 1 0 8 0 pfstate 328 20 0 6 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 310 0 123 12 0 12 12 0 8 0 art_table 32 311 0 123 2 0 2 2 0 8 0 art_node 16 67 0 33 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 0 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 33 0 23 1 0 1 1 0 8 0 shmpl 112 6 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1729 0 302 47 0 47 47 0 8 0 ffsino 272 1729 0 302 96 0 96 96 0 8 0 nchpl 144 2231 0 592 61 0 61 61 0 8 0 uvmvnodes 72 1842 0 0 34 0 34 34 0 8 0 vnodes 200 1842 0 0 97 0 97 97 0 8 0 namei 1024 6149 0 6148 2 1 1 1 0 8 0 percpumem 16 30 0 0 1 0 1 1 0 8 0 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 6121 0 6120 8 6 2 6 0 8 1 sigapl 432 401 0 388 3 1 2 3 0 8 0 futexpl 56 2250 0 2250 1 0 1 1 0 8 1 knotepl 112 163 0 144 1 0 1 1 0 8 0 kqueuepl 104 65 0 63 1 0 1 1 0 8 0 pipepl 112 268 0 249 3 2 1 2 0 8 0 fdescpl 488 402 0 388 3 0 3 3 0 8 0 filepl 152 2338 0 2248 6 1 5 6 0 8 1 lockfpl 104 45 0 45 2 1 1 1 0 8 1 lockfspl 32 49 0 49 2 1 1 1 0 8 1 sessionpl 112 21 0 12 1 0 1 1 0 8 0 pgrppl 48 23 0 14 1 0 1 1 0 8 0 ucredpl 96 311 0 303 1 0 1 1 0 8 0 zombiepl 144 388 0 388 2 1 1 1 0 8 1 processpl 840 417 0 388 4 0 4 4 0 8 0 procpl 600 827 0 788 4 0 4 4 0 8 1 srpgc 64 18 0 18 1 0 1 1 0 8 1 sockpl 384 271 0 258 4 1 3 4 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 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 6 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 122 0 0 15 0 15 15 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 142 0 0 8 0 8 8 0 8 0 bufpl 256 6238 0 1143 319 0 319 319 0 8 0 anonpl 16 50431 0 43206 53 5 48 51 0 125 12 amapchunkpl 152 2159 0 2078 10 1 9 9 0 158 5 amappl16 192 1512 0 1078 35 8 27 35 0 8 5 amappl15 184 98 0 94 1 0 1 1 0 8 0 amappl14 176 57 0 56 2 1 1 1 0 8 0 amappl13 168 31 0 27 1 0 1 1 0 8 0 amappl12 160 40 0 38 2 1 1 1 0 8 0 amappl11 152 69 0 60 1 0 1 1 0 8 0 amappl10 144 87 0 81 1 0 1 1 0 8 0 amappl9 136 687 0 682 1 0 1 1 0 8 0 amappl8 128 244 0 228 1 0 1 1 0 8 0 amappl7 120 52 0 46 1 0 1 1 0 8 0 amappl6 112 103 0 93 1 0 1 1 0 8 0 amappl5 104 143 0 132 1 0 1 1 0 8 0 amappl4 96 597 0 569 2 1 1 2 0 8 0 amappl3 88 147 0 140 1 0 1 1 0 8 0 amappl2 80 2249 0 2204 2 0 2 2 0 8 0 amappl1 72 18496 0 18079 25 15 10 20 0 8 0 amappl 72 1090 0 1059 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 7 0 0 1 0 1 1 0 8 0 uaddrrnd 24 402 0 388 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 402 0 388 1 0 1 1 0 8 0 vmmpekpl 168 7258 0 7235 2 0 2 2 0 8 0 vmmpepl 168 50884 0 49512 88 13 75 77 0 357 10 vmsppl 360 401 0 388 2 0 2 2 0 8 0 pdppl 4096 812 0 776 6 0 6 6 0 8 0 pvpl 32 171545 0 161185 138 9 129 131 0 265 32 pmappl 224 401 0 388 2 1 1 2 0 8 0 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 471 0 4 14 0 14 14 0 8 0