panic: ifa_update_broadaddr does not support dynamic length Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *435949 45864 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(ffff800000a44800,ffff800000b3e900,ffff80001792c610) at ifa_update_broadaddr+0x61 sys/net/if.c:2970 in_ioctl(80206913,ffff80001792c600,ffff800000a44800,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd803c98e4b8,80206913,ffff80001792c600,ffff8000ffff38c8) at ifioctl+0xb34 sys/net/if.c:2202 sys_ioctl(ffff8000ffff38c8,ffff80001792c718,ffff80001792c760) at sys_ioctl+0x5b9 syscall(ffff80001792c7e0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,40dfa0f3010) at Xsyscall+0x128 end of kernel end trace frame: 0x410d6dbf330, 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(ffff800000a44800,ffff800000b3e900,ffff80001792c610) at ifa_update_broadaddr+0x61 sys/net/if.c:2970 in_ioctl(80206913,ffff80001792c600,ffff800000a44800,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd803c98e4b8,80206913,ffff80001792c600,ffff8000ffff38c8) at ifioctl+0xb34 sys/net/if.c:2202 sys_ioctl(ffff8000ffff38c8,ffff80001792c718,ffff80001792c760) at sys_ioctl+0x5b9 syscall(ffff80001792c7e0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,40dfa0f3010) at Xsyscall+0x128 end of kernel end trace frame: 0x410d6dbf330, count: -8 ddb> show registers rdi 0xffffffff81a00537 db_enter+0x17 rsi 0x1d0a __ALIGN_SIZE+0xd0a rbp 0xffff80001792c3a0 rbx 0xffff80001792c450 rdx 0x1d0b __ALIGN_SIZE+0xd0b rcx 0xffff800014927000 rax 0xffff800014927000 r8 0xffff80001792c360 r9 0x1 r10 0xffff800000adda00 r11 0xdc21ec732fc66268 r12 0x3000000008 r13 0xffff80001792c3b0 r14 0x100 r15 0x1 rip 0xffffffff81a00538 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001792c390 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=435949 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff2508,0xffffffff82565848 process=0xffff8000ffff70f0 user=0xffff800017927000, vmspace=0xfffffd803f013cc0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 45864 232259 88872 0 2 0 syz-executor.0 *45864 435949 88872 0 7 0x4000000 syz-executor.0 3968 174623 61272 0 3 0x80 nanosleep syz-executor.1 3968 378392 61272 0 3 0x4000080 netio syz-executor.1 3968 294638 61272 0 3 0x4000080 fsleep syz-executor.1 61272 198102 37729 0 3 0x82 nanosleep syz-executor.1 88872 55762 37729 0 3 0x82 nanosleep syz-executor.0 12503 308337 0 0 3 0x14200 bored sosplice 96365 402138 0 0 3 0x14200 acct acct 37729 3276 4762 0 3 0x82 thrsleep syz-fuzzer 37729 357365 4762 0 3 0x4000082 thrsleep syz-fuzzer 37729 149225 4762 0 3 0x4000082 thrsleep syz-fuzzer 37729 476095 4762 0 3 0x4000082 thrsleep syz-fuzzer 37729 3014 4762 0 3 0x4000082 thrsleep syz-fuzzer 37729 269865 4762 0 3 0x4000082 thrsleep syz-fuzzer 37729 451539 4762 0 3 0x4000082 thrsleep syz-fuzzer 37729 414379 4762 0 3 0x4000082 kqread syz-fuzzer 37729 180544 4762 0 3 0x4000082 thrsleep syz-fuzzer 4762 270274 46111 0 3 0x10008a pause ksh 46111 45143 81242 0 3 0x92 select sshd 4535 68754 1 0 3 0x100083 ttyin getty 81242 211524 1 0 3 0x80 select sshd 88714 69515 46489 73 3 0x100090 kqread syslogd 46489 20304 1 0 3 0x100082 netio syslogd 17841 421346 0 0 2 0x14200 zerothread 47077 247549 0 0 3 0x14200 aiodoned aiodoned 92011 510748 0 0 3 0x14200 syncer update 15607 447446 0 0 3 0x14200 cleaner cleaner 42169 297698 0 0 3 0x14200 reaper reaper 48763 300545 0 0 3 0x14200 pgdaemon pagedaemon 91575 200669 0 0 3 0x14200 bored crynlk 6050 5135 0 0 3 0x14200 bored crypto 55036 376610 0 0 3 0x40014200 acpi0 acpi0 22750 288722 0 0 3 0x14200 bored softnet 4125 280357 0 0 3 0x14200 bored systqmp 35588 31477 0 0 3 0x14200 bored systq 79709 391946 0 0 3 0x40014200 bored softclock 41103 278916 0 0 3 0x40014200 idle0 34417 339379 0 0 3 0x14200 bored smr 1 368824 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 9599 6338K 14660K 78643K 25351 0 0 pcb 13 9K 10K 78643K 1050 0 0 rtable 144 9K 10K 78643K 1873 0 0 ifaddr 104 23K 23K 78643K 791 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 331 0 0 iov 0 0K 32K 78643K 1140 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1238 78K 78K 78643K 6357 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 72 0 0 VM map 34 8K 8K 78643K 45 0 0 sem 12 1K 1K 78643K 1347 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 6 17K 25K 78643K 4690 0 0 sigio 0 0K 0K 78643K 99 0 0 proc 45 30K 63K 78643K 2054 0 0 subproc 32 2K 2K 78643K 565 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 395 0 0 in_multi 44 2K 2K 78643K 701 0 0 ether_multi 1 0K 0K 78643K 39 0 0 mrt 1 0K 0K 78643K 49 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 138 609K 609K 78643K 138 0 0 exec 0 0K 1K 78643K 1122 0 0 pfkey data 0 0K 2K 78643K 2 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 171 235K 237K 78643K 12714 0 0 UVM aobj 130 9K 9K 78643K 143 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 1022 0 0 NDP 23 0K 1K 78643K 274 0 0 temp 248 3545K 4184K 78643K 198790 0 0 kqueue 0 0K 0K 78643K 47 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 76 0 70 1 0 1 1 0 8 0 rtpcb 80 649 0 649 8 7 1 1 0 8 1 rtentry 112 611 0 555 2 0 2 2 0 8 0 unpcb 120 2539 0 2528 2 1 1 2 0 8 0 syncache 264 35 0 35 14 14 0 1 0 8 0 sackhl 24 2 0 2 2 2 0 1 0 8 0 tcpqe 32 65 0 65 8 8 0 1 0 8 0 tcpcb 544 1781 0 1777 9 8 1 2 0 8 0 ipq 40 72 0 72 15 15 0 1 0 8 0 ipqe 40 1970 0 1970 15 15 0 1 0 8 0 inpcb 280 10066 0 10059 21 19 2 4 0 8 1 rttmr 72 21 0 20 5 4 1 1 0 8 0 ip6q 72 2 0 2 1 1 0 1 0 8 0 ip6af 40 6 0 6 1 1 0 1 0 8 0 nd6 48 103 0 99 4 3 1 1 0 8 0 pkpcb 40 17 0 17 8 8 0 1 0 8 0 swfcl 56 3 0 0 1 0 1 1 0 8 0 ppxss 1128 87 0 87 18 17 1 1 0 8 1 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 2735 0 2466 42 24 18 18 0 8 1 art_table 32 2739 0 2466 4 1 3 3 0 8 0 art_node 16 608 0 559 1 0 1 1 0 8 0 sysvmsgpl 40 83 0 78 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 1345 0 1335 1 0 1 1 0 8 0 shmpl 112 141 0 13 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 8900 0 7499 46 0 46 46 0 8 0 ffsino 240 8900 0 7499 83 0 83 83 0 8 0 nchpl 144 16436 0 16006 60 40 20 60 0 8 0 uvmvnodes 72 8063 0 0 147 0 147 147 0 8 0 vnodes 208 8063 0 0 425 0 425 425 0 8 0 namei 1024 56869 0 56869 6 5 1 1 0 8 1 vcpupl 1984 32 0 0 4 0 4 4 0 8 0 vmpool 520 43 0 11 3 0 3 3 0 8 0 scsiplug 64 9 0 9 7 7 0 1 0 8 0 scxspl 192 67005 0 67005 34 33 1 7 0 8 1 plimitpl 152 367 0 361 1 0 1 1 0 8 0 sigapl 432 4767 0 4755 2 0 2 2 0 8 0 futexpl 56 140117 0 140116 7 6 1 1 0 8 0 knotepl 112 1141 0 1122 2 1 1 2 0 8 0 kqueuepl 104 1335 0 1333 1 0 1 1 0 8 0 pipepl 112 3798 0 3779 14 13 1 2 0 8 0 fdescpl 424 4768 0 4755 2 0 2 2 0 8 0 filepl 120 44460 0 44370 19 15 4 5 0 8 1 lockfpl 104 1651 0 1651 7 6 1 1 0 8 1 lockfspl 48 543 0 543 7 6 1 1 0 8 1 sessionpl 112 48 0 40 1 0 1 1 0 8 0 pgrppl 48 98 0 90 1 0 1 1 0 8 0 ucredpl 96 5280 0 5274 1 0 1 1 0 8 0 zombiepl 144 4755 0 4755 1 0 1 1 0 8 1 processpl 864 4784 0 4755 4 0 4 4 0 8 0 procpl 632 10333 0 10293 4 0 4 4 0 8 0 sosppl 128 80 0 80 16 15 1 1 0 8 1 sockpl 384 13505 0 13487 32 28 4 6 0 8 1 mcl64k 65536 753 0 753 39 38 1 33 0 8 1 mcl16k 16384 71 0 71 20 19 1 1 0 8 1 mcl12k 12288 151 0 151 13 12 1 1 0 8 1 mcl9k 9216 73 0 73 14 13 1 1 0 8 1 mcl8k 8192 245 0 245 9 8 1 1 0 8 1 mcl4k 4096 567 0 566 7 6 1 1 0 8 0 mcl2k2 2112 48 0 48 20 19 1 1 0 8 1 mcl2k 2048 78707 0 78661 21 14 7 16 0 8 0 mtagpl 80 245 0 244 5 4 1 1 0 8 0 mbufpl 256 178032 0 177946 173 162 11 32 0 8 4 bufpl 256 25329 0 17260 505 0 505 505 0 8 0 anonpl 16 643218 0 624662 237 147 90 104 0 62 0 amapchunkpl 152 28259 0 28106 106 94 12 20 0 158 5 amappl16 192 29605 0 28385 224 161 63 74 0 8 1 amappl15 184 334 0 334 5 4 1 1 0 8 1 amappl14 176 1026 0 1022 1 0 1 1 0 8 0 amappl13 168 80 0 78 4 3 1 1 0 8 0 amappl12 160 646 0 643 1 0 1 1 0 8 0 amappl11 152 694 0 690 1 0 1 1 0 8 0 amappl10 144 964 0 959 1 0 1 1 0 8 0 amappl9 136 1869 0 1864 1 0 1 1 0 8 0 amappl8 128 1431 0 1372 2 0 2 2 0 8 0 amappl7 120 1104 0 1095 1 0 1 1 0 8 0 amappl6 112 630 0 613 1 0 1 1 0 8 0 amappl5 104 1017 0 1009 1 0 1 1 0 8 0 amappl4 96 4535 0 4507 1 0 1 1 0 8 0 amappl3 88 1596 0 1589 1 0 1 1 0 8 0 amappl2 80 35719 0 35646 3 1 2 3 0 8 0 amappl1 72 97742 0 97342 28 19 9 20 0 8 0 amappl 80 11138 0 11082 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 17 0 17 1 1 0 1 0 8 0 aobjpl 64 142 0 13 3 0 3 3 0 8 0 uaddrrnd 24 4811 0 4755 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4811 0 4755 1 0 1 1 0 8 0 vmmpekpl 168 34689 0 34655 2 0 2 2 0 8 0 vmmpepl 168 595802 0 593325 400 250 150 154 0 357 37 vmsppl 272 4767 0 4755 3 2 1 2 0 8 0 pdppl 4096 9628 0 9564 13 4 9 9 0 8 0 pvpl 32 1793507 0 1773032 667 383 284 335 0 265 89 pmappl 200 4810 0 4766 3 0 3 3 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 939 0 292 21 1 20 20 0 8 0