login: uvm_fault(0xffffffff82287918, 0xffff80000198c002, 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(0xffffffff82287918, 0xffff80000198c002, 0, 1) -> e rtable_satoplen(21,ffff80000198bf59) at rtable_satoplen+0x150 sys/net/rtable.c:888 end trace frame: 0xffff800020c37810, count: 0 ddb{1}> trace rtable_satoplen(21,ffff80000198bf59) at rtable_satoplen+0x150 sys/net/rtable.c:888 rtable_lookup(0,ffff80000198bf09,ffff80000198bf59,ffff80000198bf11,21) at rtable_lookup+0xfd sys/net/rtable.c:391 rtm_output(ffff80000198bf00,ffff800020c37900,ffff800020c37908,21,0) at rtm_output+0x1a7 sys/net/rtsock.c:952 route_output(fffffd806f32ea00,fffffd806caf3610,0,0) at route_output+0x79b sys/net/rtsock.c:806 route_usrreq(fffffd806caf3610,9,fffffd806f32ea00,0,0,ffff800020b7d080) at route_usrreq+0x35d sys/net/rtsock.c:271 sosend(fffffd806caf3610,0,ffff800020c37bc8,0,0,0) at sosend+0x6eb sys/kern/uipc_socket.c:513 sendit(ffff800020b7d080,4,ffff800020c37c88,0,ffff800020c37d50) at sendit+0x590 sys/kern/uipc_syscalls.c:662 sys_sendto(ffff800020b7d080,ffff800020c37d68,ffff800020c37d50) at sys_sendto+0x92 syscall(ffff800020c37e00) at syscall+0x5b8 mi_syscall sys/sys/syscall_mi.h:99 [inline] syscall(ffff800020c37e00) at syscall+0x5b8 sys/arch/amd64/amd64/trap.c:574 Xsyscall(6,0,ffffffffffffffd8,0,6,5f761aa3010) at Xsyscall+0x128 end of kernel end trace frame: 0x5fa60f60e50, count: -10 ddb{1}> show registers rdi 0 rsi 0xaa rbp 0xffff800020c37770 rbx 0xffffffffffffff5a rdx 0xffff80000198bf5d rcx 0xffff80000198c003 rax 0xffff80000198c003 r8 0x21 r9 0x1 r10 0x4 r11 0x2817d9b818ca9ace r12 0 r13 0xffff80000198c003 r14 0xffffffff821bf7b0 mplsdomain r15 0x4 rip 0xffffffff819822f0 rtable_satoplen+0x150 cs 0x8 rflags 0x10287 __ALIGN_SIZE+0xf287 rsp 0xffff800020c37720 ss 0x10 rtable_satoplen+0x150: movzbl 0xffffffffffffffff(%r13),%r12d ddb{1}> show proc PROC (syz-executor.1) pid=369871 stat=onproc flags process=1000 proc=4080000 pri=52, usrpri=52, nice=20 forw=0xffffffffffffffff, list=0xffff800020b7c720,0xffffffff82377ca8 process=0xffff800020b8cd38 user=0xffff800020c32000, vmspace=0xfffffd807f00c438 estcpu=22, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 2964 39499 7670 0 3 0x3000 suspend syz-executor.1 * 2964 369871 7670 0 7 0x4081000 syz-executor.1 7670 307135 19787 0 3 0x82 nanosleep syz-executor.1 92030 72537 19787 0 3 0x2 biowait syz-executor.0 19787 409593 22153 0 3 0x82 nanosleep syz-fuzzer 19787 147491 22153 0 3 0x4000082 nanosleep syz-fuzzer 19787 111556 22153 0 3 0x4000082 thrsleep syz-fuzzer 19787 491349 22153 0 3 0x4000082 kqread syz-fuzzer 19787 119777 22153 0 3 0x4000082 thrsleep syz-fuzzer 19787 129911 22153 0 3 0x4000082 thrsleep syz-fuzzer 19787 320085 22153 0 3 0x4000082 thrsleep syz-fuzzer 19787 435552 22153 0 3 0x4000082 thrsleep syz-fuzzer 19787 444156 22153 0 3 0x4000082 thrsleep syz-fuzzer 19787 404577 22153 0 3 0x4000082 thrsleep syz-fuzzer 22153 35275 41328 0 3 0x10008a pause ksh 41328 204643 20534 0 3 0x92 select sshd 62516 12649 1 0 3 0x100083 ttyin getty 20534 433393 1 0 3 0x80 select sshd 52740 71121 711 74 3 0x100092 bpf pflogd 711 361359 1 0 3 0x80 netio pflogd 45014 299464 19161 73 2 0x100090 syslogd 19161 81884 1 0 3 0x100082 netio syslogd 25874 219420 1 77 3 0x100090 poll dhclient 33028 77057 1 0 3 0x80 poll dhclient 70541 516550 0 0 3 0x14200 pgzero zerothread 10436 39624 0 0 3 0x14200 aiodoned aiodoned 71006 435919 0 0 3 0x14200 syncer update 21841 5744 0 0 3 0x14200 cleaner cleaner 67951 86986 0 0 3 0x14200 reaper reaper 72981 432701 0 0 3 0x14200 pgdaemon pagedaemon 54287 181618 0 0 3 0x14200 bored crynlk 44308 422117 0 0 3 0x14200 bored crypto 11395 222246 0 0 3 0x40014200 acpi0 acpi0 89141 167453 0 0 3 0x40014200 idle1 80683 92281 0 0 3 0x14200 bored softnet 2193 446506 0 0 3 0x14200 bored systqmp 2930 345568 0 0 3 0x14200 bored systq 13759 19850 0 0 3 0x40014200 bored softclock 40962 126921 0 0 7 0x40014200 idle0 22048 311308 0 0 3 0x14200 bored smr 1 423542 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 2964 (syz-executor.1) thread 0xffff800020b7d080 (369871) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff82362af8) 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 92030 (syz-executor.0) thread 0xffff800020b14260 (72537) exclusive rrwlock inode r = 0 (0xfffffd8068c8f3d0) 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 (0xfffffd8068c8f920) 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 cache_lookup+0x300 sys/kern/vfs_cache.c:224 #7 ufs_lookup+0x1d7 sys/ufs/ufs/ufs_lookup.c:162 #8 VOP_LOOKUP+0x67 sys/kern/vfs_vops.c:90 #9 vfs_lookup+0x556 sys/kern/vfs_lookup.c:523 #10 namei+0x4b2 sys/kern/vfs_lookup.c:224 #11 dounlinkat+0xa5 sys/kern/vfs_syscalls.c:1673 #12 syscall+0x5b8 mi_syscall sys/sys/syscall_mi.h:99 [inline] #12 syscall+0x5b8 sys/arch/amd64/amd64/trap.c:574 #13 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9484 6393K 6395K 78643K 10574 0 0 pcb 27 9K 9K 78643K 65 0 0 rtable 98 3K 3K 78643K 186 0 0 ifaddr 45 11K 11K 78643K 47 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1469 0 0 iov 0 0K 24K 78643K 8 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1199 75K 75K 78643K 1226 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 3 0 0 VM map 2 1K 1K 78643K 2 0 0 sem 11 0K 0K 78643K 14 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12628 0 0 file desc 5 13K 21K 78643K 45 0 0 sigio 0 0K 0K 78643K 2 0 0 proc 53 50K 71K 78643K 320 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 in_multi 33 2K 2K 78643K 33 0 0 ether_multi 1 0K 0K 78643K 2 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 66 291K 291K 78643K 66 0 0 exec 0 0K 1K 78643K 189 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 20K 78643K 960 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 NDP 8 0K 0K 78643K 12 0 0 temp 110 2366K 2430K 78643K 3140 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 46 0 39 1 0 1 1 0 8 0 plimitpl 152 16 0 8 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 tcpqe 32 8 0 8 1 0 1 1 0 8 1 tcpcb 544 12 0 8 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 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 12 0 2 1 0 1 1 0 8 0 pfstkey 112 12 0 2 1 0 1 1 0 8 0 pfstate 328 12 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 184 0 0 12 0 12 12 0 8 0 art_table 32 185 0 0 2 0 2 2 0 8 0 art_node 16 41 0 7 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 0 1 0 1 1 0 8 0 semapl 112 10 0 1 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 1490 0 75 46 0 46 46 0 8 0 ffsino 272 1490 0 75 95 0 95 95 0 8 0 nchpl 144 1753 0 125 61 0 61 61 0 8 0 uvmvnodes 72 1535 0 0 28 0 28 28 0 8 0 vnodes 200 1535 0 0 81 0 81 81 0 8 0 namei 1024 4502 0 4502 2 1 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scxspl 192 4291 0 4290 7 5 2 6 0 8 1 sigapl 432 241 0 226 2 0 2 2 0 8 0 futexpl 56 398 0 398 1 0 1 1 0 8 1 knotepl 112 67 0 40 2 0 2 2 0 8 1 kqueuepl 104 6 0 4 1 0 1 1 0 8 0 pipepl 112 152 0 133 2 1 1 1 0 8 0 fdescpl 488 242 0 226 3 0 3 3 0 8 0 filepl 152 1278 0 1176 6 0 6 6 0 8 2 lockfpl 104 15 0 15 2 1 1 1 0 8 1 lockfspl 32 29 0 29 2 1 1 1 0 8 1 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 18 0 7 1 0 1 1 0 8 0 ucredpl 96 166 0 157 1 0 1 1 0 8 0 zombiepl 144 226 0 226 2 1 1 1 0 8 1 processpl 840 257 0 226 4 0 4 4 0 8 0 procpl 600 317 0 276 4 0 4 4 0 8 0 srpgc 64 1 0 1 1 0 1 1 0 8 1 sockpl 384 90 0 69 3 0 3 3 0 8 0 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 113 0 0 14 0 14 14 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 123 0 0 8 0 8 8 0 8 0 bufpl 256 5471 0 1046 277 0 277 277 0 8 0 anonpl 16 30845 0 22701 36 2 34 34 0 125 0 amapchunkpl 152 907 0 817 6 1 5 5 0 158 1 amappl16 192 644 0 223 22 0 22 22 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 26 0 22 1 0 1 1 0 8 0 amappl13 168 42 0 37 1 0 1 1 0 8 0 amappl12 160 25 0 22 1 0 1 1 0 8 0 amappl11 152 214 0 200 1 0 1 1 0 8 0 amappl10 144 72 0 67 1 0 1 1 0 8 0 amappl9 136 365 0 361 1 0 1 1 0 8 0 amappl8 128 144 0 128 1 0 1 1 0 8 0 amappl7 120 44 0 39 1 0 1 1 0 8 0 amappl6 112 59 0 51 1 0 1 1 0 8 0 amappl5 104 118 0 105 1 0 1 1 0 8 0 amappl4 96 308 0 287 2 1 1 2 0 8 0 amappl3 88 123 0 116 1 0 1 1 0 8 0 amappl2 80 973 0 919 2 0 2 2 0 8 0 amappl1 72 14642 0 14197 24 9 15 19 0 8 5 amappl 72 557 0 521 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 242 0 226 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 242 0 226 1 0 1 1 0 8 0 vmmpekpl 168 5937 0 5914 2 0 2 2 0 8 0 vmmpepl 168 33171 0 31750 84 10 74 74 0 357 12 vmsppl 360 241 0 226 2 0 2 2 0 8 0 pdppl 4096 492 0 452 6 0 6 6 0 8 0 pvpl 32 118834 0 107576 104 6 98 99 0 265 5 pmappl 224 241 0 226 2 0 2 2 0 8 1 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 425 0 4 13 0 13 13 0 8 0