uvm_fault(0xffffffff823439e0, 0xffff800001997002, 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(0xffffffff823439e0, 0xffff800001997002, 0, 1) -> e rtable_satoplen(21,ffff800001996f59) at rtable_satoplen+0x150 sys/net/rtable.c:888 end trace frame: 0xffff800020c4f610, count: 0 ddb{1}> trace rtable_satoplen(21,ffff800001996f59) at rtable_satoplen+0x150 sys/net/rtable.c:888 rtable_lookup(0,ffff800001996f09,ffff800001996f59,ffff800001996f11,21) at rtable_lookup+0xfd sys/net/rtable.c:391 rtm_output(ffff800001996f00,ffff800020c4f700,ffff800020c4f708,21,0) at rtm_output+0x1a7 sys/net/rtsock.c:952 route_output(fffffd806f328d00,fffffd806f73d480,0,0) at route_output+0x79b sys/net/rtsock.c:806 route_usrreq(fffffd806f73d480,9,fffffd806f328d00,0,0,ffff800020b38018) at route_usrreq+0x35d sys/net/rtsock.c:271 sosend(fffffd806f73d480,0,ffff800020c4f9c8,0,0,0) at sosend+0x6eb sys/kern/uipc_socket.c:513 sendit(ffff800020b38018,3,ffff800020c4fa88,0,ffff800020c4fb50) at sendit+0x590 sys/kern/uipc_syscalls.c:662 sys_sendto(ffff800020b38018,ffff800020c4fb68,ffff800020c4fb50) at sys_sendto+0x92 syscall(ffff800020c4fc00) at syscall+0x5b8 mi_syscall sys/sys/syscall_mi.h:99 [inline] syscall(ffff800020c4fc00) at syscall+0x5b8 sys/arch/amd64/amd64/trap.c:574 Xsyscall(6,0,ffffffffffffffd8,0,6,9ede5364010) at Xsyscall+0x128 end of kernel end trace frame: 0x9f057538e00, count: -10 ddb{1}> show registers rdi 0 rsi 0xaa rbp 0xffff800020c4f570 rbx 0xffffffffffffff5a rdx 0xffff800001996f5d rcx 0xffff800001997003 rax 0xffff800001997003 r8 0x21 r9 0x1 r10 0x4 r11 0x48876911a9f58f04 r12 0 r13 0xffff800001997003 r14 0xffffffff821e6778 mplsdomain r15 0x4 rip 0xffffffff812c02f0 rtable_satoplen+0x150 cs 0x8 rflags 0x10287 __ALIGN_SIZE+0xf287 rsp 0xffff800020c4f520 ss 0x10 rtable_satoplen+0x150: movzbl 0xffffffffffffffff(%r13),%r12d ddb{1}> show proc PROC (syz-executor.1) pid=226779 stat=onproc flags process=0 proc=4000000 pri=61, usrpri=61, nice=20 forw=0xffffffffffffffff, list=0xffff800020b38270,0xffffffff82383278 process=0xffff800020b8c360 user=0xffff800020c4a000, vmspace=0xfffffd807f00b438 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 55095 149473 7604 0 7 0 syz-executor.1 *55095 226779 7604 0 7 0x4000000 syz-executor.1 95671 482647 0 0 3 0x14200 bored sosplice 7604 235896 14470 0 3 0x82 nanosleep syz-executor.1 46839 227575 14470 0 3 0x2 biowait syz-executor.0 14470 134394 92045 0 3 0x82 thrsleep syz-fuzzer 14470 150389 92045 0 3 0x4000082 nanosleep syz-fuzzer 14470 518516 92045 0 3 0x4000082 thrsleep syz-fuzzer 14470 432804 92045 0 3 0x4000082 thrsleep syz-fuzzer 14470 133215 92045 0 3 0x4000082 kqread syz-fuzzer 14470 269216 92045 0 3 0x4000082 thrsleep syz-fuzzer 14470 337041 92045 0 3 0x4000082 thrsleep syz-fuzzer 14470 5226 92045 0 3 0x4000082 thrsleep syz-fuzzer 14470 481804 92045 0 3 0x4000082 thrsleep syz-fuzzer 14470 39312 92045 0 3 0x4000082 nanosleep syz-fuzzer 92045 233634 39244 0 3 0x10008a pause ksh 39244 491163 50783 0 3 0x92 select sshd 15369 504592 1 0 3 0x100083 ttyin getty 50783 306198 1 0 3 0x80 select sshd 44013 121762 22753 74 3 0x100092 bpf pflogd 22753 353539 1 0 3 0x80 netio pflogd 88792 148200 32641 73 2 0x100090 syslogd 32641 10821 1 0 3 0x100082 netio syslogd 37932 235749 1 77 3 0x100090 poll dhclient 81567 190271 1 0 3 0x80 poll dhclient 43150 471322 0 0 3 0x14200 pgzero zerothread 23825 169759 0 0 3 0x14200 aiodoned aiodoned 5377 253193 0 0 3 0x14200 syncer update 86069 276118 0 0 3 0x14200 cleaner cleaner 38819 344457 0 0 3 0x14200 reaper reaper 85076 91799 0 0 3 0x14200 pgdaemon pagedaemon 34759 514279 0 0 3 0x14200 bored crynlk 84268 32108 0 0 3 0x14200 bored crypto 77600 507465 0 0 3 0x40014200 acpi0 acpi0 62121 80809 0 0 3 0x40014200 idle1 71644 459753 0 0 3 0x14200 bored softnet 22834 297148 0 0 3 0x14200 bored systqmp 7258 370143 0 0 3 0x14200 bored systq 68508 249453 0 0 3 0x40014200 bored softclock 79170 488674 0 0 3 0x40014200 idle0 6704 84404 0 0 3 0x14200 bored smr 1 246545 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 55095 (syz-executor.1) thread 0xffff800020b38018 (226779) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff8235f818) 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 46839 (syz-executor.0) thread 0xffff800020b159d0 (227575) exclusive rrwlock inode r = 0 (0xfffffd8068969f80) 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 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 (0xfffffd8068969920) 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 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 9475 6390K 6398K 78643K 10593 0 0 pcb 26 9K 10K 78643K 119 0 0 rtable 101 4K 4K 78643K 199 0 0 ifaddr 43 11K 11K 78643K 52 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1469 0 0 iov 0 0K 24K 78643K 15 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1197 75K 75K 78643K 1263 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 0K 1K 78643K 26 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12628 0 0 file desc 5 13K 19K 78643K 146 0 0 sigio 0 0K 0K 78643K 2 0 0 proc 53 50K 71K 78643K 332 0 0 subproc 64 65538K 67586K 78643K 68 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 21 0 0 in_multi 33 2K 2K 78643K 43 0 0 ether_multi 1 0K 0K 78643K 4 0 0 mrt 0 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 203 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 84 20K 21K 78643K 1332 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 7 0K 0K 78643K 13 0 0 temp 101 2366K 2432K 78643K 3491 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 4 0 0 1 0 1 1 0 8 0 inpcbpl 280 125 0 118 1 0 1 1 0 8 0 plimitpl 152 17 0 9 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtentry 112 42 0 2 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpcb 544 50 0 46 1 0 1 1 0 8 0 rttmr 72 1 0 1 1 0 1 1 0 8 1 nd6 48 4 0 0 1 0 1 1 0 8 0 ppxss 1128 1 0 1 1 0 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 14 0 2 1 0 1 1 0 8 0 pfstkey 112 14 0 2 1 0 1 1 0 8 0 pfstate 328 14 0 2 1 0 1 1 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 186 0 0 12 0 12 12 0 8 0 art_table 32 187 0 0 2 0 2 2 0 8 0 art_node 16 41 0 7 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 20 0 10 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 1663 0 249 46 0 46 46 0 8 0 ffsino 272 1663 0 249 95 0 95 95 0 8 0 nchpl 144 2078 0 449 61 0 61 61 0 8 0 uvmvnodes 72 1714 0 0 32 0 32 32 0 8 0 vnodes 200 1714 0 0 91 0 91 91 0 8 0 namei 1024 5513 0 5513 3 2 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scsiplug 64 1 0 1 1 0 1 1 0 8 1 scxspl 192 5536 0 5535 9 8 1 6 0 8 0 sigapl 432 345 0 330 2 0 2 2 0 8 0 futexpl 56 1536 0 1536 1 0 1 1 0 8 1 knotepl 112 56 0 37 1 0 1 1 0 8 0 kqueuepl 104 22 0 20 1 0 1 1 0 8 0 pipepl 112 230 0 211 2 1 1 1 0 8 0 fdescpl 488 346 0 330 3 0 3 3 0 8 0 filepl 152 1903 0 1803 6 1 5 5 0 8 1 lockfpl 104 65 0 65 2 1 1 1 0 8 1 lockfspl 32 88 0 88 2 1 1 1 0 8 1 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 22 0 11 1 0 1 1 0 8 0 ucredpl 96 301 0 292 1 0 1 1 0 8 0 zombiepl 144 330 0 330 3 2 1 1 0 8 1 processpl 840 362 0 330 4 0 4 4 0 8 0 procpl 600 688 0 646 5 0 5 5 0 8 1 srpgc 64 1 0 1 1 0 1 1 0 8 1 sosppl 128 1 0 1 1 0 1 1 0 8 1 sockpl 384 212 0 192 4 1 3 3 0 8 1 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 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 125 0 0 15 0 15 15 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 146 0 0 9 0 9 9 0 8 0 bufpl 256 5983 0 1143 303 0 303 303 0 8 0 anonpl 16 38471 0 30112 38 2 36 36 0 125 1 amapchunkpl 152 1567 0 1471 6 1 5 5 0 158 0 amappl16 192 1102 0 676 24 0 24 24 0 8 2 amappl15 184 57 0 53 1 0 1 1 0 8 0 amappl14 176 23 0 20 2 1 1 1 0 8 0 amappl13 168 27 0 23 1 0 1 1 0 8 0 amappl12 160 69 0 66 1 0 1 1 0 8 0 amappl11 152 23 0 8 1 0 1 1 0 8 0 amappl10 144 74 0 69 1 0 1 1 0 8 0 amappl9 136 581 0 577 1 0 1 1 0 8 0 amappl8 128 125 0 113 1 0 1 1 0 8 0 amappl7 120 28 0 25 1 0 1 1 0 8 0 amappl6 112 57 0 50 1 0 1 1 0 8 0 amappl5 104 168 0 153 1 0 1 1 0 8 0 amappl4 96 578 0 548 2 1 1 2 0 8 0 amappl3 88 122 0 116 1 0 1 1 0 8 0 amappl2 80 1871 0 1818 3 1 2 2 0 8 0 amappl1 72 17238 0 16793 25 15 10 20 0 8 0 amappl 72 919 0 882 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 346 0 330 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 346 0 330 1 0 1 1 0 8 0 vmmpekpl 168 6862 0 6835 2 0 2 2 0 8 0 vmmpepl 168 43945 0 42520 93 23 70 75 0 357 7 vmsppl 360 345 0 330 2 0 2 2 0 8 0 pdppl 4096 699 0 660 7 1 6 6 0 8 1 pvpl 32 146760 0 135186 117 13 104 104 0 265 8 pmappl 224 345 0 330 1 0 1 1 0 8 0 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 456 0 6 13 0 13 13 0 8 0