uvm_fault(0xfffffd806c8e9b98, 0x30, 0, 1) -> e kernel: page fault trap, code=0 Stopped at bpfioctl+0x1153: movq 0x30(%rax),%rdi TID PID UID PRFLAGS PFLAGS CPU COMMAND *405318 98560 0 0 0x4000000 0 syz-executor bpfioctl(31700,20004269,ffff80002a8c3c90,3,ffff80002a840fc8) at bpfioctl+0x1153 sys/net/bpf.c:892 VOP_IOCTL(fffffd806a868460,20004269,ffff80002a8c3c90,3,fffffd8007bfda28,ffff80002a840fc8) at VOP_IOCTL+0xa3 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd80764be970,20004269,ffff80002a8c3c90,ffff80002a840fc8) at vn_ioctl+0xea sys/kern/vfs_vnops.c:531 sys_ioctl(ffff80002a840fc8,ffff80002a8c3e60,ffff80002a8c3db0) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80002a8c3e60) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a8c3e60) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf9e24063b10, count: 9 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic *cpu0: uvm_fault(0xfffffd806c8e9b98, 0x30, 0, 1) -> e ddb> trace bpfioctl(31700,20004269,ffff80002a8c3c90,3,ffff80002a840fc8) at bpfioctl+0x1153 sys/net/bpf.c:892 VOP_IOCTL(fffffd806a868460,20004269,ffff80002a8c3c90,3,fffffd8007bfda28,ffff80002a840fc8) at VOP_IOCTL+0xa3 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd80764be970,20004269,ffff80002a8c3c90,ffff80002a840fc8) at vn_ioctl+0xea sys/kern/vfs_vnops.c:531 sys_ioctl(ffff80002a840fc8,ffff80002a8c3e60,ffff80002a8c3db0) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80002a8c3e60) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a8c3e60) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf9e24063b10, count: -6 ddb> show registers rdi 0xffff80002f8f2000 rsi 0x247 rbp 0xffff80002a8c3ac0 rbx 0x301 rdx 0xffff80002f8f2000 rcx 0x246 rax 0 r8 0 r9 0 r10 0 r11 0x6b695ba04a9cb04 r12 0 r13 0xffffffff837abff0 cpu_info_full_primary+0x1ff0 r14 0xffff800001626200 r15 0xffff8000016262a0 rip 0xffffffff830520e3 bpfioctl+0x1153 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a8c3a60 ss 0x10 bpfioctl+0x1153: movq 0x30(%rax),%rdi ddb> show proc PROC (syz-executor) tid=405318 pid=98560 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=84, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a840568,0xffff80002a8417a0 process=0xffff80003c9abaa0 user=0xffff80002a8be000, vmspace=0xfffffd806c8e9b98 estcpu=34, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 98560 378340 58868 0 2 0 syz-executor 98560 37440 58868 0 3 0x4000000 netlock syz-executor 98560 145250 58868 0 2 0x4000000 syz-executor *98560 405318 58868 0 7 0x4000000 syz-executor 66104 476229 85090 0 2 0 syz-executor 66104 307418 85090 0 2 0x4000000 syz-executor 66104 461470 85090 0 2 0x4000000 syz-executor 66104 412929 85090 0 2 0x4000000 syz-executor 67830 180291 41468 0 2 0 syz-executor 67830 483577 41468 0 3 0x4000080 fsleep syz-executor 67830 476738 41468 0 3 0x4000080 fsleep syz-executor 67830 167466 41468 0 3 0x4000080 fsleep syz-executor 91707 467443 82907 0 3 0x80 nanoslp syz-executor 91707 395868 82907 0 3 0x4000080 fsleep syz-executor 91707 443217 82907 0 3 0x4000080 fsleep syz-executor 91707 523450 82907 0 2 0x4000000 syz-executor 2850 14317 947 0 2 0 syz-executor 2850 374830 947 0 3 0x4000080 fsleep syz-executor 2850 1915 947 0 2 0x4000000 syz-executor 2850 217185 947 0 2 0x4000000 syz-executor 82907 198908 97265 0 2 0x3 syz-executor 85090 202406 97265 0 2 0x3 syz-executor 67760 241677 0 0 3 0x14200 acct acct 58868 28454 97265 0 2 0x3 syz-executor 45544 36076 1 0 3 0x100083 ttyin getty 68533 210240 0 0 3 0x14280 nfsidl nfsio 28033 119795 0 0 3 0x14280 nfsidl nfsio 35517 370191 0 0 3 0x14280 nfsidl nfsio 50700 76284 0 0 3 0x14280 nfsidl nfsio 44346 277043 0 0 3 0x14280 nfsidl nfsio 20232 411273 0 0 3 0x14280 nfsidl nfsio 92423 4931 0 0 3 0x14280 nfsidl nfsio 42861 274061 0 0 3 0x14280 nfsidl nfsio 32093 428408 0 0 3 0x14280 nfsidl nfsio 53012 86630 0 0 3 0x14280 nfsidl nfsio 16605 327688 0 0 3 0x14280 nfsidl nfsio 54095 477389 0 0 3 0x14280 nfsidl nfsio 52516 150071 0 0 3 0x14280 nfsidl nfsio 43897 150208 0 0 3 0x14280 nfsidl nfsio 20037 123193 0 0 3 0x14280 nfsidl nfsio 59959 403693 0 0 3 0x14280 nfsidl nfsio 2373 288988 0 0 3 0x14280 nfsidl nfsio 9278 487383 0 0 3 0x14280 nfsidl nfsio 81016 370316 0 0 3 0x14280 nfsidl nfsio 91524 496894 0 0 3 0x14280 nfsidl nfsio 41468 61658 97265 0 2 0x3 syz-executor 947 228065 97265 0 2 0x3 syz-executor 18354 308889 97265 0 2 0x2 syz-executor 1729 489846 97265 0 2 0x2 syz-executor 38491 212457 97265 0 2 0x2 syz-executor 97265 507975 6504 0 3 0x82 kqread syz-executor 6504 319866 61354 0 3 0x10008a sigsusp ksh 61354 204028 32637 0 3 0x98 kqread sshd-session 32637 121173 83652 0 3 0x92 kqread sshd-session 83652 98938 1 0 3 0x88 kqread sshd 32084 278884 41387 73 3 0x1100090 kqread syslogd 41387 68985 1 0 3 0x100082 sbwait syslogd 62885 94534 1 0 2 0x100001 resolvd 16517 32946 70290 77 2 0x100013 dhcpleased 51664 22332 70290 77 3 0x100092 kqread dhcpleased 70290 491817 1 0 3 0x80 kqread dhcpleased 43474 129115 0 0 3 0x14200 bored smr 48422 66832 0 0 2 0x14200 zerothread 52673 126597 0 0 3 0x14200 aiodoned aiodoned 96196 136377 0 0 3 0x14200 syncer update 39522 290429 0 0 3 0x14200 cleaner cleaner 3939 103271 0 0 3 0x14200 reaper reaper 22114 331911 0 0 3 0x14200 pgdaemon pagedaemon 76560 257816 0 0 3 0x14200 bored viomb 39553 427030 0 0 3 0x40014200 acpi0 acpi0 16397 212014 0 0 3 0x14200 bored softnet0 78548 94508 0 0 3 0x14200 bored systqmp 4637 415474 0 0 3 0x14200 bored systq 23043 151693 0 0 3 0x40014200 tmoslp softclock 98746 283042 0 0 3 0x40014200 idle0 1 473127 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11118 12282K 13314K 166960K 15407 0 pcb 19 13K 14K 166960K 379 0 rtable 245 10K 10K 166960K 600 0 pf 34 13K 14K 166960K 136 0 ifaddr 43 8K 8K 166960K 105 0 ifgroup 52 2K 2K 166960K 159 0 sysctl 4 1K 9K 166960K 15 0 counters 34 17K 18K 166960K 90 0 ioctlops 0 0K 4K 166960K 345 0 iov 0 0K 24K 166960K 78 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1528 96K 96K 166960K 2973 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 25 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 237 0 dirhash 12 2K 2K 166960K 30 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 97K 166960K 1375 0 sigio 0 0K 0K 166960K 17 0 proc 60 59K 108K 166960K 726 0 subproc 72 4K 4K 166960K 99 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 170 0 in_multi 99 7K 7K 166960K 185 0 ether_multi 1 0K 0K 166960K 24 0 mrt 3 0K 0K 166960K 24 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 115 519K 519K 166960K 115 0 exec 0 0K 1K 166960K 601 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 232 163K 179K 166960K 13704 0 UVM aobj 104 15K 15K 166960K 109 0 pinsyscall 37 74K 94K 166960K 2549 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 103 0 NDP 12 0K 2K 166960K 74 0 temp 79 8672K 8792K 166960K 76575 0 kqueue 14 22K 31K 166960K 264 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 191 0 188 3 2 1 3 0 8 0 rtentry 136 176 0 74 4 0 4 4 0 8 0 unpcb 144 1036 0 1015 9 5 4 6 0 8 3 syncache 336 6 0 6 2 1 1 1 0 8 1 tcpqe 32 4 0 4 2 1 1 1 0 8 1 tcpcb 736 371 0 361 5 3 2 4 0 8 1 arp 96 29 0 9 1 0 1 1 0 8 0 ipq 40 4 0 2 1 0 1 1 0 8 0 ipqe 40 133 0 131 1 0 1 1 0 8 0 inpcb 328 1179 0 1161 10 3 7 7 0 8 5 ip6q 72 3 0 2 1 0 1 1 0 8 0 ip6af 40 5 0 4 1 0 1 1 0 8 0 nd6 112 34 0 10 1 0 1 1 0 8 0 pkpcb 40 6 0 6 2 1 1 1 0 8 1 kcovpl 48 11 0 3 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 46 0 45 2 1 1 1 0 8 0 pppxif 1384 2 0 2 1 1 0 1 0 8 0 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pfrktable 1344 1 0 1 1 1 0 1 0 8 0 pfstkey 128 2 0 2 1 1 0 1 0 8 0 pfstate 384 1 0 1 1 1 0 1 0 8 0 rttmr 136 3 0 3 2 1 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 838 0 419 35 6 29 33 0 8 2 art_table 40 841 0 419 6 0 6 6 0 8 0 art_node 32 172 0 82 1 0 1 1 0 8 0 sysvmsgpl 40 39 0 35 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 188 0 178 1 0 1 1 0 8 0 shmpl 112 98 0 3 3 0 3 3 0 8 0 dirhash 1024 29 0 12 3 0 3 3 0 8 0 dino2pl 256 3912 0 2413 95 0 95 95 0 8 0 ffsino 256 3912 0 2413 95 0 95 95 0 8 0 nchpl 144 5845 0 4148 64 0 64 64 0 8 0 rtmask 32 9 0 9 2 1 1 1 0 8 1 vnodes 216 5085 0 0 283 0 283 283 0 8 0 namei 1024 21910 0 21907 3 2 1 2 0 8 0 vcpupl 3904 6 0 0 1 0 1 1 0 8 0 vmpool 808 8 0 2 1 0 1 1 0 8 0 kstatmem 264 102 0 78 2 0 2 2 0 8 0 scsiplug 72 3 0 3 2 1 1 1 0 8 1 scxspl 216 21146 0 21146 10 7 3 8 1 8 3 plimitpl 152 437 0 420 1 0 1 1 0 8 0 sigapl 424 1684 0 1622 8 0 8 8 0 8 0 knotepl 120 257539 0 257490 30 20 10 17 0 8 8 kqueuepl 184 436 0 425 2 1 1 2 0 8 0 pipepl 304 419 0 391 8 5 3 8 0 8 0 fdescpl 448 1649 0 1621 5 1 4 5 0 8 0 filepl 120 11762 0 11466 16 6 10 14 0 8 0 lockfpl 104 566 0 562 2 1 1 2 0 8 0 lockfspl 48 193 0 189 1 0 1 1 0 8 0 sessionpl 144 28 0 20 1 0 1 1 0 8 0 pgrppl 48 59 0 43 1 0 1 1 0 8 0 ucredpl 104 1622 0 1611 1 0 1 1 0 8 0 zombiepl 144 1804 0 1804 2 1 1 1 0 8 1 processpl 1152 1684 0 1622 5 0 5 5 0 8 0 procpl 664 3541 0 3464 8 0 8 8 0 8 0 sosppl 176 9 0 9 2 1 1 1 0 8 1 sockpl 552 2462 0 2420 18 10 8 13 0 8 4 mcl64k 65536 86 0 86 2 1 1 1 0 8 1 mcl16k 16384 7 0 7 1 1 0 1 0 8 0 mcl12k 12288 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 15 0 15 2 1 1 1 0 8 1 mcl4k 4096 4171 0 4118 17 8 9 15 0 8 1 mcl2k 2048 2139 0 2136 9 7 2 9 0 8 0 mtagpl 96 70 0 31 2 0 2 2 0 8 0 mbufpl 256 22370 0 22205 274 257 17 272 0 8 2 bufpl 280 6744 0 523 445 0 445 445 0 8 0 anonpl 24 265713 0 258591 77 7 70 70 0 187 6 amapchunkpl 152 47077 0 46561 41 6 35 35 0 158 10 amappl16 200 5001 0 4790 45 23 22 28 0 8 0 amappl15 192 9 0 9 1 1 0 1 0 8 0 amappl14 184 5 0 4 1 0 1 1 0 8 0 amappl13 176 443 0 442 1 0 1 1 0 8 0 amappl12 168 2021 0 1984 2 0 2 2 0 8 0 amappl11 160 3 0 3 1 1 0 1 0 8 0 amappl10 152 45 0 35 1 0 1 1 0 8 0 amappl9 144 254 0 253 1 0 1 1 0 8 0 amappl8 136 22 0 19 1 0 1 1 0 8 0 amappl7 128 131 0 130 1 0 1 1 0 8 0 amappl6 120 305 0 293 1 0 1 1 0 8 0 amappl5 112 77 0 69 1 0 1 1 0 8 0 amappl4 104 419 0 393 1 0 1 1 0 8 0 amappl3 96 9369 0 9275 4 0 4 4 0 8 0 amappl2 88 571 0 514 2 0 2 2 0 8 0 amappl1 80 14551 0 14020 13 0 13 13 0 8 0 amappl 88 12700 0 12539 5 0 5 5 0 92 0 uvmvnodes 80 136 0 0 3 0 3 3 0 8 0 dma4096 4096 3 0 3 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 255 0 255 2 1 1 1 0 8 1 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 108 0 5 2 0 2 2 0 8 0 uaddrrnd 24 1649 0 1621 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1649 0 1621 1 0 1 1 0 8 0 vmmpekpl 168 13958 0 13912 3 0 3 3 0 8 0 vmmpepl 168 108751 0 106848 103 7 96 103 0 357 0 vmsppl 368 1648 0 1621 4 1 3 4 0 8 0 rwobjpl 40 29444 0 28176 15 0 15 15 0 8 0 pdppl 4096 3320 0 3252 125 53 72 82 0 8 4 pvpl 32 730703 0 718223 156 24 132 151 0 265 5 pmappl 216 1656 0 1623 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 685 0 344 18 5 13 18 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace bpfioctl(31700,20004269,ffff80002a8c3c90,3,ffff80002a840fc8) at bpfioctl+0x1153 sys/net/bpf.c:892 VOP_IOCTL(fffffd806a868460,20004269,ffff80002a8c3c90,3,fffffd8007bfda28,ffff80002a840fc8) at VOP_IOCTL+0xa3 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd80764be970,20004269,ffff80002a8c3c90,ffff80002a840fc8) at vn_ioctl+0xea sys/kern/vfs_vnops.c:531 sys_ioctl(ffff80002a840fc8,ffff80002a8c3e60,ffff80002a8c3db0) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80002a8c3e60) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a8c3e60) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf9e24063b10, count: -6 ddb> machine ddbcpu 1 No such command ddb> trace bpfioctl(31700,20004269,ffff80002a8c3c90,3,ffff80002a840fc8) at bpfioctl+0x1153 sys/net/bpf.c:892 VOP_IOCTL(fffffd806a868460,20004269,ffff80002a8c3c90,3,fffffd8007bfda28,ffff80002a840fc8) at VOP_IOCTL+0xa3 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd80764be970,20004269,ffff80002a8c3c90,ffff80002a840fc8) at vn_ioctl+0xea sys/kern/vfs_vnops.c:531 sys_ioctl(ffff80002a840fc8,ffff80002a8c3e60,ffff80002a8c3db0) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80002a8c3e60) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a8c3e60) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf9e24063b10, count: -6