panic: ifa_update_broadaddr does not support dynamic length Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *412538 80577 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(ffff800000a89800,ffff8000006a0b00,ffff800016978a80) at ifa_update_broadaddr+0x61 sys/net/if.c:2970 in_ioctl(80206913,ffff800016978a70,ffff800000a89800,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd80397e2da0,80206913,ffff800016978a70,ffff8000ffff2ee8) at ifioctl+0xb34 sys/net/if.c:2202 sys_ioctl(ffff8000ffff2ee8,ffff800016978b88,ffff800016978bd0) at sys_ioctl+0x5b9 syscall(ffff800016978c50) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,55d90059010) at Xsyscall+0x128 end of kernel end trace frame: 0x55fc46cc050, 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(ffff800000a89800,ffff8000006a0b00,ffff800016978a80) at ifa_update_broadaddr+0x61 sys/net/if.c:2970 in_ioctl(80206913,ffff800016978a70,ffff800000a89800,1) at in_ioctl+0x463 sys/netinet/in.c:311 ifioctl(fffffd80397e2da0,80206913,ffff800016978a70,ffff8000ffff2ee8) at ifioctl+0xb34 sys/net/if.c:2202 sys_ioctl(ffff8000ffff2ee8,ffff800016978b88,ffff800016978bd0) at sys_ioctl+0x5b9 syscall(ffff800016978c50) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,55d90059010) at Xsyscall+0x128 end of kernel end trace frame: 0x55fc46cc050, count: -8 ddb> show registers rdi 0xffffffff81a00537 db_enter+0x17 rsi 0x1dc2 __ALIGN_SIZE+0xdc2 rbp 0xffff800016978810 rbx 0xffff8000169788c0 rdx 0x1dc3 __ALIGN_SIZE+0xdc3 rcx 0xffff800017b39000 rax 0xffff800017b39000 r8 0xffff8000169787d0 r9 0x1 r10 0xffff800000a65d00 r11 0x146bc41a74ace611 r12 0x3000000008 r13 0xffff800016978820 r14 0x100 r15 0x1 rip 0xffffffff81a00538 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800016978800 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=412538 stat=onproc flags process=0 proc=4000000 pri=81, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff2018,0xffff8000ffff3b50 process=0xffff8000148a30f8 user=0xffff800016973000, vmspace=0xfffffd803f013aa0 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 80577 428099 31579 0 2 0 syz-executor.0 *80577 412538 31579 0 7 0x4000000 syz-executor.0 22186 354835 95100 0 2 0 syz-executor.1 22186 472490 95100 0 2 0x4000000 syz-executor.1 22186 173451 95100 0 3 0x4000080 fsleep syz-executor.1 31579 68327 68314 0 2 0x482 syz-executor.0 87938 399023 1 0 3 0x100083 ttyin getty 95100 507410 68314 0 3 0x82 nanosleep syz-executor.1 5530 311173 0 0 3 0x14200 acct acct 23183 193899 0 0 3 0x14200 bored sosplice 68314 157783 17109 0 3 0x82 thrsleep syz-fuzzer 68314 462351 17109 0 3 0x4000082 thrsleep syz-fuzzer 68314 35520 17109 0 3 0x4000082 kqread syz-fuzzer 68314 79914 17109 0 3 0x4000082 thrsleep syz-fuzzer 68314 174128 17109 0 3 0x4000082 thrsleep syz-fuzzer 68314 16518 17109 0 3 0x4000082 thrsleep syz-fuzzer 68314 116406 17109 0 3 0x4000082 thrsleep syz-fuzzer 68314 404778 17109 0 3 0x4000082 thrsleep syz-fuzzer 68314 98285 17109 0 3 0x4000082 thrsleep syz-fuzzer 17109 383826 33887 0 3 0x10008a pause ksh 33887 251137 77890 0 3 0x92 select sshd 77890 446001 1 0 3 0x80 select sshd 20054 264261 76675 73 3 0x100090 kqread syslogd 76675 318700 1 0 3 0x100082 netio syslogd 92793 473453 1 77 3 0x100090 poll dhclient 76911 324446 1 0 3 0x80 poll dhclient 35140 522014 0 0 2 0x14200 zerothread 37931 430283 0 0 3 0x14200 aiodoned aiodoned 23232 256116 0 0 3 0x14200 syncer update 49761 403679 0 0 3 0x14200 cleaner cleaner 96544 161496 0 0 3 0x14200 reaper reaper 77095 310978 0 0 3 0x14200 pgdaemon pagedaemon 31946 231625 0 0 3 0x14200 bored crynlk 75153 215131 0 0 3 0x14200 bored crypto 29014 217781 0 0 3 0x40014200 acpi0 acpi0 10671 200070 0 0 3 0x14200 bored softnet 55984 390832 0 0 3 0x14200 bored systqmp 98289 383447 0 0 3 0x14200 bored systq 36156 207354 0 0 3 0x40014200 bored softclock 88219 137504 0 0 3 0x40014200 idle0 89176 462863 0 0 3 0x14200 bored smr 1 235158 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 9542 6357K 8101K 78643K 15408 0 0 pcb 13 8K 8K 78643K 283 0 0 rtable 109 5K 5K 78643K 627 0 0 ifaddr 69 14K 15K 78643K 204 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 66 0 0 iov 0 0K 24K 78643K 214 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1225 77K 77K 78643K 2670 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 33 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 12 1K 1K 78643K 12 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 6 17K 25K 78643K 1659 0 0 sigio 0 0K 0K 78643K 18 0 0 proc 50 38K 62K 78643K 598 0 0 subproc 32 2K 2K 78643K 85 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 229 0 0 in_multi 23 1K 2K 78643K 136 0 0 ether_multi 1 0K 0K 78643K 8 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 90 397K 397K 78643K 90 0 0 exec 0 0K 1K 78643K 359 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 107 21K 30K 78643K 4624 0 0 UVM aobj 76 3K 3K 78643K 76 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 263 0 0 NDP 16 0K 0K 78643K 59 0 0 temp 198 3544K 4179K 78643K 41273 0 0 kqueue 0 0K 0K 78643K 6 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 17 0 12 1 0 1 1 0 8 0 rtpcb 80 108 0 106 1 0 1 1 0 8 0 rtentry 112 96 0 56 2 0 2 2 0 8 0 unpcb 120 696 0 685 1 0 1 1 0 8 0 syncache 264 13 0 13 4 4 0 1 0 8 0 tcpqe 32 102 0 102 2 2 0 1 0 8 0 tcpcb 544 519 0 514 2 1 1 2 0 8 0 ipq 40 24 0 24 2 1 1 1 0 8 1 ipqe 40 299 0 299 2 1 1 1 0 8 1 inpcb 280 1468 0 1459 4 2 2 2 0 8 0 rttmr 72 3 0 3 1 1 0 1 0 8 0 ip6q 72 3 0 3 1 1 0 1 0 8 0 ip6af 40 5 0 5 1 1 0 1 0 8 0 nd6 48 10 0 8 1 0 1 1 0 8 0 pkpcb 40 6 0 6 2 2 0 1 0 8 0 swfcl 56 1 0 0 1 0 1 1 0 8 0 ppxss 1128 18 0 18 5 4 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 396 0 204 16 4 12 15 0 8 0 art_table 32 398 0 204 2 0 2 2 0 8 0 art_node 16 95 0 58 1 0 1 1 0 8 0 sysvmsgpl 40 40 0 27 1 0 1 1 0 8 0 semapl 112 10 0 0 1 0 1 1 0 8 0 shmpl 112 74 0 0 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 3906 0 2511 46 0 46 46 0 8 0 ffsino 240 3906 0 2511 83 0 83 83 0 8 0 nchpl 144 6205 0 4607 60 0 60 60 0 8 0 uvmvnodes 72 5041 0 0 92 0 92 92 0 8 0 vnodes 208 5041 0 0 266 0 266 266 0 8 0 namei 1024 17778 0 17776 3 2 1 1 0 8 0 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 20712 0 20712 11 10 1 7 0 8 1 plimitpl 152 91 0 84 1 0 1 1 0 8 0 sigapl 432 1822 0 1808 2 0 2 2 0 8 0 futexpl 56 25467 0 25466 3 2 1 1 0 8 0 knotepl 112 318 0 299 1 0 1 1 0 8 0 kqueuepl 104 377 0 375 1 0 1 1 0 8 0 pipepl 112 672 0 653 3 1 2 2 0 8 1 fdescpl 424 1823 0 1808 2 0 2 2 0 8 0 filepl 120 9689 0 9591 7 2 5 5 0 8 2 lockfpl 104 500 0 499 1 0 1 1 0 8 0 lockfspl 48 188 0 187 1 0 1 1 0 8 0 sessionpl 112 22 0 12 1 0 1 1 0 8 0 pgrppl 48 58 0 48 1 0 1 1 0 8 0 ucredpl 96 1429 0 1422 1 0 1 1 0 8 0 zombiepl 144 1808 0 1808 3 2 1 1 0 8 1 processpl 864 1839 0 1808 4 0 4 4 0 8 0 procpl 632 3733 0 3691 6 2 4 5 0 8 0 sosppl 128 31 0 31 4 4 0 1 0 8 0 sockpl 384 2308 0 2286 9 4 5 5 0 8 2 mcl64k 65536 89 0 89 3 1 2 2 0 8 2 mcl16k 16384 3 0 3 3 2 1 1 0 8 1 mcl12k 12288 32 0 32 5 5 0 1 0 8 0 mcl9k 9216 16 0 16 5 5 0 1 0 8 0 mcl8k 8192 58 0 58 4 3 1 1 0 8 1 mcl4k 4096 108 0 108 4 3 1 1 0 8 1 mcl2k2 2112 11 0 11 3 2 1 1 0 8 1 mcl2k 2048 64285 0 64237 41 33 8 22 0 8 1 mtagpl 80 121 0 117 5 4 1 2 0 8 0 mbufpl 256 121468 0 121375 62 46 16 49 0 8 3 bufpl 256 10720 0 5705 314 0 314 314 0 8 0 anonpl 16 183172 0 169502 102 30 72 92 0 62 0 amapchunkpl 152 7577 0 7445 20 14 6 10 0 158 0 amappl16 192 10291 0 9444 104 54 50 66 0 8 6 amappl15 184 8 0 7 1 0 1 1 0 8 0 amappl14 176 268 0 262 1 0 1 1 0 8 0 amappl12 160 974 0 972 1 0 1 1 0 8 0 amappl11 152 58 0 47 1 0 1 1 0 8 0 amappl10 144 102 0 99 1 0 1 1 0 8 0 amappl9 136 941 0 937 1 0 1 1 0 8 0 amappl8 128 522 0 494 2 0 2 2 0 8 0 amappl7 120 126 0 119 1 0 1 1 0 8 0 amappl6 112 59 0 50 1 0 1 1 0 8 0 amappl5 104 1149 0 1138 1 0 1 1 0 8 0 amappl4 96 2049 0 2021 1 0 1 1 0 8 0 amappl3 88 149 0 143 1 0 1 1 0 8 0 amappl2 80 13672 0 13599 3 1 2 3 0 8 0 amappl1 72 39370 0 38943 27 18 9 20 0 8 0 amappl 80 4018 0 3974 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 75 0 0 2 0 2 2 0 8 0 uaddrrnd 24 1823 0 1808 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1823 0 1808 1 0 1 1 0 8 0 vmmpekpl 168 14204 0 14181 2 0 2 2 0 8 0 vmmpepl 168 216970 0 214959 183 71 112 120 0 357 24 vmsppl 272 1822 0 1808 3 2 1 2 0 8 0 pdppl 4096 3652 0 3616 6 1 5 6 0 8 0 pvpl 32 548974 0 532154 236 62 174 208 0 265 13 pmappl 200 1822 0 1808 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 551 0 100 14 0 14 14 0 8 0