uvm_fault(0xffffffff823168f0, 0xffff800001992002, 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(0xffffffff823168f0, 0xffff800001992002, 0, 1) -> e rtable_satoplen(21,ffff800001991f59) at rtable_satoplen+0x150 sys/net/rtable.c:888 end trace frame: 0xffff800020c31640, count: 0 ddb{0}> trace rtable_satoplen(21,ffff800001991f59) at rtable_satoplen+0x150 sys/net/rtable.c:888 rtable_lookup(0,ffff800001991f09,ffff800001991f59,ffff800001991f11,21) at rtable_lookup+0xfd sys/net/rtable.c:391 rtm_output(ffff800001991f00,ffff800020c31730,ffff800020c31738,21,0) at rtm_output+0x1a7 sys/net/rtsock.c:952 route_output(fffffd807f01ea00,fffffd806f732180,0,0) at route_output+0x79b sys/net/rtsock.c:806 route_usrreq(fffffd806f732180,9,fffffd807f01ea00,0,0,ffff800020b38bd0) at route_usrreq+0x35d sys/net/rtsock.c:271 sosend(fffffd806f732180,0,ffff800020c319f8,0,0,0) at sosend+0x6eb sys/kern/uipc_socket.c:513 sendit(ffff800020b38bd0,3,ffff800020c31ab8,0,ffff800020c31b80) at sendit+0x590 sys/kern/uipc_syscalls.c:662 sys_sendto(ffff800020b38bd0,ffff800020c31b98,ffff800020c31b80) at sys_sendto+0x92 syscall(ffff800020c31c30) at syscall+0x5b8 mi_syscall sys/sys/syscall_mi.h:99 [inline] syscall(ffff800020c31c30) at syscall+0x5b8 sys/arch/amd64/amd64/trap.c:574 Xsyscall(6,0,ffffffffffffffd8,0,6,32f5d6c7010) at Xsyscall+0x128 end of kernel end trace frame: 0x33217ead8a0, count: -10 ddb{0}> show registers rdi 0 rsi 0xaa rbp 0xffff800020c315a0 rbx 0xffffffffffffff5a rdx 0xffff800001991f5d rcx 0xffff800001992003 rax 0xffff800001992003 r8 0x21 r9 0x1 r10 0x4 r11 0xcb78ad32a27151b1 r12 0 r13 0xffff800001992003 r14 0xffffffff822176f0 mplsdomain r15 0x4 rip 0xffffffff81b7c730 rtable_satoplen+0x150 cs 0x8 rflags 0x10287 __ALIGN_SIZE+0xf287 rsp 0xffff800020c31550 ss 0x10 rtable_satoplen+0x150: movzbl 0xffffffffffffffff(%r13),%r12d ddb{0}> show proc PROC (syz-executor.0) pid=176422 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020b38e28,0xffffffff82383fe0 process=0xffff800020b8c018 user=0xffff800020c2c000, vmspace=0xfffffd807effe5a0 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 11887 77436 84310 0 2 0 syz-executor.0 *11887 176422 84310 0 7 0x4000000 syz-executor.0 19330 282872 88501 0 7 0x2 syz-executor.1 84310 403069 88501 0 3 0x82 nanosleep syz-executor.0 88501 463452 3810 0 3 0x82 thrsleep syz-fuzzer 88501 483805 3810 0 3 0x4000082 thrsleep syz-fuzzer 88501 476918 3810 0 3 0x4000082 thrsleep syz-fuzzer 88501 81160 3810 0 3 0x4000082 thrsleep syz-fuzzer 88501 64347 3810 0 3 0x4000082 thrsleep syz-fuzzer 88501 521610 3810 0 3 0x4000082 thrsleep syz-fuzzer 88501 240116 3810 0 3 0x4000082 thrsleep syz-fuzzer 88501 306470 3810 0 3 0x4000082 kqread syz-fuzzer 88501 90255 3810 0 3 0x4000082 thrsleep syz-fuzzer 88501 225691 3810 0 3 0x4000082 thrsleep syz-fuzzer 3810 286631 63827 0 3 0x10008a pause ksh 63827 432848 27381 0 3 0x92 select sshd 23714 341823 1 0 3 0x100083 ttyin getty 27381 453821 1 0 3 0x80 select sshd 77758 513042 84112 74 3 0x100092 bpf pflogd 84112 206858 1 0 3 0x80 netio pflogd 6927 91952 27274 73 2 0x100090 syslogd 27274 251032 1 0 3 0x100082 netio syslogd 61330 410005 1 77 3 0x100090 poll dhclient 83554 57665 1 0 3 0x80 poll dhclient 97905 380333 0 0 3 0x14200 pgzero zerothread 28276 214121 0 0 3 0x14200 aiodoned aiodoned 4856 435603 0 0 3 0x14200 syncer update 31319 485158 0 0 3 0x14200 cleaner cleaner 79374 184218 0 0 3 0x14200 reaper reaper 68391 13368 0 0 3 0x14200 pgdaemon pagedaemon 27312 122411 0 0 3 0x14200 bored crynlk 88507 289461 0 0 3 0x14200 bored crypto 67997 483092 0 0 3 0x40014200 acpi0 acpi0 43053 363537 0 0 3 0x40014200 idle1 19483 236700 0 0 3 0x14200 bored softnet 65435 396340 0 0 3 0x14200 bored systqmp 4206 12882 0 0 3 0x14200 bored systq 29272 289425 0 0 3 0x40014200 bored softclock 12110 280718 0 0 3 0x40014200 idle0 44005 158588 0 0 3 0x14200 bored smr 1 486294 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 11887 (syz-executor.0) thread 0xffff800020b38bd0 (176422) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff8236a688) 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 19330 (syz-executor.1) thread 0xffff800020b392d8 (282872) exclusive rrwlock inode r = 0 (0xfffffd80687e8c50) 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 (0xfffffd80687e84e0) 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 9482 6389K 6401K 78643K 10607 0 0 pcb 26 9K 10K 78643K 94 0 0 rtable 101 4K 4K 78643K 198 0 0 ifaddr 46 11K 12K 78643K 56 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1469 0 0 iov 0 0K 20K 78643K 7 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1204 75K 76K 78643K 1262 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 8 0K 0K 78643K 8 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12628 0 0 file desc 5 13K 17K 78643K 115 0 0 proc 53 50K 71K 78643K 340 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 9 0 0 in_multi 33 2K 2K 78643K 42 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 198 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 20K 78643K 1205 0 0 UVM aobj 9 2K 2K 78643K 12 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 8 0K 0K 78643K 14 0 0 temp 108 2366K 2430K 78643K 3434 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 4 0 0 1 0 1 1 0 8 0 inpcbpl 280 87 0 80 1 0 1 1 0 8 0 plimitpl 152 22 0 14 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtentry 112 41 0 1 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 5 0 5 1 1 0 1 0 8 0 tcpcb 544 30 0 26 1 0 1 1 0 8 0 nd6 48 4 0 0 1 0 1 1 0 8 0 ppxss 1128 2 0 2 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 16 0 2 1 0 1 1 0 8 0 pfstkey 112 16 0 2 1 0 1 1 0 8 0 pfstate 328 16 0 2 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 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 40 0 6 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 1 1 1 0 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 6 0 0 1 0 1 1 0 8 0 shmpl 112 10 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1620 0 204 46 0 46 46 0 8 0 ffsino 272 1620 0 204 95 0 95 95 0 8 0 nchpl 144 1984 0 356 61 0 61 61 0 8 0 uvmvnodes 72 1675 0 0 31 0 31 31 0 8 0 vnodes 200 1675 0 0 89 0 89 89 0 8 0 namei 1024 5264 0 5263 1 0 1 1 0 8 0 percpumem 16 30 0 0 1 0 1 1 0 8 0 scxspl 192 5296 0 5296 8 7 1 6 0 8 1 sigapl 432 314 0 299 2 0 2 2 0 8 0 futexpl 56 1198 0 1198 1 0 1 1 0 8 1 knotepl 112 54 0 35 1 0 1 1 0 8 0 kqueuepl 104 20 0 18 1 0 1 1 0 8 0 pipepl 112 178 0 159 2 1 1 1 0 8 0 fdescpl 488 315 0 299 3 0 3 3 0 8 0 filepl 152 1693 0 1593 5 0 5 5 0 8 1 lockfpl 104 32 0 32 2 1 1 1 0 8 1 lockfspl 32 55 0 55 2 1 1 1 0 8 1 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 20 0 9 1 0 1 1 0 8 0 ucredpl 96 254 0 245 1 0 1 1 0 8 0 zombiepl 144 299 0 299 2 1 1 1 0 8 1 processpl 840 330 0 299 4 0 4 4 0 8 0 procpl 600 557 0 516 4 0 4 4 0 8 0 sockpl 384 156 0 136 3 0 3 3 0 8 1 mcl64k 65536 229 0 0 29 0 29 29 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 123 0 0 15 0 15 15 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 304 0 0 18 0 18 18 0 8 0 bufpl 256 6021 0 1143 305 0 305 305 0 8 0 anonpl 16 39056 0 30321 45 2 43 43 0 125 6 amapchunkpl 152 1327 0 1239 6 1 5 5 0 158 0 amappl16 192 1113 0 656 28 0 28 28 0 8 4 amappl15 184 57 0 53 1 0 1 1 0 8 0 amappl14 176 26 0 22 2 1 1 1 0 8 0 amappl13 168 34 0 29 1 0 1 1 0 8 0 amappl12 160 11 0 10 1 0 1 1 0 8 0 amappl11 152 25 0 10 1 0 1 1 0 8 0 amappl10 144 69 0 66 1 0 1 1 0 8 0 amappl9 136 677 0 671 1 0 1 1 0 8 0 amappl8 128 223 0 209 1 0 1 1 0 8 0 amappl7 120 28 0 26 1 0 1 1 0 8 0 amappl6 112 59 0 50 1 0 1 1 0 8 0 amappl5 104 118 0 103 1 0 1 1 0 8 0 amappl4 96 545 0 510 2 1 1 2 0 8 0 amappl3 88 125 0 118 1 0 1 1 0 8 0 amappl2 80 1566 0 1511 2 0 2 2 0 8 0 amappl1 72 16358 0 15914 25 15 10 20 0 8 0 amappl 72 793 0 758 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 11 0 3 1 0 1 1 0 8 0 uaddrrnd 24 315 0 299 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 315 0 299 1 0 1 1 0 8 0 vmmpekpl 168 6567 0 6543 2 0 2 2 0 8 0 vmmpepl 168 40892 0 39427 91 14 77 81 0 357 12 vmsppl 360 314 0 299 2 0 2 2 0 8 0 pdppl 4096 638 0 598 6 0 6 6 0 8 0 pvpl 32 144431 0 132496 122 7 115 115 0 265 17 pmappl 224 314 0 299 1 0 1 1 0 8 0 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 492 0 3 14 0 14 14 0 8 0