panic: malloc: allocation too large, type = 2, size = 1768304430 Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 30117 37956 0 0 0x4000000 1K syz-executor 406378 55691 0 0x14000 0x200 0 reaper db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8309b2de) at panic+0x1e5 sys/kern/subr_prf.c:198 malloc(69662f2e,2,2) at malloc+0xcf4 sys/kern/kern_malloc.c:334 bpf_allocbufs(ffff8000014cdc00) at bpf_allocbufs+0x85 sys/net/bpf.c:1659 bpf_setif(ffff8000014cdc00,ffff800035d76a00) at bpf_setif+0x17d sys/net/bpf.c:1201 bpfioctl(31700,8020426c,ffff800035d76a00,1,ffff8000ffff96e8) at bpfioctl+0xd2a sys/net/bpf.c:955 VOP_IOCTL(fffffd807c2c3498,8020426c,ffff800035d76a00,1,fffffd807f7d3340,ffff8000ffff96e8) at VOP_IOCTL+0xac sys/kern/vfs_vops.c:264 vn_ioctl(fffffd807708bac0,8020426c,ffff800035d76a00,ffff8000ffff96e8) at vn_ioctl+0xf8 sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000ffff96e8,ffff800035d76be0,ffff800035d76b30) at sys_ioctl+0x5c3 syscall(ffff800035d76be0) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800035d76be0) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc519be0da90, count: 4 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: malloc: allocation too large, type = 2, size = 1768304430 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8309b2de) at panic+0x1e5 sys/kern/subr_prf.c:198 malloc(69662f2e,2,2) at malloc+0xcf4 sys/kern/kern_malloc.c:334 bpf_allocbufs(ffff8000014cdc00) at bpf_allocbufs+0x85 sys/net/bpf.c:1659 bpf_setif(ffff8000014cdc00,ffff800035d76a00) at bpf_setif+0x17d sys/net/bpf.c:1201 bpfioctl(31700,8020426c,ffff800035d76a00,1,ffff8000ffff96e8) at bpfioctl+0xd2a sys/net/bpf.c:955 VOP_IOCTL(fffffd807c2c3498,8020426c,ffff800035d76a00,1,fffffd807f7d3340,ffff8000ffff96e8) at VOP_IOCTL+0xac sys/kern/vfs_vops.c:264 vn_ioctl(fffffd807708bac0,8020426c,ffff800035d76a00,ffff8000ffff96e8) at vn_ioctl+0xf8 sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000ffff96e8,ffff800035d76be0,ffff800035d76b30) at sys_ioctl+0x5c3 syscall(ffff800035d76be0) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800035d76be0) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc519be0da90, count: -11 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800035d76580 rbx 0xffff800029b5cdc7 rdx 0 rcx 0xffff8000ffff96e8 rax 0xffff800029b5bff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x67f347dc960309c7 r11 0xfd051857200ceba5 r12 0xffff800029b5cbc8 r13 0 r14 0 r15 0x1 rip 0xffffffff81bee6b5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff800035d76570 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=30117 pid=37956 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffff7978,0xffff8000ffff9c08 process=0xffff80002a422250 user=0xffff800035d71000, vmspace=0xfffffd807613a3b8 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 37956 368201 10205 0 2 0 syz-executor *37956 30117 10205 0 7 0x4000000 syz-executor 37956 100993 10205 0 3 0x4000080 fsleep syz-executor 37956 407133 10205 0 3 0x4000080 fsleep syz-executor 97682 172591 58897 0 3 0x3000 suspend syz-executor 97682 326813 58897 0 2 0x4081080 syz-executor 30633 328385 77378 0 2 0 syz-executor 30633 358154 77378 0 3 0x4000080 pipewr syz-executor 25147 486572 1671 0 2 0 syz-executor 25147 61016 1671 0 3 0x4000080 fifor syz-executor 25147 96298 1671 0 3 0x4000000 vmmaplk syz-executor 69324 462766 18312 0 3 0x80 nanoslp syz-executor 69324 244022 18312 0 3 0x4000080 pipewr syz-executor 69324 181204 18312 0 3 0x4000080 fsleep syz-executor 1671 496193 58983 0 3 0x82 nanoslp syz-executor 95645 35322 1 0 3 0x100083 ttyin getty 58897 304117 58983 0 3 0x82 nanoslp syz-executor 10205 444645 58983 0 3 0x82 nanoslp syz-executor 18312 152188 58983 0 3 0x82 nanoslp syz-executor 69300 433527 33000 0 3 0x82 sbwait sshd-session 36194 196708 58983 0 2 0x2 syz-executor 77378 195999 58983 0 3 0x82 nanoslp syz-executor 53261 196966 0 0 3 0x14200 bored sosplice 64892 262247 58983 0 3 0x82 wait syz-executor 64469 490966 58983 0 3 0x82 nanoslp syz-executor 58983 434439 64295 0 3 0x82 kqread syz-executor 64295 494911 3295 0 3 0x10008a sigsusp ksh 3295 117585 56907 0 3 0x98 kqread sshd-session 56907 268858 33000 0 3 0x92 kqread sshd-session 33000 419485 1 0 3 0x88 kqread sshd 126 310846 17542 74 3 0x1100092 bpf pflogd 17542 411506 1 0 3 0x80 sbwait pflogd 46836 70157 27434 73 3 0x1100090 kqread syslogd 27434 478995 1 0 3 0x100082 sbwait syslogd 4738 35906 1 0 3 0x100080 kqread resolvd 72180 112263 16074 77 3 0x100092 kqread dhcpleased 26787 483403 16074 77 3 0x100092 kqread dhcpleased 16074 473839 1 0 3 0x80 kqread dhcpleased 46642 422690 0 0 3 0x14200 bored smr 67738 396621 0 0 2 0x14200 zerothread 89852 511553 0 0 3 0x14200 aiodoned aiodoned 88779 420404 0 0 3 0x14200 syncer update 67991 66898 0 0 3 0x14200 cleaner cleaner 55691 406378 0 0 7 0x14200 reaper 16505 124813 0 0 3 0x14200 pgdaemon pagedaemon 58965 234221 0 0 3 0x14200 bored viomb 88541 360399 0 0 3 0x40014200 acpi0 acpi0 21642 381965 0 0 3 0x40014200 idle1 14022 519965 0 0 3 0x14200 bored softnet3 81368 66257 0 0 3 0x14200 bored softnet2 39281 444330 0 0 3 0x14200 bored softnet1 3203 237919 0 0 3 0x14200 bored softnet0 69258 64369 0 0 3 0x14200 bored systqmp 47146 304272 0 0 3 0x14200 bored systq 6348 152113 0 0 3 0x14200 tmoslp softclockmp 64939 118723 0 0 3 0x40014200 tmoslp softclock 6190 265419 0 0 3 0x40014200 idle0 1 405882 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 0: exclusive mutex &uvm.fpageqlock r = 0 (0xffffffff836414e0) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 mtx_enter_try+0x178 #2 mtx_enter+0x60 sys/kern/kern_lock.c:239 #3 uvm_pmr_freepages+0x165 sys/uvm/uvm_pmemrange.c:1320 #4 pmap_do_remove+0x873 sys/arch/amd64/amd64/pmap.c:1939 #5 uvm_unmap_kill_entry_withlock+0x26f sys/uvm/uvm_map.c:1863 #6 uvm_map_teardown+0x1c7 sys/uvm/uvm_map.c:2496 #7 uvmspace_free+0xcd sys/uvm/uvm_map.c:3420 #8 reaper+0x246 sys/kern/kern_exit.c:477 #9 proc_trampoline+0x10 CPU 1: exclusive mutex &bd->bd_mtx r = 0 (0xffff8000014cdc18) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 mtx_enter_try+0x178 #2 mtx_enter+0x60 sys/kern/kern_lock.c:239 #3 bpf_setif+0x97 sys/net/bpf.c:1200 #4 bpfioctl+0xd2a sys/net/bpf.c:955 #5 VOP_IOCTL+0xac sys/kern/vfs_vops.c:264 #6 vn_ioctl+0xf8 sys/kern/vfs_vnops.c:531 #7 sys_ioctl+0x5c3 #8 syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] #8 syscall+0xbc6 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 Process 37956 (syz-executor) thread 0xffff8000ffff96e8 (30117) Process 25147 (syz-executor) thread 0xffff8000ffff6f58 (486572) Process 36194 (syz-executor) thread 0xffff8000ffff47c8 (196708) Process 55691 (reaper) thread 0xffff8000ffffd6d0 (406378) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10240 11183K 12346K 166960K 16669 0 pcb 18 17K 19K 166960K 894 0 rtable 185 7K 8K 166960K 1255 0 pf 39 18K 19K 166960K 187 0 ifaddr 40 7K 8K 166960K 177 0 ifgroup 66 2K 3K 166960K 254 0 sysctl 4 1K 3K 166960K 15 0 counters 68 36K 37K 166960K 190 0 ioctlops 0 0K 4K 166960K 1895 0 iov 0 0K 20K 166960K 321 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1509 95K 95K 166960K 4756 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 72 0 VM map 2 1K 1K 166960K 2 0 sem 23 11K 20K 166960K 52 0 dirhash 12 2K 3K 166960K 99 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 16 57K 89K 166960K 4209 0 sigio 2 0K 0K 166960K 123 0 proc 72 91K 128K 166960K 1260 0 subproc 72 4K 4K 166960K 176 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 780 0 in_multi 81 6K 7K 166960K 394 0 ether_multi 1 0K 0K 166960K 34 0 mrt 1 0K 0K 166960K 14 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 253 1129K 1129K 166960K 253 0 exec 0 0K 1K 166960K 1156 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 13 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 248 75K 89K 166960K 40782 0 UVM aobj 131 7K 7K 166960K 146 0 pinsyscall 43 86K 101K 166960K 5718 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 172 0 NDP 14 0K 2K 166960K 127 0 temp 146 6901K 7159K 166960K 303369 0 kqueue 13 20K 30K 166960K 686 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 24 0 0 1 0 1 1 0 8 0 rtpcb 120 459 0 456 5 4 1 3 0 8 0 rtentry 112 419 0 338 4 0 4 4 0 8 0 unpcb 144 2842 0 2822 23 21 2 6 0 8 1 syncache 336 30 0 29 5 4 1 1 0 8 0 tcpqe 32 3 0 3 2 2 0 1 0 8 0 tcpcb 808 1547 0 1540 38 30 8 14 0 8 7 arp 120 62 0 46 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 3 0 3 1 1 0 1 0 8 0 inpcb 376 5248 0 5236 69 58 11 15 0 8 8 nd6 136 76 0 57 1 0 1 1 0 8 0 pkpcb 40 27 0 27 9 8 1 1 0 8 1 kcovpl 48 19 0 11 1 0 1 1 0 8 0 ppxss 1168 35 0 35 9 8 1 1 0 8 1 pffrag 232 20 0 16 1 0 1 1 0 482 0 pffrnode 88 20 0 16 1 0 1 1 0 8 0 pffrent 40 38 0 34 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 278 0 203 1 0 1 1 0 8 0 pfstkey 128 278 0 203 3 0 3 3 0 8 0 pfstate 376 278 0 203 10 2 8 9 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 rttmr 136 1 0 0 1 0 1 1 0 8 0 art_heap8 4096 3 0 1 3 1 2 3 0 8 0 art_heap4 256 1487 0 1067 42 15 27 31 0 8 0 art_table 32 1490 0 1068 4 0 4 4 0 8 0 art_node 16 340 0 267 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 1 1 0 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 42 0 21 1 0 1 1 0 8 0 shmpl 112 143 0 15 4 0 4 4 0 8 0 dirhash 1024 75 0 58 3 0 3 3 0 8 0 dino2pl 256 9351 0 7817 97 0 97 97 0 8 0 ffsino 280 9351 0 7817 110 0 110 110 0 8 0 nchpl 144 15367 0 14804 64 40 24 63 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 53819 0 53819 4 3 1 2 0 8 1 percpumem 16 109 0 61 1 0 1 1 0 8 0 kstatmem 264 150 0 122 3 0 3 3 0 8 0 acpiwqpl 32 2 0 2 1 0 1 1 1 8 1 scsiplug 72 21 0 21 8 7 1 1 0 8 1 scxspl 216 48988 0 48988 23 22 1 8 1 8 1 plimitpl 152 1060 0 1042 1 0 1 1 0 8 0 sigapl 424 4524 0 4473 9 2 7 7 0 8 0 futexpl 64 77790 0 77786 1 0 1 1 0 8 0 knotepl 120 677 0 0 18 0 18 18 0 8 0 kqueuepl 216 1201 0 1192 8 7 1 5 0 8 0 pipepl 328 798 0 767 15 11 4 8 0 8 1 fdescpl 504 4497 0 4466 6 1 5 5 0 8 0 filepl 152 32041 0 31813 56 43 13 19 0 8 3 lockfpl 104 1837 0 1835 5 4 1 2 0 8 0 lockfspl 48 592 0 590 1 0 1 1 0 8 0 sessionpl 144 63 0 53 1 0 1 1 0 8 0 pgrppl 48 203 0 185 1 0 1 1 0 8 0 ucredpl 104 6597 0 6584 1 0 1 1 0 8 0 zombiepl 144 5105 0 5103 1 0 1 1 0 8 0 processpl 1168 4524 0 4473 5 1 4 5 0 8 0 procpl 648 10963 0 10902 7 1 6 6 0 8 0 srpgc 96 29 0 29 9 9 0 1 0 8 0 sosppl 168 22 0 22 9 8 1 1 0 8 1 sockpl 688 8679 0 8644 82 69 13 16 0 8 8 mcl64k 65536 6 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 7 0 0 1 0 1 1 0 8 0 mcl4k 4096 117 0 0 15 0 15 15 0 8 0 mcl2k 2048 53 0 0 4 0 4 4 0 8 0 mtagpl 96 185 0 0 5 0 5 5 0 8 0 mbufpl 256 1453 0 0 81 0 81 81 0 8 0 bufpl 280 13852 0 7686 441 0 441 441 0 8 0 anonpl 24 607355 0 578261 254 46 208 220 0 185 7 amapchunkpl 152 133022 0 132306 75 43 32 39 0 158 0 amappl16 200 15992 0 14565 124 36 88 97 0 8 0 amappl15 192 10 0 10 1 1 0 1 0 8 0 amappl14 184 187 0 174 1 0 1 1 0 8 0 amappl13 176 6 0 6 1 1 0 1 0 8 0 amappl12 168 5341 0 5310 4 1 3 3 0 8 0 amappl11 160 71 0 56 1 0 1 1 0 8 0 amappl10 152 10 0 9 1 0 1 1 0 8 0 amappl9 144 244 0 244 1 1 0 1 0 8 0 amappl8 136 26 0 23 1 0 1 1 0 8 0 amappl7 128 156 0 143 1 0 1 1 0 8 0 amappl6 120 345 0 340 1 0 1 1 0 8 0 amappl5 112 176 0 166 1 0 1 1 0 8 0 amappl4 104 469 0 449 1 0 1 1 0 8 0 amappl3 96 28363 0 28246 4 0 4 4 0 8 0 amappl2 88 1086 0 1013 2 0 2 2 0 8 0 amappl1 80 27170 0 26515 20 3 17 18 0 8 0 amappl 88 39894 0 39707 5 0 5 5 0 92 0 dma16384 16384 1 0 1 1 1 0 1 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma2048 2048 1 0 1 1 1 0 1 0 8 0 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma512 512 1 0 1 1 1 0 1 0 8 0 dma256 256 8 0 8 3 3 0 1 0 8 0 dma128 128 258 0 258 6 6 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 8 0 8 2 2 0 1 0 8 0 dma16 16 22 0 21 1 0 1 1 0 8 0 aobjpl 72 145 0 15 3 0 3 3 0 8 0 uaddrrnd 24 4497 0 4466 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4497 0 4466 1 0 1 1 0 8 0 vmmpekpl 168 33529 0 33468 4 0 4 4 0 8 0 vmmpepl 168 290040 0 286645 253 75 178 206 0 357 15 vmsppl 456 4496 0 4466 6 1 5 5 0 8 0 rwobjpl 64 80988 0 72470 148 5 143 144 0 8 0 pdppl 4096 9001 0 8932 149 76 73 83 0 8 4 pvpl 32 44495 0 0 360 3 357 357 0 265 0 pmappl 248 4496 0 4466 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 472 0 146 10 0 10 10 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83549ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff8365cf00) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8365cf00) at __mp_lock+0x192 sys/kern/kern_lock.c:144 reaper(ffff8000ffffd6d0) at reaper+0x24b sys/kern/kern_exit.c:478 end trace frame: 0x0, count: 10 ddb{0}> trace x86_ipi_db(ffffffff83549ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff8365cf00) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8365cf00) at __mp_lock+0x192 sys/kern/kern_lock.c:144 reaper(ffff8000ffffd6d0) at reaper+0x24b sys/kern/kern_exit.c:478 end trace frame: 0x0, count: -5 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x25: addq $0x8,%rsp db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8309b2de) at panic+0x1e5 sys/kern/subr_prf.c:198 malloc(69662f2e,2,2) at malloc+0xcf4 sys/kern/kern_malloc.c:334 bpf_allocbufs(ffff8000014cdc00) at bpf_allocbufs+0x85 sys/net/bpf.c:1659 bpf_setif(ffff8000014cdc00,ffff800035d76a00) at bpf_setif+0x17d sys/net/bpf.c:1201 bpfioctl(31700,8020426c,ffff800035d76a00,1,ffff8000ffff96e8) at bpfioctl+0xd2a sys/net/bpf.c:955 VOP_IOCTL(fffffd807c2c3498,8020426c,ffff800035d76a00,1,fffffd807f7d3340,ffff8000ffff96e8) at VOP_IOCTL+0xac sys/kern/vfs_vops.c:264 vn_ioctl(fffffd807708bac0,8020426c,ffff800035d76a00,ffff8000ffff96e8) at vn_ioctl+0xf8 sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000ffff96e8,ffff800035d76be0,ffff800035d76b30) at sys_ioctl+0x5c3 syscall(ffff800035d76be0) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800035d76be0) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc519be0da90, count: 4 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8309b2de) at panic+0x1e5 sys/kern/subr_prf.c:198 malloc(69662f2e,2,2) at malloc+0xcf4 sys/kern/kern_malloc.c:334 bpf_allocbufs(ffff8000014cdc00) at bpf_allocbufs+0x85 sys/net/bpf.c:1659 bpf_setif(ffff8000014cdc00,ffff800035d76a00) at bpf_setif+0x17d sys/net/bpf.c:1201 bpfioctl(31700,8020426c,ffff800035d76a00,1,ffff8000ffff96e8) at bpfioctl+0xd2a sys/net/bpf.c:955 VOP_IOCTL(fffffd807c2c3498,8020426c,ffff800035d76a00,1,fffffd807f7d3340,ffff8000ffff96e8) at VOP_IOCTL+0xac sys/kern/vfs_vops.c:264 vn_ioctl(fffffd807708bac0,8020426c,ffff800035d76a00,ffff8000ffff96e8) at vn_ioctl+0xf8 sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000ffff96e8,ffff800035d76be0,ffff800035d76b30) at sys_ioctl+0x5c3 syscall(ffff800035d76be0) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800035d76be0) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc519be0da90, count: -11