uvm_fault(0xffffffff8225bcd0, 0xffff8000019b4002, 0, 1) -> e kernel: page fault trap, code=0 Stopped at rtable_satoplen+0x150: movzbl 0xffffffffffffffff(%r13),%r12d ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic kernel page fault uvm_fault(0xffffffff8225bcd0, 0xffff8000019b4002, 0, 1) -> e rtable_satoplen(21,ffff8000019b3f59) at rtable_satoplen+0x150 sys/net/rtable.c:888 end trace frame: 0xffff800020c19320, count: 0 ddb{0}> trace rtable_satoplen(21,ffff8000019b3f59) at rtable_satoplen+0x150 sys/net/rtable.c:888 rtable_lookup(0,ffff8000019b3f09,ffff8000019b3f59,ffff8000019b3f11,21) at rtable_lookup+0xfd sys/net/rtable.c:391 rtm_output(ffff8000019b3f00,ffff800020c19410,ffff800020c19418,21,0) at rtm_output+0x10c sys/net/rtsock.c:1122 route_output(fffffd807be2a800,fffffd806f739480,0,0) at route_output+0x79b sys/net/rtsock.c:806 route_usrreq(fffffd806f739480,9,fffffd807be2a800,0,0,ffff800020b6c018) at route_usrreq+0x35d sys/net/rtsock.c:271 sosend(fffffd806f739480,0,ffff800020c196d8,0,0,0) at sosend+0x6eb sys/kern/uipc_socket.c:513 sendit(ffff800020b6c018,6,ffff800020c19798,0,ffff800020c19860) at sendit+0x590 sys/kern/uipc_syscalls.c:662 sys_sendto(ffff800020b6c018,ffff800020c19878,ffff800020c19860) at sys_sendto+0x92 syscall(ffff800020c19910) at syscall+0x5b8 mi_syscall sys/sys/syscall_mi.h:99 [inline] syscall(ffff800020c19910) at syscall+0x5b8 sys/arch/amd64/amd64/trap.c:574 Xsyscall(6,0,ffffffffffffffd8,0,6,e25d9a84010) at Xsyscall+0x128 end of kernel end trace frame: 0xe27f0cea8c0, count: -10 ddb{0}> show registers rdi 0 rsi 0xaa rbp 0xffff800020c19280 rbx 0xffffffffffffff5a rdx 0xffff8000019b3f5d rcx 0xffff8000019b4003 rax 0xffff8000019b4003 r8 0x21 r9 0x1 r10 0x4 r11 0x1686e0101a2a4df7 r12 0 r13 0xffff8000019b4003 r14 0xffffffff821fe058 mplsdomain r15 0x4 rip 0xffffffff81674900 rtable_satoplen+0x150 cs 0x8 rflags 0x10287 __ALIGN_SIZE+0xf287 rsp 0xffff800020c19230 ss 0x10 rtable_satoplen+0x150: movzbl 0xffffffffffffffff(%r13),%r12d ddb{0}> show proc PROC (syz-executor.0) pid=218747 stat=onproc flags process=10 proc=4000000 pri=72, usrpri=72, nice=20 forw=0xffffffffffffffff, list=0xffff800020b6d788,0xffffffff823c5f18 process=0xffff800020b7c9f0 user=0xffff800020c14000, vmspace=0xfffffd807f00b9d8 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 87657 123 33375 60929 2 0x10 syz-executor.0 *87657 218747 33375 60929 7 0x4000010 syz-executor.0 52088 513442 1 0 3 0x82 nanosleep getty 6726 351475 54979 0 7 0x2 syz-executor.1 83117 404124 0 0 3 0x14200 bored sosplice 33375 113596 54979 0 3 0x82 nanosleep syz-executor.0 54979 496391 59102 0 3 0x82 thrsleep syz-fuzzer 54979 2661 59102 0 3 0x4000082 thrsleep syz-fuzzer 54979 345704 59102 0 3 0x4000082 thrsleep syz-fuzzer 54979 102177 59102 0 3 0x4000082 thrsleep syz-fuzzer 54979 242579 59102 0 3 0x4000082 thrsleep syz-fuzzer 54979 99949 59102 0 3 0x4000082 thrsleep syz-fuzzer 54979 473341 59102 0 3 0x4000082 thrsleep syz-fuzzer 54979 324505 59102 0 3 0x4000082 thrsleep syz-fuzzer 54979 453976 59102 0 3 0x4000082 thrsleep syz-fuzzer 54979 419900 59102 0 3 0x4000082 kqread syz-fuzzer 59102 398333 67119 0 3 0x10008a pause ksh 67119 165303 9046 0 3 0x92 select sshd 9046 181120 1 0 3 0x80 select sshd 88757 182355 29814 74 3 0x100092 bpf pflogd 29814 263272 1 0 3 0x80 netio pflogd 7560 232410 54099 73 2 0x100090 syslogd 54099 77133 1 0 3 0x100082 netio syslogd 91747 5551 1 77 3 0x100090 poll dhclient 85569 519752 1 0 3 0x80 poll dhclient 1230 253075 0 0 3 0x14200 pgzero zerothread 69720 364561 0 0 3 0x14200 aiodoned aiodoned 66672 431663 0 0 3 0x14200 syncer update 20698 523917 0 0 3 0x14200 cleaner cleaner 38247 284265 0 0 3 0x14200 reaper reaper 92162 275223 0 0 3 0x14200 pgdaemon pagedaemon 39887 463208 0 0 3 0x14200 bored crynlk 28099 58067 0 0 3 0x14200 bored crypto 85855 303968 0 0 3 0x40014200 acpi0 acpi0 14066 392727 0 0 3 0x40014200 idle1 71675 474130 0 0 3 0x14200 bored softnet 77684 491454 0 0 3 0x14200 bored systqmp 60809 80925 0 0 3 0x14200 bored systq 18730 206917 0 0 3 0x40014200 bored softclock 79297 522671 0 0 3 0x40014200 idle0 95117 322740 0 0 3 0x14200 bored smr 1 164490 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 87657 (syz-executor.0) thread 0xffff800020b6c018 (218747) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff823d2f80) locked @ /syzkaller/managers/multicore/kernel/sys/scsi/scsi_base.c:256 #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 6726 (syz-executor.1) thread 0xffff800020b6d2d8 (351475) exclusive rrwlock inode r = 0 (0xfffffd8068b443d0) 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 (0xfffffd806e2eaf88) 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{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9511 6411K 6423K 78643K 10725 0 0 pcb 26 9K 10K 78643K 305 0 0 rtable 101 4K 4K 78643K 264 0 0 ifaddr 55 12K 13K 78643K 83 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1480 0 0 iov 0 0K 24K 78643K 62 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1211 76K 76K 78643K 1521 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 9K 78643K 11 0 0 VM map 2 1K 1K 78643K 2 0 0 sem 12 0K 0K 78643K 85 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12628 0 0 file desc 5 13K 21K 78643K 495 0 0 sigio 0 0K 0K 78643K 16 0 0 proc 54 51K 71K 78643K 398 0 0 subproc 64 65538K 67586K 78643K 116 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 56 0 0 in_multi 33 2K 2K 78643K 64 0 0 ether_multi 1 0K 0K 78643K 5 0 0 mrt 0 0K 0K 78643K 4 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 66 291K 291K 78643K 66 0 0 exec 0 0K 1K 78643K 243 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 93 21K 30K 78643K 2501 0 0 UVM aobj 23 2K 2K 78643K 26 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 1K 78643K 45 0 0 NDP 11 0K 0K 78643K 23 0 0 temp 164 2375K 2499K 78643K 4407 0 0 kqueue 0 0K 0K 78643K 3 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 5 0 1 1 0 1 1 0 8 0 inpcbpl 280 315 0 308 1 0 1 1 0 8 0 plimitpl 152 35 0 27 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtentry 112 51 0 11 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpcb 544 90 0 86 1 0 1 1 0 8 0 rttmr 72 1 0 1 1 0 1 1 0 8 1 nd6 48 6 0 2 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 19 0 8 1 0 1 1 0 8 0 pfstkey 112 19 0 8 1 0 1 1 0 8 0 pfstate 328 19 0 8 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 226 0 41 12 0 12 12 0 8 0 art_table 32 227 0 41 2 0 2 2 0 8 0 art_node 16 50 0 16 1 0 1 1 0 8 0 sysvmsgpl 40 16 0 9 1 0 1 1 0 8 0 semapl 112 83 0 73 1 0 1 1 0 8 0 shmpl 112 24 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2341 0 928 46 0 46 46 0 8 0 ffsino 272 2341 0 928 95 0 95 95 0 8 0 nchpl 144 3232 0 1598 61 0 61 61 0 8 0 uvmvnodes 72 2459 0 0 45 0 45 45 0 8 0 vnodes 200 2459 0 0 130 0 130 130 0 8 0 namei 1024 9359 0 9358 3 2 1 1 0 8 0 percpumem 16 30 0 0 1 0 1 1 0 8 0 scsiplug 64 2 0 2 1 1 0 1 0 8 0 scxspl 192 9133 0 9133 15 14 1 6 0 8 1 sigapl 432 689 0 674 2 0 2 2 0 8 0 futexpl 56 6074 0 6074 1 0 1 1 0 8 1 knotepl 112 192 0 165 4 3 1 2 0 8 0 kqueuepl 104 120 0 118 1 0 1 1 0 8 0 pipepl 112 460 0 441 2 1 1 1 0 8 0 fdescpl 488 690 0 674 3 0 3 3 0 8 0 filepl 152 4288 0 4187 5 0 5 5 0 8 1 lockfpl 104 162 0 162 3 2 1 1 0 8 1 lockfspl 32 273 0 273 3 2 1 1 0 8 1 sessionpl 112 19 0 9 1 0 1 1 0 8 0 pgrppl 48 36 0 26 1 0 1 1 0 8 0 ucredpl 96 1091 0 1081 1 0 1 1 0 8 0 zombiepl 144 674 0 674 2 1 1 1 0 8 1 processpl 840 706 0 674 4 0 4 4 0 8 0 procpl 600 1810 0 1768 7 3 4 5 0 8 0 srpgc 64 7 0 7 2 1 1 1 0 8 1 sosppl 128 7 0 7 1 1 0 1 0 8 0 sockpl 384 542 0 522 4 1 3 3 0 8 1 mcl64k 65536 256 0 0 32 3 29 32 0 8 1 mcl12k 12288 8 0 0 1 0 1 1 0 8 0 mcl9k 9216 5 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 10 0 0 2 0 2 2 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 110 0 0 13 0 13 13 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 358 0 0 20 0 20 20 0 8 0 bufpl 256 6756 0 1049 357 0 357 357 0 8 0 anonpl 16 78966 0 70227 66 22 44 52 0 125 8 amapchunkpl 152 3840 0 3743 12 3 9 9 0 158 4 amappl16 192 3345 0 2888 41 16 25 35 0 8 2 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 24 0 21 1 0 1 1 0 8 0 amappl13 168 30 0 26 1 0 1 1 0 8 0 amappl12 160 247 0 245 2 1 1 1 0 8 0 amappl11 152 217 0 203 1 0 1 1 0 8 0 amappl10 144 70 0 64 1 0 1 1 0 8 0 amappl9 136 357 0 354 1 0 1 1 0 8 0 amappl8 128 380 0 361 1 0 1 1 0 8 0 amappl7 120 262 0 257 1 0 1 1 0 8 0 amappl6 112 66 0 54 1 0 1 1 0 8 0 amappl5 104 135 0 121 1 0 1 1 0 8 0 amappl4 96 320 0 295 2 1 1 2 0 8 0 amappl3 88 145 0 139 1 0 1 1 0 8 0 amappl2 80 5400 0 5345 2 0 2 2 0 8 0 amappl1 72 24777 0 24330 24 14 10 19 0 8 0 amappl 72 2051 0 2014 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 25 0 3 1 0 1 1 0 8 0 uaddrrnd 24 690 0 674 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 690 0 674 1 0 1 1 0 8 0 vmmpekpl 168 9724 0 9697 2 0 2 2 0 8 0 vmmpepl 168 80271 0 78804 114 43 71 81 0 357 5 vmsppl 360 689 0 674 2 0 2 2 0 8 0 pdppl 4096 1388 0 1348 6 0 6 6 0 8 0 pvpl 32 245758 0 233852 156 39 117 135 0 265 18 pmappl 224 689 0 674 2 1 1 2 0 8 0 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 550 0 8 16 0 16 16 0 8 0