panic: ifa_update_broadaddr does not support dynamic length Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *138719 24585 0 0 0x4000000 0 syz-executor.0 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff822580b5) at panic+0x15c sys/kern/subr_prf.c:207 ifa_update_broadaddr(ffff8000009f6800,ffff800000a0ae00,ffff80001e8314b0) at ifa_update_broadaddr+0x61 sys/net/if.c:3076 in_ioctl_change_ifaddr(8040691a,ffff80001e831490,ffff8000009f6800,1) at in_ioctl_change_ifaddr+0x66c sys/netinet/in.c:518 in_ioctl(8040691a,ffff80001e831490,ffff8000009f6800,1) at in_ioctl+0x2fb sys/netinet/in.c:246 ifioctl(fffffd805e55b7d0,8040691a,ffff80001e831490,ffff80001d752878) at ifioctl+0xe60 sys/net/if.c:2289 sys_ioctl(ffff80001d752878,ffff80001e8315a8,ffff80001e8315f0) at sys_ioctl+0x4a1 syscall(ffff80001e831670) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x135d385bf30, count: 6 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(ffffffff822580b5) at panic+0x15c sys/kern/subr_prf.c:207 ifa_update_broadaddr(ffff8000009f6800,ffff800000a0ae00,ffff80001e8314b0) at ifa_update_broadaddr+0x61 sys/net/if.c:3076 in_ioctl_change_ifaddr(8040691a,ffff80001e831490,ffff8000009f6800,1) at in_ioctl_change_ifaddr+0x66c sys/netinet/in.c:518 in_ioctl(8040691a,ffff80001e831490,ffff8000009f6800,1) at in_ioctl+0x2fb sys/netinet/in.c:246 ifioctl(fffffd805e55b7d0,8040691a,ffff80001e831490,ffff80001d752878) at ifioctl+0xe60 sys/net/if.c:2289 sys_ioctl(ffff80001d752878,ffff80001e8315a8,ffff80001e8315f0) at sys_ioctl+0x4a1 syscall(ffff80001e831670) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x135d385bf30, count: -9 ddb> show registers rdi 0xffffffff8191b0d7 db_enter+0x17 rsi 0x1f80 __ALIGN_SIZE+0xf80 rbp 0xffff80001e8311b0 rbx 0xffff80001e831260 rdx 0x1f81 __ALIGN_SIZE+0xf81 rcx 0xffff80001d827000 rax 0xffff80001d827000 r8 0xffff80001e831170 r9 0x1 r10 0xffff8000009f8380 r11 0x4239dd49b4bb88d3 r12 0x3000000008 r13 0xffff80001e8311c0 r14 0x100 r15 0x1 rip 0xffffffff8191b0d8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001e8311a0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=138719 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=67, nice=20 forw=0xffffffffffffffff, list=0xffff80001d752398,0xffffffff8259cc50 process=0xffff8000ffffb208 user=0xffff80001e82c000, vmspace=0xfffffd806bc09dd0 estcpu=34, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 24585 247911 26180 0 2 0 syz-executor.0 *24585 138719 26180 0 7 0x4000000 syz-executor.0 5525 343953 0 0 3 0x14200 bored sosplice 96403 54142 69234 0 2 0x2 syz-executor.1 26180 346677 69234 0 3 0x82 nanosleep syz-executor.0 69234 59826 80541 0 3 0x82 thrsleep syz-fuzzer 69234 207310 80541 0 3 0x4000082 nanosleep syz-fuzzer 69234 381327 80541 0 3 0x4000082 thrsleep syz-fuzzer 69234 126004 80541 0 3 0x4000082 thrsleep syz-fuzzer 69234 44647 80541 0 3 0x4000082 kqread syz-fuzzer 69234 58670 80541 0 3 0x4000082 thrsleep syz-fuzzer 69234 298551 80541 0 3 0x4000082 thrsleep syz-fuzzer 80541 314996 87073 0 3 0x10008a pause ksh 87073 296343 42900 0 3 0x92 select sshd 14165 115519 1 0 3 0x100083 ttyin getty 42900 254768 1 0 3 0x80 select sshd 41135 368259 87487 73 3 0x100090 kqread syslogd 87487 191747 1 0 3 0x100082 netio syslogd 83144 259081 1 77 3 0x100090 poll dhclient 27610 475070 1 0 3 0x80 poll dhclient 44919 94269 0 0 3 0x14200 bored smr 69532 106430 0 0 2 0x14200 zerothread 49238 229758 0 0 3 0x14200 aiodoned aiodoned 89622 518122 0 0 3 0x14200 syncer update 69816 391209 0 0 3 0x14200 cleaner cleaner 44755 33512 0 0 3 0x14200 reaper reaper 89775 451622 0 0 3 0x14200 pgdaemon pagedaemon 50768 156106 0 0 3 0x14200 bored crynlk 14417 522874 0 0 3 0x14200 bored crypto 21147 126255 0 0 3 0x40014200 acpi0 acpi0 99622 38061 0 0 3 0x14200 bored softnet 14219 372089 0 0 3 0x14200 bored systqmp 15831 318111 0 0 3 0x14200 bored systq 26411 142221 0 0 3 0x40014200 bored softclock 35216 362293 0 0 3 0x40014200 idle0 1 265130 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 devbuf 9482 6337K 6843K 78643K 10793 0 pcb 13 8K 8K 78643K 37 0 rtable 96 3K 3K 78643K 241 0 ifaddr 64 13K 13K 78643K 75 0 counters 21 16K 16K 78643K 22 0 ioctlops 0 0K 2K 78643K 21 0 iov 0 0K 12K 78643K 20 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1283 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 3 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 28 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 149 0 proc 49 38K 63K 78643K 390 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 55 0 in_multi 47 2K 2K 78643K 82 0 ether_multi 1 0K 0K 78643K 5 0 mrt 0 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 31 148K 148K 78643K 31 0 exec 0 0K 1K 78643K 199 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 96 37K 53K 78643K 1144 0 UVM aobj 22 2K 2K 78643K 22 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 20 0 NDP 10 0K 0K 78643K 16 0 temp 86 3029K 3093K 78643K 2129 0 kqueue 3 4K 8K 78643K 7 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 6 0 2 1 0 1 1 0 8 0 rtpcb 80 30 0 28 1 0 1 1 0 8 0 rtentry 112 51 0 13 2 0 2 2 0 8 0 unpcb 120 57 0 49 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 113 0 113 1 0 1 1 0 8 1 tcpcb 544 102 0 98 1 0 1 1 0 8 0 inpcb 280 252 0 243 2 0 2 2 0 8 1 rttmr 72 1 0 1 1 0 1 1 0 8 1 nd6 48 7 0 3 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 237 0 44 13 0 13 13 0 8 0 art_table 32 239 0 44 2 0 2 2 0 8 0 art_node 16 50 0 15 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 2 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 26 0 16 1 0 1 1 0 8 0 shmpl 112 20 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1578 0 177 46 0 46 46 0 8 0 ffsino 240 1578 0 177 83 0 83 83 0 8 0 nchpl 144 2009 0 408 60 0 60 60 0 8 0 uvmvnodes 72 1670 0 0 31 0 31 31 0 8 0 vnodes 208 1670 0 0 88 0 88 88 0 8 0 namei 1024 4955 0 4955 1 0 1 1 0 8 1 vcpupl 1984 1 0 0 1 0 1 1 0 8 0 vmpool 528 3 0 2 1 0 1 1 0 8 0 scxspl 192 5603 0 5603 1 0 1 1 0 8 1 plimitpl 152 29 0 22 1 0 1 1 0 8 0 sigapl 424 336 0 307 4 0 4 4 0 8 0 futexpl 56 2589 0 2589 1 0 1 1 0 8 1 knotepl 112 57 0 38 1 0 1 1 0 8 0 kqueuepl 144 16 0 14 1 0 1 1 0 8 0 pipelkpl 16 83 0 73 1 0 1 1 0 8 0 pipepl 120 166 0 147 1 0 1 1 0 8 0 fdescpl 432 321 0 307 2 0 2 2 0 8 0 filepl 120 1783 0 1685 4 0 4 4 0 8 1 lockfpl 104 17 0 16 1 0 1 1 0 8 0 lockfspl 48 7 0 6 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 17 0 7 1 0 1 1 0 8 0 ucredpl 96 122 0 115 1 0 1 1 0 8 0 zombiepl 144 307 0 307 1 0 1 1 0 8 1 processpl 920 336 0 307 4 0 4 4 0 8 0 procpl 624 470 0 434 4 0 4 4 0 8 0 sosppl 128 4 0 4 1 0 1 1 0 8 1 sockpl 400 339 0 320 3 0 3 3 0 8 1 mcl64k 65536 11 0 11 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 1 0 1 1 0 1 1 0 8 1 mcl4k 4096 14 0 14 2 1 1 1 0 8 1 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 62013 0 61975 11 1 10 10 0 8 5 mtagpl 80 22 0 2 2 1 1 1 0 8 0 mbufpl 256 99182 0 99077 10 1 9 9 0 8 2 bufpl 280 5245 0 160 364 0 364 364 0 8 0 anonpl 16 46043 0 32186 65 2 63 63 0 107 7 amapchunkpl 152 1409 0 1275 9 0 9 9 0 158 3 amappl16 192 1559 0 778 44 0 44 44 0 8 4 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 62 0 61 2 1 1 1 0 8 0 amappl13 168 23 0 22 1 0 1 1 0 8 0 amappl12 160 59 0 56 1 0 1 1 0 8 0 amappl11 152 65 0 51 1 0 1 1 0 8 0 amappl10 144 15 0 12 1 0 1 1 0 8 0 amappl9 136 364 0 361 1 0 1 1 0 8 0 amappl8 128 260 0 247 1 0 1 1 0 8 0 amappl7 120 106 0 96 1 0 1 1 0 8 0 amappl6 112 23 0 18 1 0 1 1 0 8 0 amappl5 104 229 0 217 1 0 1 1 0 8 0 amappl4 96 497 0 467 1 0 1 1 0 8 0 amappl3 88 168 0 162 1 0 1 1 0 8 0 amappl2 80 1812 0 1745 3 1 2 3 0 8 0 amappl1 72 15105 0 14698 26 12 14 20 0 8 5 amappl 80 696 0 653 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 18 0 17 1 0 1 1 0 8 0 aobjpl 64 21 0 0 1 0 1 1 0 8 0 uaddrrnd 24 324 0 309 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 324 0 309 1 0 1 1 0 8 0 vmmpekpl 168 6152 0 6124 2 0 2 2 0 8 0 vmmpepl 168 45140 0 43309 107 4 103 103 0 357 23 vmsppl 272 323 0 309 2 0 2 2 0 8 1 pdppl 4096 654 0 619 6 0 6 6 0 8 1 pvpl 32 148160 0 131358 153 0 153 153 0 265 17 pmappl 200 323 0 309 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 145 0 5 4 0 4 4 0 8 0