panic: ifa_update_broadaddr does not support dynamic length Stopped at db_enter+0x1c: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *331411 83341 0 0x8000000 0x4000000 0 syz-executor.5 db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8282dc32) at panic+0x165 sys/kern/subr_prf.c:198 ifa_update_broadaddr(ffff800000ddd000,ffff800000e12d00,ffff80002a609930) at ifa_update_broadaddr+0x6a sys/net/if.c:3315 in_ioctl(80206913,ffff80002a609920,ffff800000ddd000,1) at in_ioctl+0x5cf sys/netinet/in.c:313 ifioctl(fffffd80794cd7e8,80206913,ffff80002a609920,ffff80002a6aea70) at ifioctl+0x104c pru_control sys/sys/protosw.h:378 [inline] ifioctl(fffffd80794cd7e8,80206913,ffff80002a609920,ffff80002a6aea70) at ifioctl+0x104c sys/net/if.c:2449 sys_ioctl(ffff80002a6aea70,ffff80002a609b00,ffff80002a609a50) at sys_ioctl+0x4a5 syscall(ffff80002a609b00) at syscall+0x72a sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc9650967e20, 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 *cpu0: ifa_update_broadaddr does not support dynamic length ddb> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8282dc32) at panic+0x165 sys/kern/subr_prf.c:198 ifa_update_broadaddr(ffff800000ddd000,ffff800000e12d00,ffff80002a609930) at ifa_update_broadaddr+0x6a sys/net/if.c:3315 in_ioctl(80206913,ffff80002a609920,ffff800000ddd000,1) at in_ioctl+0x5cf sys/netinet/in.c:313 ifioctl(fffffd80794cd7e8,80206913,ffff80002a609920,ffff80002a6aea70) at ifioctl+0x104c pru_control sys/sys/protosw.h:378 [inline] ifioctl(fffffd80794cd7e8,80206913,ffff80002a609920,ffff80002a6aea70) at ifioctl+0x104c sys/net/if.c:2449 sys_ioctl(ffff80002a6aea70,ffff80002a609b00,ffff80002a609a50) at sys_ioctl+0x4a5 syscall(ffff80002a609b00) at syscall+0x72a sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc9650967e20, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80002a6096d0 rbx 0xff0514ac rdx 0xffff800000df2c00 rcx 0 rax 0xffff80002a6aea70 r8 0 r9 0x8080808080808080 r10 0xd02c006f9378bec2 r11 0x4dfe869892d45d33 r12 0 r13 0x10 r14 0 r15 0x1 rip 0xffffffff82453c3c db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff80002a6096c0 ss 0x10 db_enter+0x1c: addq $0x8,%rsp ddb> show proc PROC (syz-executor.5) tid=331411 pid=83341 tcnt=2 stat=onproc flags process=8000000 proc=4000000 runpri=32, usrpri=80, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff80002a6ae550,0xffffffff82d440e8 process=0xffff80002f57f688 user=0xffff80002a604000, vmspace=0xfffffd8069551418 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 83341 180474 50283 0 2 0x8000000 syz-executor.5 *83341 331411 50283 0 7 0xc000000 syz-executor.5 77045 301734 44266 0 2 0x8000000 syz-executor.4 77045 471625 44266 0 3 0xc000080 fsleep syz-executor.4 34534 375221 41491 0 2 0x8000480 syz-executor.2 34534 95313 41491 0 3 0xc000080 lockf syz-executor.2 34534 471942 41491 0 3 0xc000000 smrbar syz-executor.2 39418 485551 29202 0 2 0x8000480 syz-executor.1 39418 448236 29202 0 3 0xc000080 fifow syz-executor.1 39418 49750 29202 0 3 0xc000080 fsleep syz-executor.1 53639 352048 18526 60928 3 0x8000090 nanoslp syz-executor.6 53639 374317 18526 60928 3 0xc000090 ttyout syz-executor.6 53639 47375 18526 60928 3 0xc000090 ttybg syz-executor.6 24098 181129 0 0 3 0x14200 acct acct 88083 227136 9957 0 2 0x8000002 syz-executor.0 41247 491569 1 0 3 0x8000080 nanoslp init 8301 89987 0 0 3 0x14200 bored sosplice 44266 184641 9957 0 3 0x8000082 nanoslp syz-executor.4 90991 440523 9957 0 2 0x8000002 syz-executor.7 50283 258998 9957 0 2 0x8000482 syz-executor.5 18526 362662 9957 0 3 0x8000082 nanoslp syz-executor.6 29202 423187 9957 0 3 0x8000082 nanoslp syz-executor.1 66361 238591 9957 0 2 0x8000482 syz-executor.3 41491 328416 9957 0 3 0x8000082 nanoslp syz-executor.2 9957 351256 65995 0 3 0x1a000082 wait syz-fuzzer 9957 190957 65995 0 2 0x1e000482 syz-fuzzer 9957 395778 65995 0 3 0x1e000082 thrsleep syz-fuzzer 9957 81729 65995 0 3 0x1e000082 wait syz-fuzzer 9957 38407 65995 0 3 0x1e000082 wait syz-fuzzer 9957 283264 65995 0 3 0x1e000082 wait syz-fuzzer 9957 192273 65995 0 3 0x1e000082 wait syz-fuzzer 9957 453063 65995 0 3 0x1e000082 thrsleep syz-fuzzer 9957 413937 65995 0 3 0x1e000082 wait syz-fuzzer 9957 495869 65995 0 3 0x1e000082 thrsleep syz-fuzzer 9957 91905 65995 0 3 0x1e000082 thrsleep syz-fuzzer 9957 360190 65995 0 3 0x1e000082 wait syz-fuzzer 9957 319403 65995 0 3 0x1e000082 wait syz-fuzzer 9957 221201 65995 0 3 0x1e000082 kqread syz-fuzzer 65995 88905 92114 0 3 0x810008a sigsusp ksh 92114 106756 88229 0 3 0x1800009a kqread sshd 88229 138641 1 0 3 0x18000088 kqread sshd 44299 217672 89273 73 3 0x19100090 kqread syslogd 89273 281642 1 0 3 0x18100082 sbwait syslogd 52448 290986 1 0 3 0x18100080 kqread resolvd 59712 186833 0 0 3 0x14200 bored smr 30384 25794 0 0 2 0x14200 zerothread 89837 264794 0 0 3 0x14200 aiodoned aiodoned 8755 29649 0 0 3 0x14200 syncer update 43044 181398 0 0 3 0x14200 cleaner cleaner 59484 79259 0 0 3 0x14200 reaper reaper 3840 431442 0 0 3 0x14200 pgdaemon pagedaemon 88712 348116 0 0 3 0x14200 bored viomb 19015 353387 0 0 3 0x40014200 acpi0 acpi0 55446 380413 0 0 3 0x14200 bored softnet3 58846 380082 0 0 3 0x14200 bored softnet2 64899 115169 0 0 3 0x14200 bored softnet1 765 62751 0 0 3 0x14200 bored softnet0 11016 511994 0 0 3 0x14200 bored systqmp 77270 517871 0 0 3 0x14200 bored systq 90309 242516 0 0 2 0x40014200 softclock 98998 176669 0 0 3 0x40014200 idle0 1 514161 0 0 3 0x8080082 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 10167 6408K 6929K 166960K 11669 0 pcb 17 12K 12K 166960K 91 0 rtable 201 10K 11K 166960K 458 0 pf 33 9K 9K 166960K 38 0 ifaddr 40 10K 11K 166960K 54 0 ifgroup 58 2K 2K 166960K 67 0 counters 32 17K 17K 166960K 34 0 ioctlops 0 0K 2K 166960K 55 0 iov 0 0K 18K 166960K 32 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1374 86K 87K 166960K 1666 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 16 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 34 0 dirhash 12 2K 2K 166960K 45 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 15 53K 85K 166960K 538 0 sigio 0 0K 0K 166960K 10 0 proc 45 34K 75K 166960K 532 0 subproc 104 6K 6K 166960K 117 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 4 0K 0K 166960K 58 0 in_multi 77 5K 7K 166960K 125 0 ether_multi 1 0K 0K 166960K 3 0 mrt 1 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 444 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 242 108K 109K 166960K 6836 0 UVM aobj 24 2K 2K 166960K 26 0 pinsyscall 28 56K 100K 166960K 1702 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 26 0 NDP 13 0K 2K 166960K 33 0 temp 67 6810K 6886K 166960K 34883 0 kqueue 7 12K 26K 166960K 88 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 69 0 68 1 0 1 1 0 8 0 rtentry 112 147 0 58 4 0 4 4 0 8 0 unpcb 144 357 0 345 2 0 2 2 0 8 1 syncache 336 5 0 5 1 0 1 1 0 8 1 tcpcb 808 159 0 153 2 0 2 2 0 8 1 arp 88 25 0 13 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 2 0 0 1 0 1 1 0 8 0 inpcb 352 564 0 553 3 0 3 3 0 8 1 nd6 104 33 0 14 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 0 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 537 0 168 29 0 29 29 0 8 4 art_table 32 538 0 168 4 0 4 4 0 8 0 art_node 16 144 0 67 1 0 1 1 0 8 0 sysvmsgpl 40 19 0 12 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 29 0 19 1 0 1 1 0 8 0 shmpl 112 23 0 2 1 0 1 1 0 8 0 dirhash 1024 39 0 22 3 0 3 3 0 8 0 dino2pl 256 2322 0 808 96 0 96 96 0 8 0 ffsino 240 2322 0 808 90 0 90 90 0 8 0 nchpl 144 3173 0 1441 66 0 66 66 0 8 0 uvmvnodes 80 2586 0 0 53 0 53 53 0 8 0 vnodes 216 2586 0 0 144 0 144 144 0 8 0 namei 1024 10840 0 10838 2 0 2 2 0 8 1 vcpupl 3904 2 0 0 1 0 1 1 0 8 0 vmpool 664 5 0 3 1 0 1 1 0 8 0 kstatmem 264 30 0 4 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 11674 0 11674 8 0 8 8 1 8 8 plimitpl 152 160 0 146 1 0 1 1 0 8 0 sigapl 424 843 0 801 6 0 6 6 0 8 0 futexpl 64 8479 0 8477 1 0 1 1 0 8 0 knotepl 120 5418 0 5346 11 0 11 11 0 8 7 kqueuepl 184 162 0 154 1 0 1 1 0 8 0 pipepl 288 194 0 166 3 0 3 3 0 8 0 fdescpl 432 824 0 801 4 0 4 4 0 8 0 filepl 120 4550 0 4310 9 0 9 9 0 8 1 lockfpl 104 113 0 110 1 0 1 1 0 8 0 lockfspl 48 50 0 48 1 0 1 1 0 8 0 sessionpl 144 25 0 11 1 0 1 1 0 8 0 pgrppl 48 32 0 18 1 0 1 1 0 8 0 ucredpl 104 609 0 600 1 0 1 1 0 8 0 zombiepl 144 802 0 801 1 0 1 1 0 8 0 processpl 1072 843 0 801 4 0 4 4 0 8 0 procpl 656 1360 0 1297 7 0 7 7 0 8 0 sosppl 168 7 0 7 1 0 1 1 0 8 1 sockpl 504 997 0 973 7 0 7 7 0 8 4 mcl64k 65536 4 0 4 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 13 0 12 1 0 1 1 0 8 0 mcl4k 4096 8 0 8 1 0 1 1 0 8 1 mcl2k 2048 18257 0 18167 42 22 20 38 0 8 7 mtagpl 96 11 0 7 1 0 1 1 0 8 0 mbufpl 256 35107 0 34909 69 5 64 64 0 8 44 bufpl 280 5614 0 184 388 0 388 388 0 8 0 anonpl 24 232466 0 227534 83 0 83 83 0 188 42 amapchunkpl 152 22068 0 21464 29 0 29 29 0 158 2 amappl16 200 6508 0 6397 35 20 15 31 0 8 8 amappl15 192 17 0 16 1 0 1 1 0 8 0 amappl14 184 159 0 150 2 0 2 2 0 8 1 amappl13 176 7 0 7 1 0 1 1 0 8 1 amappl12 168 1464 0 1442 2 0 2 2 0 8 0 amappl11 160 55 0 51 1 0 1 1 0 8 0 amappl10 152 55 0 44 1 0 1 1 0 8 0 amappl9 144 144 0 144 1 0 1 1 0 8 1 amappl8 136 111 0 82 2 0 2 2 0 8 0 amappl7 128 42 0 36 1 0 1 1 0 8 0 amappl6 120 361 0 351 2 0 2 2 0 8 1 amappl5 112 175 0 165 1 0 1 1 0 8 0 amappl4 104 512 0 488 2 0 2 2 0 8 1 amappl3 96 5110 0 5040 3 0 3 3 0 8 0 amappl2 88 1263 0 1214 3 0 3 3 0 8 1 amappl1 80 10870 0 10494 22 3 19 22 0 8 8 amappl 88 6263 0 6091 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 0 1 1 0 8 1 dma128 128 253 0 253 1 0 1 1 0 8 1 dma64 64 6 0 6 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 25 0 2 1 0 1 1 0 8 0 uaddrrnd 24 829 0 804 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 829 0 804 1 0 1 1 0 8 0 vmmpekpl 168 10691 0 10637 3 0 3 3 0 8 0 vmmpepl 168 70811 0 69309 111 0 111 111 0 357 36 vmsppl 344 828 0 804 4 0 4 4 0 8 1 rwobjpl 24 27398 0 23939 23 0 23 23 0 8 1 pdppl 4096 1664 0 1610 116 56 60 74 0 8 6 pvpl 32 523164 0 513384 361 23 338 361 0 265 244 pmappl 216 828 0 804 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 467 0 83 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8282dc32) at panic+0x165 sys/kern/subr_prf.c:198 ifa_update_broadaddr(ffff800000ddd000,ffff800000e12d00,ffff80002a609930) at ifa_update_broadaddr+0x6a sys/net/if.c:3315 in_ioctl(80206913,ffff80002a609920,ffff800000ddd000,1) at in_ioctl+0x5cf sys/netinet/in.c:313 ifioctl(fffffd80794cd7e8,80206913,ffff80002a609920,ffff80002a6aea70) at ifioctl+0x104c pru_control sys/sys/protosw.h:378 [inline] ifioctl(fffffd80794cd7e8,80206913,ffff80002a609920,ffff80002a6aea70) at ifioctl+0x104c sys/net/if.c:2449 sys_ioctl(ffff80002a6aea70,ffff80002a609b00,ffff80002a609a50) at sys_ioctl+0x4a5 syscall(ffff80002a609b00) at syscall+0x72a sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc9650967e20, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8282dc32) at panic+0x165 sys/kern/subr_prf.c:198 ifa_update_broadaddr(ffff800000ddd000,ffff800000e12d00,ffff80002a609930) at ifa_update_broadaddr+0x6a sys/net/if.c:3315 in_ioctl(80206913,ffff80002a609920,ffff800000ddd000,1) at in_ioctl+0x5cf sys/netinet/in.c:313 ifioctl(fffffd80794cd7e8,80206913,ffff80002a609920,ffff80002a6aea70) at ifioctl+0x104c pru_control sys/sys/protosw.h:378 [inline] ifioctl(fffffd80794cd7e8,80206913,ffff80002a609920,ffff80002a6aea70) at ifioctl+0x104c sys/net/if.c:2449 sys_ioctl(ffff80002a6aea70,ffff80002a609b00,ffff80002a609a50) at sys_ioctl+0x4a5 syscall(ffff80002a609b00) at syscall+0x72a sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc9650967e20, count: -8