ukernel: 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(0xffffffff823168f0, 0xffff80000379b002, 0, 1) -> e rtable_satoplen(21,ffff80000379af59) at rtable_satoplen+0x150 sys/net/rtable.c:888 end trace frame: 0xffff800020c22dd0, count: 0 ddb{1}> trace rtable_satoplen(21,ffff80000379af59) at rtable_satoplen+0x150 sys/net/rtable.c:888 rtable_lookup(0,ffff80000379af09,ffff80000379af59,ffff80000379af11,21) at rtable_lookup+0xfd sys/net/rtable.c:391 rtm_output(ffff80000379af00,ffff800020c22ec0,ffff800020c22ec8,21,0) at rtm_output+0x1a7 sys/net/rtsock.c:952 route_output(fffffd806d826000,fffffd806f72ca80,0,0) at route_output+0x79b sys/net/rtsock.c:806 route_usrreq(fffffd806f72ca80,9,fffffd806d826000,0,0,ffff800020b75530) at route_usrreq+0x35d sys/net/rtsock.c:271 sosend(fffffd806f72ca80,0,ffff800020c23188,0,0,0) at sosend+0x6eb sys/kern/uipc_socket.c:513 sendit(ffff800020b75530,3,ffff800020c23248,0,ffff800020c23310) at sendit+0x590 sys/kern/uipc_syscalls.c:662 sys_sendto(ffff800020b75530,ffff800020c23328,ffff800020c23310) at sys_sendto+0x92 syscall(ffff800020c233c0) at syscall+0x5b8 mi_syscall sys/sys/syscall_mi.h:99 [inline] syscall(ffff800020c233c0) at syscall+0x5b8 sys/arch/amd64/amd64/trap.c:574 Xsyscall(6,0,ffffffffffffffd8,0,6,619c2487010) at Xsyscall+0x128 end of kernel end trace frame: 0x61c328103a0, count: -10 ddb{1}> show registers rdi 0 rsi 0xaa rbp 0xffff800020c22d30 rbx 0xffffffffffffff5a rdx 0xffff80000379af5d rcx 0xffff80000379b003 rax 0xffff80000379b003 r8 0x21 r9 0x1 r10 0x4 r11 0xf91b8ee929768099 r12 0 r13 0xffff80000379b003 r14 0xffffffff822176f0 mplsdomain r15 0x4 rip 0xffffffff81b7c730 rtable_satoplen+0x150 cs 0x8 rflags 0x10287 __ALIGN_SIZE+0xf287 rsp 0xffff800020c22ce0 ss 0x10 rtable_satoplen+0x150: movzbl 0xffffffffffffffff(%r13),%r12d ddb{1}> show proc PROC (syz-executor.1) pid=492623 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020b74bd0,0xffffffff82383fe0 process=0xffff800020b8d3c8 user=0xffff800020c1e000, vmspace=0xfffffd807effe708 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 49790 480231 87025 0 7 0 syz-executor.1 *49790 492623 87025 0 7 0x4000000 syz-executor.1 87025 200546 99567 0 3 0x82 nanosleep syz-executor.1 49201 172835 99567 0 3 0x2 biowait syz-executor.0 34899 224938 0 0 3 0x14200 bored sosplice 99567 102161 91094 0 3 0x82 thrsleep syz-fuzzer 99567 431175 91094 0 3 0x4000082 nanosleep syz-fuzzer 99567 370788 91094 0 3 0x4000082 thrsleep syz-fuzzer 99567 170125 91094 0 3 0x4000082 kqread syz-fuzzer 99567 117309 91094 0 3 0x4000082 thrsleep syz-fuzzer 99567 168020 91094 0 3 0x4000082 thrsleep syz-fuzzer 99567 47330 91094 0 3 0x4000082 thrsleep syz-fuzzer 99567 422129 91094 0 3 0x4000082 thrsleep syz-fuzzer 99567 44684 91094 0 3 0x4000082 thrsleep syz-fuzzer 99567 198219 91094 0 3 0x4000082 thrsleep syz-fuzzer 91094 156215 65328 0 3 0x10008a pause ksh 65328 360531 87208 0 3 0x92 select sshd 74359 268506 1 0 3 0x100083 ttyin getty 87208 134820 1 0 3 0x80 select sshd 50962 13758 45560 74 3 0x100092 bpf pflogd 45560 367548 1 0 3 0x80 netio pflogd 49725 134897 63715 73 2 0x100090 syslogd 63715 72204 1 0 3 0x100082 netio syslogd 69787 62457 1 77 3 0x100090 poll dhclient 89898 279963 1 0 3 0x80 poll dhclient 50594 380485 0 0 3 0x14200 pgzero zerothread 16953 260311 0 0 3 0x14200 aiodoned aiodoned 82585 512874 0 0 3 0x14200 syncer update 9855 475939 0 0 3 0x14200 cleaner cleaner 19943 185195 0 0 3 0x14200 reaper reaper 2858 254345 0 0 3 0x14200 pgdaemon pagedaemon 54527 469377 0 0 3 0x14200 bored crynlk 22240 365132 0 0 3 0x14200 bored crypto 64844 40459 0 0 3 0x40014200 acpi0 acpi0 30022 461620 0 0 3 0x40014200 idle1 47528 405004 0 0 3 0x14200 bored softnet 66585 73721 0 0 3 0x14200 bored systqmp 12372 189733 0 0 3 0x14200 bored systq 26388 419486 0 0 3 0x40014200 bored softclock 19315 429809 0 0 3 0x40014200 idle0 76026 120281 0 0 3 0x14200 bored smr 1 84680 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 49790 (syz-executor.1) thread 0xffff800020b75530 (492623) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff8236a688) 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 49201 (syz-executor.0) thread 0xffff800020b74270 (172835) exclusive rrwlock inode r = 0 (0xfffffd806e7d0918) 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 (0xfffffd806e1ce918) 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 9490 6404K 6414K 78643K 10712 0 0 pcb 26 9K 10K 78643K 198 0 0 rtable 104 4K 4K 78643K 331 0 0 ifaddr 49 12K 12K 78643K 96 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1471 0 0 iov 0 0K 14K 78643K 36 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1200 75K 76K 78643K 1403 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 6 0 0 VM map 2 1K 1K 78643K 2 0 0 sem 12 0K 0K 78643K 48 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12628 0 0 file desc 5 13K 21K 78643K 271 0 0 sigio 0 0K 0K 78643K 1 0 0 proc 53 50K 71K 78643K 374 0 0 subproc 64 65538K 67586K 78643K 136 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 34 0 0 in_multi 33 2K 2K 78643K 73 0 0 ether_multi 1 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 48 212K 212K 78643K 48 0 0 exec 0 0K 1K 78643K 224 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 83 20K 21K 78643K 1725 0 0 UVM aobj 15 2K 2K 78643K 17 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 14 0 0 NDP 9 0K 0K 78643K 28 0 0 temp 150 2375K 2440K 78643K 4088 0 0 kqueue 0 0K 0K 78643K 4 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 6 0 2 1 0 1 1 0 8 0 inpcbpl 280 162 0 155 1 0 1 1 0 8 0 plimitpl 152 23 0 15 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtentry 112 59 0 19 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpcb 544 63 0 59 1 0 1 1 0 8 0 nd6 48 8 0 4 1 0 1 1 0 8 0 ppxss 1128 7 0 7 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 15 0 5 1 0 1 1 0 8 0 pfstkey 112 15 0 5 1 0 1 1 0 8 0 pfstate 328 15 0 5 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 267 0 82 12 0 12 12 0 8 0 art_table 32 268 0 82 2 0 2 2 0 8 0 art_node 16 58 0 24 1 0 1 1 0 8 0 sysvmsgpl 40 25 0 3 1 0 1 1 0 8 0 semapl 112 46 0 36 1 0 1 1 0 8 0 shmpl 112 15 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1915 0 501 46 0 46 46 0 8 0 ffsino 272 1915 0 501 95 0 95 95 0 8 0 nchpl 144 2498 0 861 62 0 62 62 0 8 1 uvmvnodes 72 2035 0 0 37 0 37 37 0 8 0 vnodes 200 2035 0 0 108 0 108 108 0 8 0 namei 1024 7014 0 7013 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 6406 0 6405 10 8 2 6 0 8 1 sigapl 432 464 0 449 2 0 2 2 0 8 0 futexpl 56 3102 0 3102 1 0 1 1 0 8 1 knotepl 112 162 0 143 1 0 1 1 0 8 0 kqueuepl 104 75 0 73 1 0 1 1 0 8 0 pipepl 112 336 0 317 2 1 1 1 0 8 0 fdescpl 488 465 0 449 3 0 3 3 0 8 0 filepl 152 2709 0 2609 5 0 5 5 0 8 1 lockfpl 104 89 0 89 2 1 1 1 0 8 1 lockfspl 32 91 0 91 2 1 1 1 0 8 1 sessionpl 112 20 0 9 1 0 1 1 0 8 0 pgrppl 48 26 0 15 1 0 1 1 0 8 0 ucredpl 96 442 0 433 1 0 1 1 0 8 0 zombiepl 144 449 0 449 2 1 1 1 0 8 1 processpl 840 481 0 449 4 0 4 4 0 8 0 procpl 600 1024 0 982 4 0 4 4 0 8 0 srpgc 64 12 0 12 1 1 0 1 0 8 0 sosppl 128 2 0 2 1 0 1 1 0 8 1 sockpl 384 325 0 305 3 0 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 5 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 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 129 0 0 16 1 15 16 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 154 0 0 9 0 9 9 0 8 0 bufpl 256 6125 0 1145 312 0 312 312 0 8 0 anonpl 16 53448 0 44537 48 5 43 46 0 125 6 amapchunkpl 152 2269 0 2180 5 0 5 5 0 158 0 amappl16 192 1772 0 1305 34 6 28 34 0 8 4 amappl15 184 145 0 139 1 0 1 1 0 8 0 amappl14 176 68 0 64 2 1 1 1 0 8 0 amappl13 168 30 0 26 1 0 1 1 0 8 0 amappl12 160 17 0 16 1 0 1 1 0 8 0 amappl11 152 111 0 94 1 0 1 1 0 8 0 amappl10 144 133 0 130 1 0 1 1 0 8 0 amappl9 136 649 0 644 1 0 1 1 0 8 0 amappl8 128 206 0 192 1 0 1 1 0 8 0 amappl7 120 89 0 85 1 0 1 1 0 8 0 amappl6 112 147 0 137 1 0 1 1 0 8 0 amappl5 104 124 0 109 1 0 1 1 0 8 0 amappl4 96 687 0 659 2 1 1 2 0 8 0 amappl3 88 161 0 155 1 0 1 1 0 8 0 amappl2 80 2870 0 2817 2 0 2 2 0 8 0 amappl1 72 19714 0 19263 25 15 10 20 0 8 0 amappl 72 1279 0 1243 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 16 0 2 1 0 1 1 0 8 0 uaddrrnd 24 465 0 449 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 465 0 449 1 0 1 1 0 8 0 vmmpekpl 168 7832 0 7809 2 0 2 2 0 8 0 vmmpepl 168 56990 0 55514 93 14 79 81 0 357 13 vmsppl 360 464 0 449 2 0 2 2 0 8 0 pdppl 4096 938 0 898 6 0 6 6 0 8 0 pvpl 32 182040 0 169870 134 13 121 124 0 265 22 pmappl 224 464 0 449 2 1 1 2 0 8 0 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 465 0 5 14 0 14 14 0 8 0