panic: ifa_update_broadaddr does not support dynamic length Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *403893 74568 0 0 0x4000000 1K syz-executor.0 246307 78265 0 0x14000 0x200 0 reaper db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:207 ifa_update_broadaddr(ffff800000b00800,ffff800000ad2f00,ffff800021d91240) at ifa_update_broadaddr+0x61 sys/net/if.c:2970 in_ioctl(80206913,ffff800021d91230,ffff800000b00800,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd806f6d7600,80206913,ffff800021d91230,ffff800020abe780) at ifioctl+0xb64 sys/net/if.c:2202 sys_ioctl(ffff800020abe780,ffff800021d91348,ffff800021d91390) at sys_ioctl+0x5b9 syscall(ffff800021d91410) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800021d91410) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,2e820d29010) at Xsyscall+0x128 end of kernel end trace frame: 0x2ea3e16bb80, count: 7 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 ifa_update_broadaddr does not support dynamic length ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:207 ifa_update_broadaddr(ffff800000b00800,ffff800000ad2f00,ffff800021d91240) at ifa_update_broadaddr+0x61 sys/net/if.c:2970 in_ioctl(80206913,ffff800021d91230,ffff800000b00800,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd806f6d7600,80206913,ffff800021d91230,ffff800020abe780) at ifioctl+0xb64 sys/net/if.c:2202 sys_ioctl(ffff800020abe780,ffff800021d91348,ffff800021d91390) at sys_ioctl+0x5b9 syscall(ffff800021d91410) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800021d91410) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,2e820d29010) at Xsyscall+0x128 end of kernel end trace frame: 0x2ea3e16bb80, count: -8 ddb{1}> show registers rdi 0xffffffff82125777 db_enter+0x17 rsi 0x1c15 __ALIGN_SIZE+0xc15 rbp 0xffff800021d90fd0 rbx 0xffff800021d91080 rdx 0x1c16 __ALIGN_SIZE+0xc16 rcx 0xffff800021b86000 rax 0xffff800021b86000 r8 0xffffffff8165462f kprintf+0x16f r9 0x1 r10 0x25 r11 0x99ff9cf9e01676dd r12 0x3000000008 r13 0xffff800021d90fe0 r14 0x100 r15 0x1 rip 0xffffffff82125778 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800021d90fc0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.0) pid=403893 stat=onproc flags process=0 proc=4000000 pri=79, usrpri=79, nice=20 forw=0xffffffffffffffff, list=0xffff800020abf3d8,0xffffffff8267a4c0 process=0xffff800020adce00 user=0xffff800021d8c000, vmspace=0xfffffd807f00bcf0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 74568 256644 39357 0 2 0 syz-executor.0 *74568 403893 39357 0 7 0x4000000 syz-executor.0 92107 118044 33653 0 3 0x82 nanosleep syz-executor.1 39357 349414 33653 0 3 0x82 nanosleep syz-executor.0 62919 66702 0 0 3 0x14200 bored sosplice 33653 172780 1526 0 3 0x82 thrsleep syz-fuzzer 33653 249225 1526 0 3 0x4000082 thrsleep syz-fuzzer 33653 165303 1526 0 3 0x4000082 thrsleep syz-fuzzer 33653 194338 1526 0 3 0x4000082 thrsleep syz-fuzzer 33653 310775 1526 0 3 0x4000082 thrsleep syz-fuzzer 33653 375183 1526 0 3 0x4000082 thrsleep syz-fuzzer 33653 14708 1526 0 3 0x4000082 thrsleep syz-fuzzer 33653 253092 1526 0 3 0x4000082 thrsleep syz-fuzzer 33653 242799 1526 0 3 0x4000082 thrsleep syz-fuzzer 33653 269486 1526 0 3 0x4000082 kqread syz-fuzzer 1526 456231 79233 0 3 0x10008a pause ksh 79233 347462 23539 0 3 0x92 select sshd 80342 112411 1 0 3 0x100083 ttyin getty 23539 136054 1 0 3 0x80 select sshd 37630 467552 37756 74 3 0x100092 bpf pflogd 37756 99133 1 0 3 0x80 netio pflogd 16360 54213 12773 73 3 0x100090 kqread syslogd 12773 488811 1 0 3 0x100082 netio syslogd 93840 22633 1 77 3 0x100090 poll dhclient 6299 351069 1 0 3 0x80 poll dhclient 40383 332044 0 0 2 0x14200 zerothread 7244 516011 0 0 3 0x14200 aiodoned aiodoned 97775 518114 0 0 3 0x14200 syncer update 20159 327240 0 0 3 0x14200 cleaner cleaner 78265 246307 0 0 7 0x14200 reaper 67448 225979 0 0 3 0x14200 pgdaemon pagedaemon 88186 324724 0 0 3 0x14200 bored crynlk 54523 369075 0 0 3 0x14200 bored crypto 44046 301142 0 0 3 0x40014200 acpi0 acpi0 79501 230840 0 0 3 0x40014200 idle1 17390 68234 0 0 3 0x14200 bored softnet 26238 277945 0 0 3 0x14200 bored systqmp 17745 310031 0 0 3 0x14200 bored systq 83181 441083 0 0 3 0x40014200 bored softclock 47883 495446 0 0 3 0x40014200 idle0 9657 320117 0 0 3 0x14200 bored smr 1 63036 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 74568 (syz-executor.0) thread 0xffff800020abe780 (403893) exclusive rwlock netlock r = 0 (0xffffffff8248f918) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 in_ioctl+0x142 #2 ifioctl+0xb64 sys/net/if.c:2202 #3 sys_ioctl+0x5b9 #4 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #4 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #5 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82638a30) #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{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9541 6548K 7102K 78643K 15147 0 0 pcb 13 8K 8K 78643K 341 0 0 rtable 114 12K 12K 78643K 813 0 0 ifaddr 66 14K 14K 78643K 196 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1498 0 0 iov 0 0K 16K 78643K 354 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1215 76K 77K 78643K 2773 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 9K 78643K 48 0 0 VM map 2 1K 1K 78643K 2 0 0 sem 12 0K 1K 78643K 1480 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12765 0 0 file desc 5 13K 25K 78643K 2125 0 0 sigio 0 0K 0K 78643K 5 0 0 proc 60 63K 95K 78643K 695 0 0 subproc 32 2K 2K 78643K 119 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 0K 78643K 447 0 0 in_multi 33 2K 2K 78643K 211 0 0 ether_multi 1 0K 0K 78643K 13 0 0 mrt 0 0K 0K 78643K 38 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 486 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 100 21K 30K 78643K 6127 0 0 UVM aobj 78 8K 8K 78643K 78 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 1K 78643K 324 0 0 NDP 14 0K 0K 78643K 69 0 0 temp 185 3560K 3627K 78643K 32328 0 0 kqueue 0 0K 0K 78643K 7 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 18 0 12 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 230 0 228 1 0 1 1 0 8 0 rtentry 112 170 0 126 2 0 2 2 0 8 0 unpcb 120 1172 0 1162 4 3 1 4 0 8 0 syncache 264 85 0 85 5 4 1 1 0 8 1 tcpqe 32 45 0 45 5 4 1 1 0 8 1 tcpcb 544 1142 0 1138 2 1 1 2 0 8 0 ipq 40 4 0 4 1 1 0 1 0 8 0 ipqe 40 8 0 8 1 1 0 1 0 8 0 inpcb 280 2344 0 2336 3 1 2 2 0 8 1 rttmr 72 13 0 13 1 1 0 1 0 8 0 nd6 48 27 0 23 1 0 1 1 0 8 0 pkpcb 40 11 0 11 1 1 0 1 0 8 0 ppxss 1128 15 0 15 2 2 0 1 0 8 0 pffrag 232 8 0 8 2 2 0 1 0 482 0 pffrnode 88 8 0 8 2 2 0 1 0 8 0 pffrent 40 360 0 360 2 2 0 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 52 0 15 1 0 1 1 0 8 0 pfstkey 112 52 0 15 2 0 2 2 0 8 0 pfstate 328 52 0 15 5 1 4 4 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 786 0 566 18 3 15 15 0 8 0 art_table 32 787 0 566 2 0 2 2 0 8 0 art_node 16 169 0 129 1 0 1 1 0 8 0 semupl 112 6 0 6 2 2 0 1 0 8 0 semapl 112 1478 0 1468 1 0 1 1 0 8 0 shmpl 112 76 0 0 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 4960 0 3546 46 0 46 46 0 8 0 ffsino 272 4960 0 3546 95 0 95 95 0 8 0 nchpl 144 8627 0 8183 60 39 21 60 0 8 2 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 208 5926 0 0 312 0 312 312 0 8 0 namei 1024 25704 0 25704 1 0 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scxspl 192 22647 0 22647 11 10 1 7 0 8 1 plimitpl 152 228 0 220 1 0 1 1 0 8 0 sigapl 432 2309 0 2294 3 1 2 3 0 8 0 futexpl 56 52795 0 52795 1 0 1 1 0 8 1 knotepl 112 323 0 304 1 0 1 1 0 8 0 kqueuepl 104 427 0 425 1 0 1 1 0 8 0 pipepl 112 1456 0 1437 3 1 2 2 0 8 1 fdescpl 488 2310 0 2294 3 0 3 3 0 8 0 filepl 152 16299 0 16198 13 6 7 8 0 8 3 lockfpl 104 765 0 764 1 0 1 1 0 8 0 lockfspl 48 394 0 393 1 0 1 1 0 8 0 sessionpl 112 23 0 12 1 0 1 1 0 8 0 pgrppl 48 148 0 137 1 0 1 1 0 8 0 ucredpl 96 3452 0 3443 1 0 1 1 0 8 0 zombiepl 144 2294 0 2293 1 0 1 1 0 8 0 processpl 896 2326 0 2293 4 0 4 4 0 8 0 procpl 632 5015 0 4972 6 1 5 5 0 8 1 srpgc 64 4 0 4 2 2 0 1 0 8 0 sosppl 128 8 0 8 1 1 0 1 0 8 0 sockpl 384 3757 0 3737 18 14 4 13 0 8 2 mcl64k 65536 10 0 0 2 0 2 2 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 29 0 0 4 2 2 3 0 8 0 mcl2k2 2112 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 198 0 0 19 0 19 19 0 8 0 mtagpl 80 209 0 0 5 0 5 5 0 8 0 mbufpl 256 568 0 0 31 0 31 31 0 8 0 bufpl 256 10257 0 3199 442 0 442 442 0 8 0 anonpl 16 212654 0 207752 50 29 21 48 0 124 0 amapchunkpl 152 11921 0 11830 19 14 5 11 0 158 0 amappl16 192 10905 0 10685 28 16 12 25 0 8 0 amappl15 184 923 0 922 1 0 1 1 0 8 0 amappl14 176 74 0 69 1 0 1 1 0 8 0 amappl13 168 628 0 628 1 1 0 1 0 8 0 amappl12 160 9 0 6 2 1 1 1 0 8 0 amappl11 152 153 0 136 1 0 1 1 0 8 0 amappl10 144 126 0 120 1 0 1 1 0 8 0 amappl9 136 891 0 888 1 0 1 1 0 8 0 amappl8 128 499 0 474 1 0 1 1 0 8 0 amappl7 120 189 0 179 1 0 1 1 0 8 0 amappl6 112 160 0 149 1 0 1 1 0 8 0 amappl5 104 286 0 273 1 0 1 1 0 8 0 amappl4 96 3238 0 3205 1 0 1 1 0 8 0 amappl3 88 276 0 268 1 0 1 1 0 8 0 amappl2 80 18676 0 18598 3 1 2 3 0 8 0 amappl1 72 51515 0 51068 26 16 10 20 0 8 0 amappl 80 5377 0 5340 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 dma128 128 253 0 253 1 1 0 1 0 8 0 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 17 0 17 1 1 0 1 0 8 0 aobjpl 64 77 0 0 2 0 2 2 0 8 0 uaddrrnd 24 2310 0 2294 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2310 0 2294 1 0 1 1 0 8 0 vmmpekpl 168 16968 0 16936 2 0 2 2 0 8 0 vmmpepl 168 272282 0 270867 101 36 65 80 0 357 1 vmsppl 368 2309 0 2293 2 0 2 2 0 8 0 pdppl 4096 4627 0 4586 6 0 6 6 0 8 0 pvpl 32 769375 0 761265 144 74 70 126 0 265 2 pmappl 232 2309 0 2293 3 2 1 2 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 633 0 9 18 0 18 18 0 8 0