panic: ifa_update_broadaddr does not support dynamic length Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *405554 98984 0 0 0x4000000 0 syz-executor.0 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(ffff800000af3000,ffff800000aebf00,ffff800014f42160) at ifa_update_broadaddr+0x61 sys/net/if.c:2970 in_ioctl(80206913,ffff800014f42150,ffff800000af3000,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd80390de988,80206913,ffff800014f42150,ffff800017b47160) at ifioctl+0xb34 sys/net/if.c:2202 sys_ioctl(ffff800017b47160,ffff800014f42268,ffff800014f422b0) at sys_ioctl+0x5b9 syscall(ffff800014f42330) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,f6f3476f010) at Xsyscall+0x128 end of kernel end trace frame: 0xf718d7f09f0, 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> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic ifa_update_broadaddr does not support dynamic length ddb> 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(ffff800000af3000,ffff800000aebf00,ffff800014f42160) at ifa_update_broadaddr+0x61 sys/net/if.c:2970 in_ioctl(80206913,ffff800014f42150,ffff800000af3000,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd80390de988,80206913,ffff800014f42150,ffff800017b47160) at ifioctl+0xb34 sys/net/if.c:2202 sys_ioctl(ffff800017b47160,ffff800014f42268,ffff800014f422b0) at sys_ioctl+0x5b9 syscall(ffff800014f42330) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,f6f3476f010) at Xsyscall+0x128 end of kernel end trace frame: 0xf718d7f09f0, count: -8 ddb> show registers rdi 0xffffffff81f649d7 db_enter+0x17 rsi 0x1cf7 __ALIGN_SIZE+0xcf7 rbp 0xffff800014f41ef0 rbx 0xffff800014f41fa0 rdx 0x1cf8 __ALIGN_SIZE+0xcf8 rcx 0xffff80001793f000 rax 0xffff80001793f000 r8 0xffff800014f41eb0 r9 0x1 r10 0xffff800000aee940 r11 0x250944ee7a2d4552 r12 0x3000000008 r13 0xffff800014f41f00 r14 0x100 r15 0x1 rip 0xffffffff81f649d8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800014f41ee0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=405554 stat=onproc flags process=0 proc=4000000 pri=78, usrpri=78, nice=20 forw=0xffffffffffffffff, list=0xffff800017b46c70,0xffffffff82592f90 process=0xffff8000ffff70f0 user=0xffff800014f3d000, vmspace=0xfffffd803f012220 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 98984 512508 66869 0 2 0 syz-executor.0 *98984 405554 66869 0 7 0x4000000 syz-executor.0 7497 101606 24904 0 2 0 syz-executor.1 7497 249532 24904 0 3 0x4000080 netio syz-executor.1 24904 181175 86466 0 3 0x82 nanosleep syz-executor.1 66869 419772 86466 0 3 0x82 nanosleep syz-executor.0 99324 289434 0 0 3 0x14200 bored sosplice 86466 508528 49660 0 3 0x82 thrsleep syz-fuzzer 86466 340265 49660 0 3 0x4000082 nanosleep syz-fuzzer 86466 294477 49660 0 3 0x4000082 thrsleep syz-fuzzer 86466 197877 49660 0 3 0x4000082 thrsleep syz-fuzzer 86466 403000 49660 0 3 0x4000082 kqread syz-fuzzer 86466 275015 49660 0 3 0x4000082 thrsleep syz-fuzzer 86466 65515 49660 0 3 0x4000082 thrsleep syz-fuzzer 86466 300448 49660 0 3 0x4000082 thrsleep syz-fuzzer 49660 372101 25421 0 3 0x10008a pause ksh 25421 628 74379 0 3 0x92 select sshd 83456 234227 1 0 3 0x100083 ttyin getty 74379 56273 1 0 3 0x80 select sshd 71679 347694 60441 73 3 0x100090 kqread syslogd 60441 247623 1 0 3 0x100082 netio syslogd 71262 50402 1 77 3 0x100090 poll dhclient 20414 334294 1 0 3 0x80 poll dhclient 88115 52569 0 0 2 0x14200 zerothread 13079 523456 0 0 3 0x14200 aiodoned aiodoned 84263 222149 0 0 3 0x14200 syncer update 57598 169559 0 0 3 0x14200 cleaner cleaner 16792 206250 0 0 3 0x14200 reaper reaper 79436 45338 0 0 3 0x14200 pgdaemon pagedaemon 70782 409384 0 0 3 0x14200 bored crynlk 14324 3008 0 0 3 0x14200 bored crypto 28711 407282 0 0 3 0x40014200 acpi0 acpi0 59164 316030 0 0 3 0x14200 bored softnet 30234 195321 0 0 3 0x14200 bored systqmp 79339 147883 0 0 3 0x14200 bored systq 14037 513500 0 0 3 0x40014200 bored softclock 94589 349472 0 0 3 0x40014200 idle0 11562 223566 0 0 3 0x14200 bored smr 1 160768 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9532 6352K 6990K 78643K 13397 0 0 pcb 14 10K 12K 78643K 1048 0 0 rtable 97 11K 12K 78643K 608 0 0 ifaddr 61 13K 15K 78643K 154 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 71 0 0 iov 1 12K 28K 78643K 222 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1232 77K 78K 78643K 2235 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 5K 78643K 13 0 0 VM map 8 2K 2K 78643K 20 0 0 sem 12 1K 1K 78643K 412 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1794 195K 288K 78643K 12646 0 0 file desc 6 17K 25K 78643K 825 0 0 sigio 0 0K 0K 78643K 18 0 0 proc 48 38K 54K 78643K 556 0 0 subproc 32 2K 2K 78643K 106 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 91 0 0 in_multi 22 1K 2K 78643K 108 0 0 ether_multi 1 0K 0K 78643K 9 0 0 mrt 0 0K 0K 78643K 7 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 60 265K 265K 78643K 60 0 0 exec 0 0K 1K 78643K 301 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 124 71K 71K 78643K 2928 0 0 UVM aobj 75 3K 3K 78643K 77 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 0K 78643K 222 0 0 NDP 14 0K 0K 78643K 49 0 0 temp 184 3543K 3616K 78643K 27942 0 0 kqueue 0 0K 0K 78643K 8 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 16 0 12 1 0 1 1 0 8 0 rtpcb 80 135 0 133 1 0 1 1 0 8 0 rtentry 112 102 0 68 2 0 2 2 0 8 0 unpcb 120 531 0 521 1 0 1 1 0 8 0 syncache 264 6 0 6 2 2 0 1 0 8 0 tcpqe 32 161 0 161 1 1 0 1 0 8 0 tcpcb 544 896 0 892 16 15 1 15 0 8 0 ipq 40 7 0 6 2 1 1 1 0 8 0 ipqe 40 227 0 226 2 1 1 1 0 8 0 inpcb 280 2344 0 2335 11 9 2 9 0 8 1 rttmr 72 3 0 3 2 2 0 1 0 8 0 nd6 48 14 0 12 3 2 1 1 0 8 0 pkpcb 40 4 0 4 1 1 0 1 0 8 0 ppxss 1128 9 0 9 3 2 1 1 0 8 1 art_heap8 4096 4 0 3 3 2 1 3 0 8 0 art_heap4 256 491 0 318 19 5 14 14 0 8 1 art_table 32 495 0 321 2 0 2 2 0 8 0 art_node 16 101 0 70 1 0 1 1 0 8 0 sysvmsgpl 40 46 0 29 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 410 0 400 1 0 1 1 0 8 0 shmpl 112 75 0 2 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2670 0 1276 46 0 46 46 0 8 0 ffsino 240 2670 0 1276 83 0 83 83 0 8 0 nchpl 144 4098 0 3649 60 40 20 60 0 8 0 uvmvnodes 72 3512 0 0 64 0 64 64 0 8 0 vnodes 208 3512 0 0 185 0 185 185 0 8 0 namei 1024 12985 0 12985 2 1 1 1 0 8 1 vcpupl 1984 6 0 0 1 0 1 1 0 8 0 vmpool 520 18 0 12 1 0 1 1 0 8 0 scsiplug 64 2 0 2 1 1 0 1 0 8 0 scxspl 192 12573 0 12573 11 9 2 7 0 8 2 plimitpl 152 87 0 80 1 0 1 1 0 8 0 sigapl 432 983 0 969 2 0 2 2 0 8 0 futexpl 56 26909 0 26909 2 1 1 1 0 8 1 knotepl 112 219 0 200 1 0 1 1 0 8 0 kqueuepl 104 389 0 387 4 3 1 4 0 8 0 pipepl 112 600 0 579 3 1 2 2 0 8 1 fdescpl 424 984 0 969 2 0 2 2 0 8 0 filepl 120 9190 0 9091 13 8 5 11 0 8 2 lockfpl 104 387 0 386 1 0 1 1 0 8 0 lockfspl 48 132 0 131 1 0 1 1 0 8 0 sessionpl 112 21 0 11 1 0 1 1 0 8 0 pgrppl 48 29 0 19 1 0 1 1 0 8 0 ucredpl 96 1093 0 1086 1 0 1 1 0 8 0 zombiepl 144 969 0 969 1 0 1 1 0 8 1 processpl 864 999 0 969 4 0 4 4 0 8 0 procpl 632 2005 0 1966 4 0 4 4 0 8 0 sosppl 128 3 0 3 1 1 0 1 0 8 0 sockpl 384 3066 0 3045 18 13 5 14 0 8 1 mcl64k 65536 68 0 68 4 3 1 1 0 8 1 mcl16k 16384 11 0 11 3 2 1 1 0 8 1 mcl12k 12288 21 0 21 2 1 1 1 0 8 1 mcl9k 9216 19 0 19 4 3 1 1 0 8 1 mcl8k 8192 57 0 57 2 1 1 1 0 8 1 mcl4k 4096 99 0 99 3 2 1 1 0 8 1 mcl2k2 2112 8 0 8 4 3 1 1 0 8 1 mcl2k 2048 68433 0 68385 22 15 7 19 0 8 0 mtagpl 80 28 0 28 4 3 1 1 0 8 1 mbufpl 256 118494 0 118400 92 72 20 36 0 8 8 bufpl 256 8762 0 3691 318 0 318 318 0 8 0 anonpl 16 137181 0 119411 119 29 90 96 0 62 9 amapchunkpl 152 4889 0 4737 15 8 7 11 0 158 0 amappl16 192 5865 0 4765 90 31 59 67 0 8 3 amappl15 184 523 0 522 1 0 1 1 0 8 0 amappl14 176 114 0 104 1 0 1 1 0 8 0 amappl13 168 215 0 215 1 1 0 1 0 8 0 amappl12 160 43 0 42 2 1 1 1 0 8 0 amappl11 152 57 0 46 1 0 1 1 0 8 0 amappl10 144 31 0 28 1 0 1 1 0 8 0 amappl9 136 618 0 614 1 0 1 1 0 8 0 amappl8 128 218 0 181 3 1 2 2 0 8 0 amappl7 120 82 0 76 1 0 1 1 0 8 0 amappl6 112 61 0 51 1 0 1 1 0 8 0 amappl5 104 216 0 204 1 0 1 1 0 8 0 amappl4 96 1396 0 1365 1 0 1 1 0 8 0 amappl3 88 217 0 212 1 0 1 1 0 8 0 amappl2 80 7267 0 7194 3 1 2 3 0 8 0 amappl1 72 27537 0 27114 26 17 9 20 0 8 0 amappl 80 2303 0 2254 2 0 2 2 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 18 0 17 1 0 1 1 0 8 0 aobjpl 64 76 0 2 2 0 2 2 0 8 0 uaddrrnd 24 1002 0 969 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1002 0 969 1 0 1 1 0 8 0 vmmpekpl 168 10732 0 10703 2 0 2 2 0 8 0 vmmpepl 168 126940 0 124652 192 53 139 139 0 357 39 vmsppl 272 983 0 969 2 1 1 2 0 8 0 pdppl 4096 2010 0 1968 7 1 6 6 0 8 0 pvpl 32 356670 0 335777 260 43 217 222 0 265 30 pmappl 200 1001 0 981 3 1 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 581 0 122 14 0 14 14 0 8 0