panic: ifa_update_broadaddr does not support dynamic length Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 61516 5382 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(ffff800000a3b800,ffff800000b24800,ffff8000179a0320) at ifa_update_broadaddr+0x61 sys/net/if.c:2970 in_ioctl(80206913,ffff8000179a0310,ffff800000a3b800,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd80377c6338,80206913,ffff8000179a0310,ffff8000ffff3160) at ifioctl+0xb34 sys/net/if.c:2202 sys_ioctl(ffff8000ffff3160,ffff8000179a0428,ffff8000179a0470) at sys_ioctl+0x5b9 syscall(ffff8000179a04f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,98b11984010) at Xsyscall+0x128 end of kernel end trace frame: 0x98df5f87300, 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(ffff800000a3b800,ffff800000b24800,ffff8000179a0320) at ifa_update_broadaddr+0x61 sys/net/if.c:2970 in_ioctl(80206913,ffff8000179a0310,ffff800000a3b800,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd80377c6338,80206913,ffff8000179a0310,ffff8000ffff3160) at ifioctl+0xb34 sys/net/if.c:2202 sys_ioctl(ffff8000ffff3160,ffff8000179a0428,ffff8000179a0470) at sys_ioctl+0x5b9 syscall(ffff8000179a04f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,98b11984010) at Xsyscall+0x128 end of kernel end trace frame: 0x98df5f87300, count: -8 ddb> show registers rdi 0xffffffff81a00537 db_enter+0x17 rsi 0x1e0d __ALIGN_SIZE+0xe0d rbp 0xffff8000179a00b0 rbx 0xffff8000179a0160 rdx 0x1e0e __ALIGN_SIZE+0xe0e rcx 0xffff800017b5c000 rax 0xffff800017b5c000 r8 0xffff8000179a0070 r9 0x1 r10 0xffff800000a65000 r11 0x9a1227295eef983e r12 0x3000000008 r13 0xffff8000179a00c0 r14 0x100 r15 0x1 rip 0xffffffff81a00538 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000179a00a0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=61516 stat=onproc flags process=0 proc=4000000 pri=83, usrpri=83, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff33d8,0xffffffff82565848 process=0xffff8000ffff6370 user=0xffff80001799b000, vmspace=0xfffffd803f013ee0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 5382 224975 64120 0 2 0 syz-executor.0 * 5382 61516 64120 0 7 0x4000000 syz-executor.0 77902 235529 51935 0 2 0x10 syz-executor.1 77902 236136 51935 0 3 0x4000090 fsleep syz-executor.1 64120 139808 28552 0 3 0x82 nanosleep syz-executor.0 51935 267073 28552 0 3 0x82 nanosleep syz-executor.1 24768 146467 1 0 3 0x100083 ttyin getty 68253 1010 0 0 3 0x14200 acct acct 45146 355490 0 0 3 0x14200 bored sosplice 28552 386191 60792 0 3 0x82 thrsleep syz-fuzzer 28552 97901 60792 0 3 0x4000082 thrsleep syz-fuzzer 28552 214299 60792 0 3 0x4000082 thrsleep syz-fuzzer 28552 248441 60792 0 3 0x4000082 thrsleep syz-fuzzer 28552 499427 60792 0 3 0x4000082 thrsleep syz-fuzzer 28552 134277 60792 0 3 0x4000082 thrsleep syz-fuzzer 28552 367434 60792 0 3 0x4000082 thrsleep syz-fuzzer 28552 159755 60792 0 3 0x4000082 kqread syz-fuzzer 60792 275774 42831 0 3 0x10008a pause ksh 42831 235500 11886 0 3 0x92 select sshd 11886 9346 1 0 3 0x80 select sshd 66184 165094 76302 73 3 0x100090 kqread syslogd 76302 9536 1 0 3 0x100082 netio syslogd 86998 519245 0 0 2 0x14200 zerothread 13695 470456 0 0 3 0x14200 aiodoned aiodoned 12978 355172 0 0 3 0x14200 syncer update 96987 308954 0 0 3 0x14200 cleaner cleaner 58398 75181 0 0 3 0x14200 reaper reaper 658 334212 0 0 3 0x14200 pgdaemon pagedaemon 94265 43161 0 0 3 0x14200 bored crynlk 23649 56896 0 0 3 0x14200 bored crypto 85834 177410 0 0 3 0x40014200 acpi0 acpi0 6778 233475 0 0 3 0x14200 bored softnet 13327 38309 0 0 3 0x14200 bored systqmp 56143 154927 0 0 3 0x14200 bored systq 86751 93004 0 0 3 0x40014200 bored softclock 5782 72183 0 0 3 0x40014200 idle0 97593 209628 0 0 3 0x14200 bored smr 1 413247 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 9594 6574K 7311K 78643K 19286 0 0 pcb 13 11K 12K 78643K 1074 0 0 rtable 166 15K 16K 78643K 2173 0 0 ifaddr 102 23K 24K 78643K 670 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 328 0 0 iov 0 0K 32K 78643K 4408 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1221 77K 77K 78643K 4866 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 95 0 0 VM map 40 10K 10K 78643K 49 0 0 sem 12 0K 1K 78643K 2040 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 6 17K 25K 78643K 4578 0 0 sigio 0 0K 0K 78643K 78 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 431 0 0 in_multi 41 2K 2K 78643K 630 0 0 ether_multi 1 0K 0K 78643K 34 0 0 mrt 0 0K 0K 78643K 31 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 126 556K 556K 78643K 126 0 0 exec 0 0K 1K 78643K 1093 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 180 332K 341K 78643K 13161 0 0 UVM aobj 130 6K 6K 78643K 138 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 909 0 0 NDP 21 0K 1K 78643K 233 0 0 temp 233 3545K 4184K 78643K 293424 0 0 kqueue 0 0K 0K 78643K 26 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 85 0 79 1 0 1 1 0 8 0 rtpcb 80 532 0 532 5 4 1 1 0 8 1 rtentry 112 594 0 528 2 0 2 2 0 8 0 unpcb 120 2586 0 2572 1 0 1 1 0 8 0 syncache 264 25 0 25 8 7 1 1 0 8 1 tcpqe 32 31 0 31 6 6 0 1 0 8 0 tcpcb 544 2165 0 2148 36 34 2 15 0 8 0 ipq 40 49 0 49 14 14 0 1 0 8 0 ipqe 40 1405 0 1405 14 14 0 1 0 8 0 inpcb 280 5893 0 5874 31 29 2 9 0 8 0 rttmr 72 10 0 10 7 7 0 1 0 8 0 nd6 48 90 0 86 3 2 1 1 0 8 0 pkpcb 40 27 0 27 9 9 0 1 0 8 0 ppxss 1128 53 0 53 14 13 1 1 0 8 1 art_heap8 4096 12 0 8 8 4 4 5 0 8 0 art_heap4 256 2473 0 2217 32 16 16 17 0 8 0 art_table 32 2485 0 2225 3 0 3 3 0 8 0 art_node 16 589 0 535 1 0 1 1 0 8 0 sysvmsgpl 40 27 0 19 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 2038 0 2028 1 0 1 1 0 8 0 shmpl 112 136 0 8 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 9339 0 7929 46 0 46 46 0 8 0 ffsino 240 9339 0 7929 84 0 84 84 0 8 0 nchpl 144 17040 0 16554 60 38 22 60 0 8 0 uvmvnodes 72 8019 0 0 146 0 146 146 0 8 0 vnodes 208 8019 0 0 423 0 423 423 0 8 0 namei 1024 61791 0 61791 11 10 1 1 0 8 1 vcpupl 1984 38 0 0 5 0 5 5 0 8 0 vmpool 520 47 0 9 4 1 3 3 0 8 0 scsiplug 64 10 0 10 8 8 0 1 0 8 0 scxspl 192 70017 0 70017 31 29 2 7 0 8 2 plimitpl 152 366 0 360 1 0 1 1 0 8 0 sigapl 432 4658 0 4646 2 0 2 2 0 8 0 futexpl 56 138706 0 138705 9 8 1 1 0 8 0 knotepl 112 914 0 895 2 1 1 2 0 8 0 kqueuepl 104 1510 0 1508 7 6 1 4 0 8 0 pipepl 112 3126 0 3107 10 9 1 2 0 8 0 fdescpl 424 4659 0 4646 2 0 2 2 0 8 0 filepl 120 42190 0 42080 33 28 5 10 0 8 1 lockfpl 104 6384 0 6384 5 4 1 1 0 8 1 lockfspl 48 1295 0 1295 5 4 1 1 0 8 1 sessionpl 112 51 0 43 1 0 1 1 0 8 0 pgrppl 48 127 0 119 1 0 1 1 0 8 0 ucredpl 96 5111 0 5094 1 0 1 1 0 8 0 zombiepl 144 4647 0 4647 2 1 1 1 0 8 1 processpl 864 4676 0 4647 4 0 4 4 0 8 0 procpl 632 9972 0 9934 4 0 4 4 0 8 0 sosppl 128 95 0 95 17 16 1 1 0 8 1 sockpl 384 9151 0 9118 46 42 4 13 0 8 0 mcl64k 65536 468 0 468 26 25 1 15 0 8 1 mcl16k 16384 67 0 67 14 13 1 1 0 8 1 mcl12k 12288 154 0 154 13 12 1 1 0 8 1 mcl9k 9216 57 0 57 16 15 1 1 0 8 1 mcl8k 8192 251 0 251 9 8 1 1 0 8 1 mcl4k 4096 567 0 567 10 9 1 1 0 8 1 mcl2k2 2112 34 0 34 17 16 1 1 0 8 1 mcl2k 2048 76846 0 76803 24 17 7 13 0 8 1 mtagpl 80 336 0 327 8 7 1 3 0 8 0 mbufpl 256 166399 0 166307 153 145 8 33 0 8 1 bufpl 256 28064 0 19482 537 0 537 537 0 8 0 anonpl 16 575949 0 555447 184 92 92 102 0 62 0 amapchunkpl 152 26675 0 26519 127 116 11 20 0 158 3 amappl16 192 25666 0 24443 195 125 70 73 0 8 8 amappl15 184 1259 0 1257 1 0 1 1 0 8 0 amappl14 176 1393 0 1389 1 0 1 1 0 8 0 amappl13 168 387 0 387 8 8 0 1 0 8 0 amappl12 160 232 0 228 1 0 1 1 0 8 0 amappl11 152 733 0 729 1 0 1 1 0 8 0 amappl10 144 397 0 393 1 0 1 1 0 8 0 amappl9 136 1257 0 1254 1 0 1 1 0 8 0 amappl8 128 847 0 799 2 0 2 2 0 8 0 amappl7 120 562 0 553 1 0 1 1 0 8 0 amappl6 112 683 0 671 1 0 1 1 0 8 0 amappl5 104 640 0 631 1 0 1 1 0 8 0 amappl4 96 4556 0 4528 1 0 1 1 0 8 0 amappl3 88 1702 0 1693 1 0 1 1 0 8 0 amappl2 80 35466 0 35392 3 1 2 3 0 8 0 amappl1 72 95584 0 95189 27 18 9 20 0 8 0 amappl 80 10723 0 10662 3 1 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 137 0 8 3 0 3 3 0 8 0 uaddrrnd 24 4706 0 4646 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4706 0 4646 1 0 1 1 0 8 0 vmmpekpl 168 33609 0 33571 2 0 2 2 0 8 0 vmmpepl 168 577830 0 575381 409 260 149 160 0 357 38 vmsppl 272 4658 0 4646 4 3 1 2 0 8 0 pdppl 4096 9418 0 9348 11 2 9 10 0 8 0 pvpl 32 1669472 0 1646815 642 364 278 335 0 265 81 pmappl 200 4705 0 4655 3 0 3 3 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 964 0 288 20 0 20 20 0 8 0