panic: ifa_update_broadaddr does not support dynamic length Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *133325 27703 0 0 0x4000000 0 syz-executor.0 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82481954) at panic+0x15c sys/kern/subr_prf.c:207 ifa_update_broadaddr(ffff800000ac6000,ffff800000b35400,ffff80001e785160) at ifa_update_broadaddr+0x61 sys/net/if.c:3071 in_ioctl(80206913,ffff80001e785150,ffff800000ac6000,1) at in_ioctl+0x5eb sys/netinet/in.c:320 ifioctl(fffffd8053a644c0,80206913,ffff80001e785150,ffff80001e7a4770) at ifioctl+0xe60 sys/net/if.c:2282 sys_ioctl(ffff80001e7a4770,ffff80001e785268,ffff80001e7852b0) at sys_ioctl+0x4a1 syscall(ffff80001e785330) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xbb4e0a6cb50, 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(ffffffff82481954) at panic+0x15c sys/kern/subr_prf.c:207 ifa_update_broadaddr(ffff800000ac6000,ffff800000b35400,ffff80001e785160) at ifa_update_broadaddr+0x61 sys/net/if.c:3071 in_ioctl(80206913,ffff80001e785150,ffff800000ac6000,1) at in_ioctl+0x5eb sys/netinet/in.c:320 ifioctl(fffffd8053a644c0,80206913,ffff80001e785150,ffff80001e7a4770) at ifioctl+0xe60 sys/net/if.c:2282 sys_ioctl(ffff80001e7a4770,ffff80001e785268,ffff80001e7852b0) at sys_ioctl+0x4a1 syscall(ffff80001e785330) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xbb4e0a6cb50, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001e784ef0 rbx 0xffff80001e784fa0 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff813392bf kprintf+0x15f r9 0x1 r10 0x2 r11 0x7cbdcf979371e803 r12 0x3000000008 r13 0xffff80001e784f00 r14 0x100 r15 0x1 rip 0xffffffff81597d08 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001e784ee0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=133325 stat=onproc flags process=0 proc=4000000 pri=79, usrpri=79, nice=20 forw=0xffffffffffffffff, list=0xffff80001e7a4020,0xffffffff8285d098 process=0xffff80001e7b6770 user=0xffff80001e780000, vmspace=0xfffffd8057706550 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 27703 146133 78239 0 3 0x80 fsleep syz-executor.0 *27703 133325 78239 0 7 0x4000000 syz-executor.0 51234 64095 0 0 3 0x14280 nfsidl nfsio 99539 470654 0 0 3 0x14280 nfsidl nfsio 79440 413825 0 0 3 0x14280 nfsidl nfsio 92402 493562 0 0 3 0x14280 nfsidl nfsio 90723 59303 0 0 3 0x14280 nfsidl nfsio 61149 255113 0 0 3 0x14280 nfsidl nfsio 68123 44341 0 0 3 0x14280 nfsidl nfsio 3099 407601 0 0 3 0x14280 nfsidl nfsio 21123 518026 0 0 3 0x14280 nfsidl nfsio 9524 324505 0 0 3 0x14280 nfsidl nfsio 89104 360418 0 0 3 0x14280 nfsidl nfsio 89137 341133 0 0 3 0x14280 nfsidl nfsio 85155 443213 0 0 3 0x14280 nfsidl nfsio 10087 304861 0 0 3 0x14280 nfsidl nfsio 63823 366829 0 0 3 0x14280 nfsidl nfsio 84355 197636 0 0 3 0x14280 nfsidl nfsio 4304 340333 0 0 3 0x14280 nfsidl nfsio 46907 158609 0 0 3 0x14280 nfsidl nfsio 70411 323228 0 0 3 0x14280 nfsidl nfsio 88261 58508 0 0 3 0x14280 nfsidl nfsio 25619 321992 78468 0 3 0x82 piperd syz-executor.1 51096 326977 0 0 3 0x14200 acct acct 42731 67381 0 0 3 0x14200 bored sosplice 78239 31972 78468 0 3 0x82 nanosleep syz-executor.0 78468 320860 45457 0 3 0x82 thrsleep syz-fuzzer 78468 32826 45457 0 3 0x4000082 nanosleep syz-fuzzer 78468 433166 45457 0 3 0x4000082 thrsleep syz-fuzzer 78468 264907 45457 0 3 0x4000082 thrsleep syz-fuzzer 78468 258010 45457 0 3 0x4000082 thrsleep syz-fuzzer 78468 188819 45457 0 2 0x4000002 syz-fuzzer 78468 405288 45457 0 3 0x4000082 thrsleep syz-fuzzer 78468 377454 45457 0 3 0x4000082 thrsleep syz-fuzzer 45457 137693 70736 0 3 0x10008a pause ksh 70736 209025 67959 0 3 0x92 select sshd 35580 82552 1 0 3 0x100083 ttyin getty 67959 329448 1 0 3 0x80 select sshd 49265 129014 81756 73 3 0x100090 kqread syslogd 81756 196198 1 0 3 0x100082 netio syslogd 71803 318341 1 77 3 0x100090 poll dhclient 26714 390680 1 0 3 0x80 poll dhclient 86415 341647 0 0 3 0x14200 bored smr 56294 513109 0 0 2 0x14200 zerothread 42395 310591 0 0 3 0x14200 aiodoned aiodoned 22937 484913 0 0 3 0x14200 syncer update 82337 16290 0 0 3 0x14200 cleaner cleaner 73279 405761 0 0 3 0x14200 reaper reaper 22732 258197 0 0 3 0x14200 pgdaemon pagedaemon 55449 114742 0 0 3 0x14200 bored crynlk 71433 482684 0 0 3 0x14200 bored crypto 67198 275888 0 0 3 0x40014200 acpi0 acpi0 88273 182884 0 0 3 0x14200 bored softnet 84299 3778 0 0 3 0x14200 bored systqmp 79599 488422 0 0 3 0x14200 bored systq 22338 28296 0 0 3 0x40014200 bored softclock 25837 451696 0 0 3 0x40014200 idle0 1 272020 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 9516 6378K 6767K 78643K 11993 0 pcb 13 8K 8K 78643K 190 0 rtable 119 18K 22K 78643K 916 0 ifaddr 92 19K 20K 78643K 333 0 sysctl 2 0K 0K 78643K 2 0 counters 21 16K 17K 78643K 46 0 ioctlops 0 0K 4K 78643K 147 0 iov 0 0K 16K 78643K 1993 0 mount 1 1K 1K 78643K 1 0 vnodes 1226 77K 77K 78643K 1707 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 18 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 1K 78643K 282 0 dirhash 9 1K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 1513 0 sigio 0 0K 0K 78643K 16 0 proc 51 38K 55K 78643K 508 0 subproc 32 2K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 404 0 in_multi 74 3K 3K 78643K 291 0 ether_multi 1 0K 0K 78643K 31 0 mrt 1 0K 0K 78643K 12 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 61 281K 281K 78643K 61 0 exec 0 0K 1K 78643K 266 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 159 73K 73K 78643K 4570 0 UVM aobj 43 2K 2K 78643K 51 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 122 0 NDP 13 0K 0K 78643K 49 0 temp 144 3880K 3944K 78643K 13647 0 kqueue 3 4K 16K 78643K 44 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 10 0 3 1 0 1 1 0 8 0 rtpcb 80 90 0 88 1 0 1 1 0 8 0 rtentry 112 99 0 68 2 0 2 2 0 8 0 unpcb 120 724 0 716 1 0 1 1 0 8 0 syncache 264 9 0 9 4 3 1 1 0 8 1 sackhl 24 2 0 2 2 2 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 544 428 0 423 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 45 0 45 1 1 0 1 0 8 0 inpcb 296 2528 0 2520 6 4 2 2 0 8 1 rttmr 72 2 0 2 2 2 0 1 0 8 0 nd6 48 15 0 14 1 0 1 1 0 8 0 ppxss 1128 1 0 1 1 1 0 1 0 8 0 pfstscr 40 2 0 1 1 0 1 1 0 8 0 pfrktable 1344 165 0 150 5 3 2 2 0 8 0 pftag 88 28 0 24 2 1 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 112 6 0 4 2 1 1 1 0 8 0 pfstate 328 3 0 2 2 1 1 1 0 8 0 pfrule 1360 46 0 31 4 2 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 555 0 407 14 4 10 12 0 8 0 art_table 32 556 0 407 2 0 2 2 0 8 0 art_node 16 98 0 71 1 0 1 1 0 8 0 sysvmsgpl 40 32 0 20 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 280 0 270 1 0 1 1 0 8 0 shmpl 112 48 0 8 3 1 2 2 0 8 0 dirhash 1024 17 0 10 3 1 2 3 0 8 0 dino2pl 256 3246 0 1850 88 0 88 88 0 8 0 ffsino 240 3246 0 1850 83 0 83 83 0 8 0 nchpl 144 6102 0 4518 60 0 60 60 0 8 0 uvmvnodes 72 3627 0 0 66 0 66 66 0 8 0 vnodes 208 3627 0 0 191 0 191 191 0 8 0 namei 1024 15425 0 15425 2 1 1 1 0 8 1 vcpupl 1984 10 0 1 2 0 2 2 0 8 0 vmpool 528 13 0 4 3 2 1 1 0 8 0 pfiaddrpl 120 64 0 51 2 1 1 1 0 8 0 scxspl 192 15575 0 15575 1 0 1 1 0 8 1 plimitpl 152 81 0 74 1 0 1 1 0 8 0 sigapl 424 1718 0 1668 6 0 6 6 0 8 0 futexpl 56 27087 0 27086 2 1 1 1 0 8 0 knotepl 112 123 0 104 1 0 1 1 0 8 0 kqueuepl 144 153 0 151 1 0 1 1 0 8 0 pipepl 272 207 0 197 1 0 1 1 0 8 0 fdescpl 432 1682 0 1668 2 0 2 2 0 8 0 filepl 120 9618 0 9522 4 0 4 4 0 8 1 lockfpl 104 198 0 197 1 0 1 1 0 8 0 lockfspl 48 73 0 72 1 0 1 1 0 8 0 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 22 0 12 1 0 1 1 0 8 0 ucredpl 96 803 0 796 1 0 1 1 0 8 0 zombiepl 144 1668 0 1668 1 0 1 1 0 8 1 processpl 928 1718 0 1668 7 0 7 7 0 8 0 procpl 624 3754 0 3696 5 0 5 5 0 8 0 sosppl 128 13 0 13 4 3 1 1 0 8 1 sockpl 400 3513 0 3493 8 5 3 4 0 8 0 mcl64k 65536 79 0 79 7 6 1 1 0 8 1 mcl16k 16384 3 0 3 3 3 0 1 0 8 0 mcl12k 12288 29 0 29 5 5 0 1 0 8 0 mcl9k 9216 21 0 21 9 8 1 1 0 8 1 mcl8k 8192 47 0 47 8 7 1 1 0 8 1 mcl4k 4096 109 0 109 7 6 1 1 0 8 1 mcl2k2 2112 10 0 10 5 4 1 1 0 8 1 mcl2k 2048 90544 0 90492 20 12 8 14 0 8 1 mtagpl 96 111 0 62 3 1 2 2 0 8 0 mbufpl 256 153537 0 153211 36 14 22 25 0 8 0 bufpl 280 5673 0 321 383 0 383 383 0 8 0 anonpl 16 190229 0 170506 126 44 82 91 0 107 0 amapchunkpl 152 8256 0 8107 37 30 7 20 0 158 0 amappl16 192 9223 0 8081 123 65 58 67 0 8 0 amappl15 184 2 0 0 1 0 1 1 0 8 0 amappl14 176 26 0 21 1 0 1 1 0 8 0 amappl13 168 43 0 39 1 0 1 1 0 8 0 amappl12 160 369 0 366 2 1 1 1 0 8 0 amappl11 152 260 0 250 1 0 1 1 0 8 0 amappl10 144 917 0 911 1 0 1 1 0 8 0 amappl9 136 368 0 367 1 0 1 1 0 8 0 amappl8 128 392 0 334 2 0 2 2 0 8 0 amappl7 120 1015 0 1003 1 0 1 1 0 8 0 amappl6 112 232 0 225 1 0 1 1 0 8 0 amappl5 104 1984 0 1972 1 0 1 1 0 8 0 amappl4 96 444 0 418 1 0 1 1 0 8 0 amappl3 88 159 0 153 1 0 1 1 0 8 0 amappl2 80 12585 0 12519 2 0 2 2 0 8 0 amappl1 72 49356 0 48942 23 14 9 17 0 8 0 amappl 80 4002 0 3955 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 18 0 17 1 0 1 1 0 8 0 aobjpl 64 50 0 8 1 0 1 1 0 8 0 uaddrrnd 24 1695 0 1672 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1695 0 1672 1 0 1 1 0 8 0 vmmpekpl 168 12434 0 12398 2 0 2 2 0 8 0 vmmpepl 168 214511 0 212168 190 86 104 128 0 357 0 vmsppl 272 1694 0 1672 4 2 2 2 0 8 0 pdppl 4096 3396 0 3353 8 2 6 6 0 8 0 pvpl 32 478411 0 456843 261 67 194 207 0 265 12 pmappl 200 1694 0 1672 3 1 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 305 0 67 7 0 7 7 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82481954) at panic+0x15c sys/kern/subr_prf.c:207 ifa_update_broadaddr(ffff800000ac6000,ffff800000b35400,ffff80001e785160) at ifa_update_broadaddr+0x61 sys/net/if.c:3071 in_ioctl(80206913,ffff80001e785150,ffff800000ac6000,1) at in_ioctl+0x5eb sys/netinet/in.c:320 ifioctl(fffffd8053a644c0,80206913,ffff80001e785150,ffff80001e7a4770) at ifioctl+0xe60 sys/net/if.c:2282 sys_ioctl(ffff80001e7a4770,ffff80001e785268,ffff80001e7852b0) at sys_ioctl+0x4a1 syscall(ffff80001e785330) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xbb4e0a6cb50, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82481954) at panic+0x15c sys/kern/subr_prf.c:207 ifa_update_broadaddr(ffff800000ac6000,ffff800000b35400,ffff80001e785160) at ifa_update_broadaddr+0x61 sys/net/if.c:3071 in_ioctl(80206913,ffff80001e785150,ffff800000ac6000,1) at in_ioctl+0x5eb sys/netinet/in.c:320 ifioctl(fffffd8053a644c0,80206913,ffff80001e785150,ffff80001e7a4770) at ifioctl+0xe60 sys/net/if.c:2282 sys_ioctl(ffff80001e7a4770,ffff80001e785268,ffff80001e7852b0) at sys_ioctl+0x4a1 syscall(ffff80001e785330) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xbb4e0a6cb50, count: -8