uvm_fault(0xfffffd806c98db90, 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
*496751 22101 0 0 0x4000000 0 syz-executor
bpfioctl(31700,20004269,ffff80003c951420,1,ffff80003c93a550) at bpfioctl+0x1153 sys/net/bpf.c:892
VOP_IOCTL(fffffd806790f648,20004269,ffff80003c951420,1,fffffd8007bfd9c0,ffff80003c93a550) at VOP_IOCTL+0xa3 sys/kern/vfs_vops.c:264
vn_ioctl(fffffd806d00c018,20004269,ffff80003c951420,ffff80003c93a550) at vn_ioctl+0xea sys/kern/vfs_vnops.c:531
sys_ioctl(ffff80003c93a550,ffff80003c9515f0,ffff80003c951540) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1
syscall(ffff80003c9515f0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80003c9515f0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x2f70a458610, 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(0xfffffd806c98db90, 0x30, 0, 1) -> e
ddb> trace
bpfioctl(31700,20004269,ffff80003c951420,1,ffff80003c93a550) at bpfioctl+0x1153 sys/net/bpf.c:892
VOP_IOCTL(fffffd806790f648,20004269,ffff80003c951420,1,fffffd8007bfd9c0,ffff80003c93a550) at VOP_IOCTL+0xa3 sys/kern/vfs_vops.c:264
vn_ioctl(fffffd806d00c018,20004269,ffff80003c951420,ffff80003c93a550) at vn_ioctl+0xea sys/kern/vfs_vnops.c:531
sys_ioctl(ffff80003c93a550,ffff80003c9515f0,ffff80003c951540) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1
syscall(ffff80003c9515f0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80003c9515f0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x2f70a458610, count: -6
ddb> show registers
rdi 0
rsi 0
rbp 0xffff80003c951250
rbx 0x301
rdx 0
rcx 0xffffffff8378fff0 cpu_info_full_primary+0x1ff0
rax 0
r8 0x11
r9 0
r10 0xe149406d1c8cb732
r11 0x4873bb9fe3c8311f
r12 0
r13 0xffffffff8378fff0 cpu_info_full_primary+0x1ff0
r14 0xffff80000160bc00
r15 0xffff80000160bca0
rip 0xffffffff8100ecd3 bpfioctl+0x1153
cs 0x8
rflags 0x10246 __ALIGN_SIZE+0xf246
rsp 0xffff80003c9511f0
ss 0x10
bpfioctl+0x1153: movq 0x30(%rax),%rdi
ddb> show proc
PROC (syz-executor) tid=496751 pid=22101 tcnt=4 stat=onproc
flags process=0 proc=4000000<THREAD>
runpri=32, usrpri=83, slppri=32, nice=20
wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
forw=0xffffffffffffffff, list=0xffff80003c979790,0xffff80003c93aa90
process=0xffff8000ffff8018 user=0xffff80003c94c000, vmspace=0xfffffd806c98db90
estcpu=33, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0
ddb> ps
PID TID PPID UID S FLAGS WAIT COMMAND
96204 104947 10306 0 2 0 syz-executor
96204 115465 10306 0 3 0x4000000 netlock syz-executor
96204 164819 10306 0 3 0x4000080 fsleep syz-executor
9698 855 14030 0 3 0 vmmaplk syz-executor
9698 396930 14030 0 3 0x4000080 fsleep syz-executor
9698 91430 14030 0 2 0x4000000 syz-executor
996 446885 15449 0 2 0 syz-executor
996 229508 15449 0 2 0x4000000 syz-executor
996 244126 15449 0 2 0x4000000 syz-executor
996 450603 15449 0 2 0x4000000 syz-executor
83160 382871 40766 0 3 0x3000 suspend syz-executor
83160 100289 40766 0 2 0x4081000 syz-executor
45652 34991 29014 0 2 0 syz-executor
45652 519838 29014 0 3 0x4000080 fsleep syz-executor
45652 397604 29014 0 2 0x4000000 syz-executor
38866 259976 78383 0 2 0 syz-executor
38866 422540 78383 0 3 0x4000080 kqread syz-executor
38866 324844 78383 0 3 0x4000080 fsleep syz-executor
22101 175686 34180 0 2 0 syz-executor
22101 70013 34180 0 3 0x4000000 netlock syz-executor
*22101 496751 34180 0 7 0x4000000 syz-executor
22101 515005 34180 0 2 0x4000000 syz-executor
49309 482859 0 0 3 0x14280 nfsidl nfsio
70832 183743 0 0 3 0x14280 nfsidl nfsio
31490 99583 0 0 3 0x14280 nfsidl nfsio
418 198702 0 0 3 0x14280 nfsidl nfsio
97412 168616 0 0 3 0x14280 nfsidl nfsio
26439 116186 0 0 3 0x14280 nfsidl nfsio
31186 231617 0 0 3 0x14280 nfsidl nfsio
95950 441484 0 0 3 0x14280 nfsidl nfsio
4148 33239 0 0 3 0x14280 nfsidl nfsio
56632 282704 0 0 3 0x14280 nfsidl nfsio
90833 162181 0 0 3 0x14280 nfsidl nfsio
94521 370219 0 0 3 0x14280 nfsidl nfsio
64828 156621 0 0 3 0x14280 nfsidl nfsio
74897 186726 0 0 3 0x14280 nfsidl nfsio
19147 95051 0 0 3 0x14280 nfsidl nfsio
62165 7638 0 0 3 0x14280 nfsidl nfsio
76095 3013 0 0 3 0x14280 nfsidl nfsio
45679 432337 0 0 3 0x14280 nfsidl nfsio
40402 319900 0 0 3 0x14280 nfsidl nfsio
79470 18657 0 0 3 0x14280 nfsidl nfsio
40766 239636 77311 0 3 0x82 nanoslp syz-executor
14030 290381 77311 0 3 0x82 nanoslp syz-executor
20115 79502 1 0 3 0x100083 ttyopn getty
39320 308752 0 0 3 0x14200 acct acct
34180 123412 77311 0 3 0x82 nanoslp syz-executor
78383 382342 77311 0 3 0x82 nanoslp syz-executor
29014 350749 77311 0 3 0x82 nanoslp syz-executor
15449 454635 77311 0 3 0x82 nanoslp syz-executor
10306 306516 77311 0 3 0x82 nanoslp syz-executor
56342 1806 77311 0 2 0x2 syz-executor
77311 47253 71013 0 3 0x82 kqread syz-executor
71013 46032 13772 0 3 0x10008a sigsusp ksh
13772 221337 97223 0 3 0x98 kqread sshd-session
97223 455014 14117 0 3 0x92 kqread sshd-session
14117 290786 1 0 3 0x88 kqread sshd
82143 378726 31447 73 3 0x1100090 kqread syslogd
31447 377532 1 0 3 0x100082 sbwait syslogd
63276 57928 1 0 3 0x100080 kqread resolvd
14235 369599 9803 77 3 0x100092 kqread dhcpleased
68271 338438 9803 77 3 0x100092 kqread dhcpleased
9803 5000 1 0 3 0x80 kqread dhcpleased
2714 318609 0 0 3 0x14200 bored smr
84285 63111 0 0 2 0x14200 zerothread
61799 255975 0 0 3 0x14200 aiodoned aiodoned
23081 322040 0 0 3 0x14200 syncer update
9133 371445 0 0 3 0x14200 cleaner cleaner
99287 206954 0 0 3 0x14200 reaper reaper
59244 304391 0 0 3 0x14200 pgdaemon pagedaemon
37253 433201 0 0 3 0x14200 bored viomb
21368 517912 0 0 3 0x40014200 acpi0 acpi0
90199 203294 0 0 3 0x14200 bored softnet0
48335 509234 0 0 3 0x14200 bored systqmp
94918 419594 0 0 3 0x14200 bored systq
78562 211580 0 0 3 0x40014200 netlock softclock
73690 409012 0 0 3 0x40014200 idle0
1 345902 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 11128 12406K 13309K 166960K 15695 0
pcb 17 17K 19K 166960K 395 0
rtable 256 10K 10K 166960K 687 0
pf 33 13K 14K 166960K 135 0
ifaddr 42 7K 7K 166960K 117 0
ifgroup 57 2K 2K 166960K 180 0
sysctl 4 1K 9K 166960K 17 0
counters 34 17K 18K 166960K 93 0
ioctlops 0 0K 4K 166960K 402 0
iov 0 0K 16K 166960K 57 0
mount 1 1K 1K 166960K 1 0
log 0 0K 0K 166960K 4 0
vnodes 1462 92K 92K 166960K 2985 0
UFS quota 1 32K 32K 166960K 1 0
UFS mount 5 36K 36K 166960K 5 0
shm 2 1K 1K 166960K 2 0
VM map 2 1K 1K 166960K 2 0
sem 12 0K 1K 166960K 113 0
dirhash 12 2K 2K 166960K 42 0
ACPI 1692 195K 286K 166960K 12470 0
file desc 18 65K 97K 166960K 1523 0
sigio 0 0K 0K 166960K 21 0
proc 60 59K 108K 166960K 696 0
subproc 72 4K 4K 166960K 108 0
NFS srvsock 1 0K 0K 166960K 1 0
NFS daemon 1 16K 16K 166960K 1 0
ip_moptions 0 0K 0K 166960K 279 0
in_multi 97 7K 7K 166960K 194 0
ether_multi 1 0K 0K 166960K 11 0
mrt 1 0K 0K 166960K 8 0
ISOFS mount 1 32K 32K 166960K 1 0
MSDOSFS mount 1 16K 16K 166960K 1 0
ttys 91 413K 413K 166960K 91 0
exec 0 0K 1K 166960K 606 0
fusefs mount 1 32K 32K 166960K 1 0
pfkey data 0 0K 0K 166960K 3 0
tdb 3 0K 0K 166960K 3 0
VM swap 8 62K 64K 166960K 10 0
UVM amap 242 151K 174K 166960K 15932 0
UVM aobj 27 10K 12K 166960K 36 0
pinsyscall 39 78K 96K 166960K 2714 0
memdesc 1 4K 4K 166960K 1 0
crypto data 1 1K 1K 166960K 1 0
ip6_options 0 0K 0K 166960K 92 0
NDP 12 0K 2K 166960K 78 0
temp 72 8670K 8738K 166960K 57387 0
kqueue 13 20K 30K 166960K 262 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 113 0 110 1 0 1 1 0 8 0
rtentry 136 192 0 92 4 0 4 4 0 8 0
unpcb 144 903 0 888 4 0 4 4 0 8 3
syncache 336 5 0 5 2 1 1 1 0 8 1
tcpqe 32 3 0 3 1 0 1 1 0 8 1
tcpcb 736 362 0 356 8 6 2 7 0 8 1
arp 96 29 0 11 1 0 1 1 0 8 0
ipq 40 7 0 6 1 0 1 1 0 8 0
ipqe 40 7 0 6 1 0 1 1 0 8 0
inpcb 328 1466 0 1456 18 9 9 10 0 8 8
ip6q 72 8 0 5 1 0 1 1 0 8 0
ip6af 40 10 0 8 1 0 1 1 0 8 0
nd6 112 45 0 16 1 0 1 1 0 8 0
pkpcb 40 37 0 37 1 0 1 1 0 8 1
kcovpl 48 12 0 4 1 0 1 1 0 8 0
mppekey 1024 1 0 1 1 0 1 1 0 8 1
ppxss 1072 43 0 43 2 1 1 1 0 8 1
pppxif 1384 7 0 7 2 1 1 1 0 8 1
pfrktable 1344 3 0 3 1 0 1 1 0 8 1
rttmr 136 2 0 2 2 1 1 1 0 8 1
art_heap8 4096 3 0 0 3 0 3 3 0 8 0
art_heap4 256 894 0 447 33 5 28 29 0 8 0
art_table 40 897 0 447 5 0 5 5 0 8 0
art_node 32 191 0 100 1 0 1 1 0 8 0
sysvmsgpl 40 6 0 4 1 0 1 1 0 8 0
semapl 112 109 0 99 1 0 1 1 0 8 0
shmpl 112 26 0 5 1 0 1 1 0 8 0
dirhash 1024 37 0 20 3 0 3 3 0 8 0
dino2pl 256 4123 0 2620 95 0 95 95 0 8 0
ffsino 256 4123 0 2620 95 0 95 95 0 8 0
nchpl 144 6076 0 4383 65 1 64 64 0 8 0
rtmask 32 9 0 9 2 1 1 1 0 8 1
vnodes 216 5216 0 0 290 0 290 290 0 8 0
namei 1024 21177 0 21177 3 2 1 2 0 8 1
vcpupl 3904 4 0 1 1 0 1 1 0 8 0
vmpool 808 6 0 3 1 0 1 1 0 8 0
kstatmem 264 106 0 82 2 0 2 2 0 8 0
scsiplug 72 4 0 4 2 1 1 1 0 8 1
scxspl 216 18966 0 18966 9 1 8 8 1 8 8
plimitpl 152 344 0 327 1 0 1 1 0 8 0
sigapl 424 1829 0 1765 9 1 8 8 0 8 0
knotepl 120 74113 0 74066 29 19 10 16 0 8 8
kqueuepl 184 529 0 517 6 3 3 4 0 8 2
pipepl 304 350 0 323 10 5 5 8 0 8 2
fdescpl 448 1793 0 1763 5 1 4 5 0 8 0
filepl 120 11131 0 10846 17 5 12 13 0 8 2
lockfpl 104 335 0 333 1 0 1 1 0 8 0
lockfspl 48 152 0 150 1 0 1 1 0 8 0
sessionpl 144 27 0 19 1 0 1 1 0 8 0
pgrppl 48 52 0 36 1 0 1 1 0 8 0
ucredpl 104 1576 0 1564 1 0 1 1 0 8 0
zombiepl 144 2592 0 2591 1 0 1 1 0 8 0
processpl 1152 1829 0 1765 5 0 5 5 0 8 0
procpl 664 4165 0 4085 8 0 8 8 0 8 1
sosppl 176 5 0 5 1 0 1 1 0 8 1
sockpl 552 2553 0 2522 18 8 10 11 0 8 7
mcl64k 65536 123 0 123 2 1 1 1 0 8 1
mcl16k 16384 17 0 17 2 1 1 1 0 8 1
mcl12k 12288 4 0 4 1 0 1 1 0 8 1
mcl9k 9216 8 0 8 2 1 1 1 0 8 1
mcl8k 8192 37 0 36 1 0 1 1 0 8 0
mcl4k 4096 4604 0 4553 16 8 8 15 0 8 1
mcl2k2 2112 3 0 3 1 0 1 1 0 8 1
mcl2k 2048 2428 0 2424 10 6 4 6 0 8 3
mtagpl 96 51 0 23 1 0 1 1 0 8 0
mbufpl 256 20971 0 20596 84 58 26 75 0 8 0
bufpl 280 6425 0 204 445 0 445 445 0 8 0
anonpl 24 262659 0 259482 60 15 45 45 0 187 17
amapchunkpl 152 54850 0 54335 51 16 35 37 0 158 15
amappl16 200 4731 0 4697 26 14 12 15 0 8 8
amappl15 192 7 0 7 1 1 0 1 0 8 0
amappl14 184 6 0 6 1 1 0 1 0 8 0
amappl13 176 456 0 455 1 0 1 1 0 8 0
amappl12 168 2160 0 2122 2 0 2 2 0 8 0
amappl11 160 5 0 5 1 1 0 1 0 8 0
amappl10 152 88 0 78 1 0 1 1 0 8 0
amappl9 144 265 0 265 1 1 0 1 0 8 0
amappl8 136 27 0 26 1 0 1 1 0 8 0
amappl7 128 96 0 94 1 0 1 1 0 8 0
amappl6 120 319 0 308 1 0 1 1 0 8 0
amappl5 112 77 0 68 1 0 1 1 0 8 0
amappl4 104 409 0 386 1 0 1 1 0 8 0
amappl3 96 9428 0 9330 3 0 3 3 0 8 0
amappl2 88 1901 0 1832 2 0 2 2 0 8 0
amappl1 80 15111 0 14567 15 2 13 14 0 8 1
amappl 88 14943 0 14770 5 0 5 5 0 92 0
uvmvnodes 80 141 0 0 3 0 3 3 0 8 0
dma65536 65536 2 0 2 1 1 0 1 0 8 0
dma16384 16384 1 0 1 1 0 1 1 0 8 1
dma4096 4096 2 0 2 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 253 0 253 1 1 0 1 0 8 0
dma64 64 7 0 7 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 35 0 9 1 0 1 1 0 8 0
uaddrrnd 24 1793 0 1763 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 1793 0 1763 1 0 1 1 0 8 0
vmmpekpl 168 15711 0 15661 3 0 3 3 0 8 0
vmmpepl 168 117725 0 115897 92 0 92 92 0 357 9
vmsppl 368 1792 0 1763 4 1 3 4 0 8 0
rwobjpl 40 31684 0 30651 13 0 13 13 0 8 0
pdppl 4096 3605 0 3535 116 46 70 83 0 8 0
pvpl 32 750911 0 742430 143 19 124 124 0 265 37
pmappl 216 1798 0 1766 3 0 3 3 0 8 0
extentpl 40 45 0 27 1 0 1 1 0 8 0
phpool 112 489 0 139 12 0 12 12 0 8 0
ddb> machine ddbcpu 0
No such command
ddb> trace
bpfioctl(31700,20004269,ffff80003c951420,1,ffff80003c93a550) at bpfioctl+0x1153 sys/net/bpf.c:892
VOP_IOCTL(fffffd806790f648,20004269,ffff80003c951420,1,fffffd8007bfd9c0,ffff80003c93a550) at VOP_IOCTL+0xa3 sys/kern/vfs_vops.c:264
vn_ioctl(fffffd806d00c018,20004269,ffff80003c951420,ffff80003c93a550) at vn_ioctl+0xea sys/kern/vfs_vnops.c:531
sys_ioctl(ffff80003c93a550,ffff80003c9515f0,ffff80003c951540) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1
syscall(ffff80003c9515f0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80003c9515f0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x2f70a458610, count: -6
ddb> machine ddbcpu 1
No such command
ddb> trace
bpfioctl(31700,20004269,ffff80003c951420,1,ffff80003c93a550) at bpfioctl+0x1153 sys/net/bpf.c:892
VOP_IOCTL(fffffd806790f648,20004269,ffff80003c951420,1,fffffd8007bfd9c0,ffff80003c93a550) at VOP_IOCTL+0xa3 sys/kern/vfs_vops.c:264
vn_ioctl(fffffd806d00c018,20004269,ffff80003c951420,ffff80003c93a550) at vn_ioctl+0xea sys/kern/vfs_vnops.c:531
sys_ioctl(ffff80003c93a550,ffff80003c9515f0,ffff80003c951540) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1
syscall(ffff80003c9515f0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80003c9515f0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x2f70a458610, count: -6