login: uvm_fault(0xfffffd807f00c5c0, 0x9b, 0, 1) -> e kernel: page fault trap, code=0 Stopped at bpfioctl+0xc7: movzbl 0x9b(%r14),%ebx ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic kernel page fault uvm_fault(0xfffffd807f00c5c0, 0x9b, 0, 1) -> e bpfioctl(31700,80044270,ffff800020b6f1b0,1,ffff800020ab0c70) at bpfioctl+0xc7 sys/net/bpf.c:674 end trace frame: 0xffff800020b6f090, count: 0 ddb{0}> trace bpfioctl(31700,80044270,ffff800020b6f1b0,1,ffff800020ab0c70) at bpfioctl+0xc7 sys/net/bpf.c:674 VOP_IOCTL(fffffd8076f60428,80044270,ffff800020b6f1b0,1,fffffd807f7c69c0,ffff800020ab0c70) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd806cf1c3a0,80044270,ffff800020b6f1b0,ffff800020ab0c70) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff800020ab0c70,ffff800020b6f2c8,ffff800020b6f310) at sys_ioctl+0x5b9 syscall(ffff800020b6f390) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800020b6f390) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff0d,0,3,f9a1b74f1b0) at Xsyscall+0x128 end of kernel end trace frame: 0xf9c7d62d6a0, count: -6 ddb{0}> show registers rdi 0x100 rsi 0x300 rbp 0xffff800020b6efe0 rbx 0x300 rdx 0xffff800020b6f1b0 rcx 0x1 rax 0 r8 0xffff800020ab0c70 r9 0x5 r10 0x5c8ec5bb2d0d9fe8 r11 0xca0cb2b9ecb9590 r12 0x80044270 __kernel_virt_to_phys+0x44270 r13 0xffff800020ab0c70 r14 0 r15 0xffff800020b6f1b0 rip 0xffffffff8217a297 bpfioctl+0xc7 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800020b6ef70 ss 0x10 bpfioctl+0xc7: movzbl 0x9b(%r14),%ebx ddb{0}> show proc PROC (syz-executor.0) pid=122390 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020ab0780,0xffffffff82670cc8 process=0xffff800020adc000 user=0xffff800020b6a000, vmspace=0xfffffd807f00c5c0 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 2556 337506 563 0 2 0 syz-executor.0 2556 6270 563 0 2 0x4000000 syz-executor.0 2556 492740 563 0 2 0x4000000 syz-executor.0 * 2556 122390 563 0 7 0x4000000 syz-executor.0 563 341311 97226 0 3 0x82 nanosleep syz-executor.0 97226 38918 91027 0 3 0x82 thrsleep syz-execprog 97226 343206 91027 0 7 0x4000482 syz-execprog 97226 497694 91027 0 3 0x4000082 thrsleep syz-execprog 97226 130110 91027 0 3 0x4000082 thrsleep syz-execprog 97226 510614 91027 0 3 0x4000082 thrsleep syz-execprog 97226 437355 91027 0 3 0x4000082 thrsleep syz-execprog 97226 85496 91027 0 3 0x4000082 thrsleep syz-execprog 97226 299780 91027 0 3 0x4000082 thrsleep syz-execprog 97226 210709 91027 0 3 0x4000082 kqread syz-execprog 91027 301180 66582 0 3 0x10008a pause ksh 66582 304645 51490 0 3 0x92 select sshd 74578 429477 1 0 3 0x100083 ttyin getty 51490 521587 1 0 3 0x80 select sshd 4637 519682 54856 74 3 0x100092 bpf pflogd 54856 487992 1 0 3 0x80 netio pflogd 87888 353136 39349 73 2 0x100090 syslogd 39349 54940 1 0 3 0x100082 netio syslogd 29072 139698 1 77 3 0x100090 poll dhclient 88537 75946 1 0 3 0x80 poll dhclient 14965 138720 0 0 3 0x14200 pgzero zerothread 71714 19260 0 0 3 0x14200 aiodoned aiodoned 480 209118 0 0 3 0x14200 syncer update 13726 158622 0 0 3 0x14200 cleaner cleaner 97727 114807 0 0 3 0x14200 reaper reaper 51680 464148 0 0 3 0x14200 pgdaemon pagedaemon 97114 397366 0 0 3 0x14200 bored crynlk 29454 324404 0 0 3 0x14200 bored crypto 26620 121348 0 0 3 0x40014200 acpi0 acpi0 34936 471686 0 0 3 0x40014200 idle1 49452 478683 0 0 3 0x14200 bored softnet 13311 319638 0 0 3 0x14200 bored systqmp 300 242397 0 0 3 0x14200 bored systq 44027 155374 0 0 2 0x40014200 softclock 90581 397247 0 0 3 0x40014200 idle0 65357 435983 0 0 3 0x14200 bored smr 1 25677 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 2556 (syz-executor.0) thread 0xffff800020ab0c70 (122390) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff826379f8) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 syscall+0x400 mi_syscall sys/sys/syscall_mi.h:83 [inline] #1 syscall+0x400 sys/arch/amd64/amd64/trap.c:555 #2 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9464 6514K 6579K 78643K 10687 0 0 pcb 13 8K 8K 78643K 13 0 0 rtable 63 2K 2K 78643K 231 0 0 ifaddr 32 9K 9K 78643K 102 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1468 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1183 74K 74K 78643K 1225 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 1K 78643K 2 0 0 VM map 2 1K 1K 78643K 2 0 0 sem 2 0K 0K 78643K 2 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1809 196K 290K 78643K 12843 0 0 file desc 3 8K 12K 78643K 30 0 0 proc 59 63K 83K 78643K 384 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 in_multi 11 0K 1K 78643K 22 0 0 ether_multi 1 0K 0K 78643K 1 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 30 132K 132K 78643K 30 0 0 exec 0 0K 1K 78643K 199 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 76 12K 12K 78643K 1008 0 0 UVM aobj 2 2K 2K 78643K 2 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 NDP 5 0K 0K 78643K 23 0 0 temp 48 3538K 3602K 78643K 3515 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 2 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 17 0 15 1 0 1 1 0 8 0 rtentry 112 34 0 11 1 0 1 1 0 8 0 unpcb 120 55 0 43 1 0 1 1 0 8 0 syncache 264 5 0 5 1 0 1 1 0 8 1 tcpcb 544 8 0 5 1 0 1 1 0 8 0 inpcb 280 33 0 27 1 0 1 1 0 8 0 nd6 48 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 10 0 0 1 0 1 1 0 8 0 pfstkey 112 10 0 0 1 0 1 1 0 8 0 pfstate 328 10 0 0 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 167 0 47 11 0 11 11 0 8 2 art_table 32 168 0 47 2 0 2 2 0 8 0 art_node 16 33 0 12 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1460 0 57 46 0 46 46 0 8 0 ffsino 272 1460 0 57 94 0 94 94 0 8 0 nchpl 144 1711 0 98 60 0 60 60 0 8 0 uvmvnodes 72 1496 0 0 28 0 28 28 0 8 0 vnodes 208 1496 0 0 79 0 79 79 0 8 0 namei 1024 4500 0 4500 1 0 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scxspl 192 4196 0 4196 2 1 1 2 0 8 1 plimitpl 152 15 0 8 1 0 1 1 0 8 0 sigapl 432 238 0 224 2 0 2 2 0 8 0 futexpl 56 377 0 377 1 0 1 1 0 8 1 knotepl 112 39 0 28 1 0 1 1 0 8 0 kqueuepl 104 2 0 0 1 0 1 1 0 8 0 pipepl 112 154 0 141 1 0 1 1 0 8 0 fdescpl 488 239 0 224 3 0 3 3 0 8 0 filepl 152 1366 0 1298 3 0 3 3 0 8 0 lockfpl 104 5 0 4 1 0 1 1 0 8 0 lockfspl 48 3 0 2 1 0 1 1 0 8 0 sessionpl 112 19 0 9 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 96 130 0 121 1 0 1 1 0 8 0 zombiepl 144 224 0 224 1 0 1 1 0 8 1 processpl 896 254 0 224 4 0 4 4 0 8 0 procpl 632 299 0 258 4 0 4 4 0 8 0 srpgc 64 2 0 2 1 0 1 1 0 8 1 sockpl 384 105 0 85 3 0 3 3 0 8 1 mcl4k 4096 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 75 0 0 10 0 10 10 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 122 0 0 8 0 8 8 0 8 0 bufpl 256 5897 0 1315 287 0 287 287 0 8 0 anonpl 16 23073 0 21279 15 1 14 14 0 124 6 amapchunkpl 152 906 0 838 5 0 5 5 0 158 1 amappl16 192 215 0 167 3 0 3 3 0 8 0 amappl14 176 42 0 35 1 0 1 1 0 8 0 amappl13 168 1 0 1 1 1 0 1 0 8 0 amappl12 160 3 0 3 1 1 0 1 0 8 0 amappl11 152 50 0 35 1 0 1 1 0 8 0 amappl10 144 13 0 11 1 0 1 1 0 8 0 amappl9 136 461 0 456 1 0 1 1 0 8 0 amappl8 128 125 0 116 1 0 1 1 0 8 0 amappl7 120 35 0 30 1 0 1 1 0 8 0 amappl6 112 77 0 68 1 0 1 1 0 8 0 amappl5 104 122 0 108 1 0 1 1 0 8 0 amappl4 96 512 0 483 1 0 1 1 0 8 0 amappl3 88 114 0 109 1 0 1 1 0 8 0 amappl2 80 1049 0 982 3 0 3 3 0 8 1 amappl1 72 15637 0 15187 26 8 18 20 0 8 8 amappl 80 525 0 494 1 0 1 1 0 84 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 1 0 0 1 0 1 1 0 8 0 uaddrrnd 24 239 0 224 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 239 0 224 1 0 1 1 0 8 0 vmmpekpl 168 6513 0 6490 2 0 2 2 0 8 0 vmmpepl 168 33638 0 32612 89 8 81 81 0 357 36 vmsppl 368 238 0 224 2 0 2 2 0 8 0 pdppl 4096 485 0 448 6 0 6 6 0 8 1 pvpl 32 114765 0 110528 116 0 116 116 0 265 81 pmappl 232 238 0 224 1 0 1 1 0 8 0 extentpl 40 38 0 22 1 0 1 1 0 8 0 phpool 112 429 0 3 13 0 13 13 0 8 0 ddb{0}>