panic: ifa_update_broadaddr does not support dynamic length Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *356638 13056 0 0 0x4000000 0 syz-executor.1 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82480366) at panic+0x15c sys/kern/subr_prf.c:207 ifa_update_broadaddr(ffff800000ac6800,ffff800000c64b00,ffff8000208f1720) at ifa_update_broadaddr+0x61 sys/net/if.c:3071 in_ioctl(80206913,ffff8000208f1710,ffff800000ac6800,1) at in_ioctl+0x5eb sys/netinet/in.c:320 ifioctl(fffffd805791be28,80206913,ffff8000208f1710,ffff8000207eec50) at ifioctl+0xe60 sys/net/if.c:2282 sys_ioctl(ffff8000207eec50,ffff8000208f1828,ffff8000208f1870) at sys_ioctl+0x4a1 syscall(ffff8000208f18f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1a82dd51130, 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(ffffffff82480366) at panic+0x15c sys/kern/subr_prf.c:207 ifa_update_broadaddr(ffff800000ac6800,ffff800000c64b00,ffff8000208f1720) at ifa_update_broadaddr+0x61 sys/net/if.c:3071 in_ioctl(80206913,ffff8000208f1710,ffff800000ac6800,1) at in_ioctl+0x5eb sys/netinet/in.c:320 ifioctl(fffffd805791be28,80206913,ffff8000208f1710,ffff8000207eec50) at ifioctl+0xe60 sys/net/if.c:2282 sys_ioctl(ffff8000207eec50,ffff8000208f1828,ffff8000208f1870) at sys_ioctl+0x4a1 syscall(ffff8000208f18f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1a82dd51130, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff8000208f14b0 rbx 0xffff8000208f1560 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff81e8891f kprintf+0x15f r9 0x1 r10 0x2 r11 0x1fcc4ec6f6c29dd0 r12 0x3000000008 r13 0xffff8000208f14c0 r14 0x100 r15 0x1 rip 0xffffffff816d33f8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000208f14a0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=356638 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=79, nice=20 forw=0xffffffffffffffff, list=0xffff8000207ee290,0xffff8000207ee780 process=0xffff80001d79c3d0 user=0xffff8000208ec000, vmspace=0xfffffd806ae61120 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 13056 275472 87275 0 2 0 syz-executor.1 *13056 356638 87275 0 7 0x4000000 syz-executor.1 77910 268521 2283 0 2 0 syz-executor.0 77910 87895 2283 0 3 0x4000080 select syz-executor.0 77910 397619 2283 0 3 0x4000080 fsleep syz-executor.0 2283 149975 96560 0 3 0x82 nanosleep syz-executor.0 55022 301184 0 0 3 0x14280 nfsidl nfsio 77796 221170 0 0 3 0x14280 nfsidl nfsio 64464 150145 0 0 3 0x14280 nfsidl nfsio 77125 417123 0 0 3 0x14280 nfsidl nfsio 91660 92783 0 0 3 0x14280 nfsidl nfsio 71357 430041 0 0 3 0x14280 nfsidl nfsio 61503 66348 0 0 3 0x14280 nfsidl nfsio 9243 117322 0 0 3 0x14280 nfsidl nfsio 37358 401735 0 0 3 0x14280 nfsidl nfsio 68215 15423 0 0 3 0x14280 nfsidl nfsio 85105 167871 0 0 3 0x14280 nfsidl nfsio 32118 124302 0 0 3 0x14280 nfsidl nfsio 14638 351995 0 0 3 0x14280 nfsidl nfsio 56824 431721 0 0 3 0x14280 nfsidl nfsio 14554 337725 0 0 3 0x14280 nfsidl nfsio 7855 469643 0 0 3 0x14280 nfsidl nfsio 89267 303731 0 0 3 0x14280 nfsidl nfsio 96752 450038 0 0 3 0x14280 nfsidl nfsio 16545 103037 0 0 3 0x14280 nfsidl nfsio 88684 178211 0 0 3 0x14280 nfsidl nfsio 72792 463850 0 0 3 0x14200 bored sosplice 87275 261821 96560 0 3 0x82 nanosleep syz-executor.1 96560 134272 39212 0 3 0x82 thrsleep syz-fuzzer 96560 281029 39212 0 3 0x4000082 thrsleep syz-fuzzer 96560 501360 39212 0 3 0x4000082 thrsleep syz-fuzzer 96560 146428 39212 0 3 0x4000082 thrsleep syz-fuzzer 96560 94435 39212 0 3 0x4000082 thrsleep syz-fuzzer 96560 510515 39212 0 3 0x4000082 thrsleep syz-fuzzer 96560 294255 39212 0 3 0x4000082 thrsleep syz-fuzzer 96560 21697 39212 0 3 0x4000082 kqread syz-fuzzer 39212 58221 75672 0 3 0x10008a pause ksh 75672 26500 57606 0 3 0x92 select sshd 74281 215377 1 0 3 0x100083 ttyin getty 57606 92514 1 0 3 0x80 select sshd 48054 106480 17216 73 3 0x100090 kqread syslogd 17216 78361 1 0 3 0x100082 netio syslogd 68802 390966 1 77 3 0x100090 poll dhclient 36004 277033 1 0 3 0x80 poll dhclient 51957 111287 0 0 3 0x14200 bored smr 3600 492016 0 0 2 0x14200 zerothread 97519 44454 0 0 3 0x14200 aiodoned aiodoned 87679 267593 0 0 3 0x14200 syncer update 8721 26006 0 0 3 0x14200 cleaner cleaner 79524 348251 0 0 3 0x14200 reaper reaper 14714 92017 0 0 3 0x14200 pgdaemon pagedaemon 15456 173529 0 0 3 0x14200 bored crynlk 63396 115096 0 0 3 0x14200 bored crypto 42885 428834 0 0 3 0x40014200 acpi0 acpi0 10233 209806 0 0 3 0x14200 bored softnet 95673 412085 0 0 3 0x14200 bored systqmp 17832 67552 0 0 3 0x14200 bored systq 77448 171314 0 0 3 0x40014200 bored softclock 57647 304 0 0 3 0x40014200 idle0 1 416999 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 9506 6352K 6844K 78643K 11575 0 pcb 13 8K 8K 78643K 120 0 rtable 107 5K 7K 78643K 696 0 ifaddr 315 75K 75K 78643K 554 0 sysctl 2 0K 0K 78643K 2 0 counters 21 16K 16K 78643K 45 0 ioctlops 0 0K 4K 78643K 1274 0 iov 0 0K 16K 78643K 76 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1577 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 11 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 1K 78643K 143 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 6 17K 25K 78643K 2153 0 sigio 0 0K 0K 78643K 28 0 proc 50 38K 55K 78643K 575 0 subproc 32 2K 2K 78643K 102 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 44 0 in_multi 756 25K 25K 78643K 927 0 ether_multi 1 0K 0K 78643K 19 0 mrt 0 0K 0K 78643K 5 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 55 254K 254K 78643K 55 0 exec 0 0K 1K 78643K 299 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 344 1536K 1536K 78643K 5693 0 UVM aobj 55 5K 5K 78643K 61 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 571 0 NDP 12 0K 0K 78643K 57 0 temp 134 3868K 3932K 78643K 24462 0 kqueue 3 4K 10K 78643K 16 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 17 0 10 1 0 1 1 0 8 0 rtpcb 80 65 0 63 1 0 1 1 0 8 0 rtentry 112 130 0 91 2 0 2 2 0 8 0 unpcb 120 563 0 553 1 0 1 1 0 8 0 syncache 264 10 0 10 3 3 0 1 0 8 0 tcpqe 32 95 0 95 1 1 0 1 0 8 0 tcpcb 544 2309 0 2303 1 0 1 1 0 8 0 ipq 40 3 0 3 2 1 1 1 0 8 1 ipqe 40 49 0 49 2 1 1 1 0 8 1 inpcb 296 6361 0 6352 4 2 2 3 0 8 1 rttmr 72 3 0 3 1 1 0 1 0 8 0 nd6 48 31 0 25 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 ppxss 1136 4 0 4 2 2 0 1 0 8 0 pfstscr 40 427 0 425 1 0 1 1 0 8 0 pfrktable 1344 25 0 22 2 1 1 1 0 8 0 pftag 88 6 0 4 2 1 1 1 0 8 0 pfstitem 24 462 0 458 1 0 1 1 0 8 0 pfstkey 112 796 0 792 1 0 1 1 0 8 0 pfstate 328 399 0 397 1 0 1 1 0 8 0 pfrule 1360 9 0 6 2 1 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 510 0 312 17 4 13 14 0 8 0 art_table 32 512 0 312 2 0 2 2 0 8 0 art_node 16 124 0 92 1 0 1 1 0 8 0 sysvmsgpl 40 15 0 6 2 1 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 135 0 125 1 0 1 1 0 8 0 shmpl 112 58 0 6 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3748 0 2352 88 0 88 88 0 8 0 ffsino 240 3748 0 2352 83 0 83 83 0 8 0 nchpl 144 6642 0 5052 60 0 60 60 0 8 0 uvmvnodes 72 4074 0 0 75 0 75 75 0 8 0 vnodes 208 4074 0 0 215 0 215 215 0 8 0 namei 1024 17624 0 17624 2 1 1 1 0 8 1 vcpupl 1984 203 0 1 26 0 26 26 0 8 0 vmpool 528 205 0 3 14 0 14 14 0 8 0 pfiaddrpl 120 8 0 6 2 1 1 1 0 8 0 scxspl 192 19097 0 19097 1 0 1 1 0 8 1 plimitpl 152 69 0 62 1 0 1 1 0 8 0 sigapl 424 2348 0 2298 6 0 6 6 0 8 0 futexpl 56 40894 0 40893 2 1 1 1 0 8 0 knotepl 112 125 0 106 1 0 1 1 0 8 0 kqueuepl 144 94 0 91 1 0 1 1 0 8 0 pipepl 272 223 0 213 1 0 1 1 0 8 0 fdescpl 432 2313 0 2298 2 0 2 2 0 8 0 filepl 120 13510 0 13408 4 0 4 4 0 8 0 lockfpl 104 201 0 200 1 0 1 1 0 8 0 lockfspl 48 78 0 77 1 0 1 1 0 8 0 sessionpl 112 21 0 11 1 0 1 1 0 8 0 pgrppl 48 27 0 17 1 0 1 1 0 8 0 ucredpl 96 544 0 537 1 0 1 1 0 8 0 zombiepl 144 2298 0 2298 1 0 1 1 0 8 1 processpl 928 2348 0 2298 7 0 7 7 0 8 0 procpl 624 4596 0 4536 5 0 5 5 0 8 0 sosppl 128 8 0 8 3 3 0 1 0 8 0 sockpl 400 6992 0 6971 9 5 4 5 0 8 1 mcl64k 65536 72 0 72 3 2 1 1 0 8 1 mcl16k 16384 9 0 9 5 4 1 1 0 8 1 mcl12k 12288 40 0 40 5 4 1 1 0 8 1 mcl9k 9216 6 0 6 4 4 0 1 0 8 0 mcl8k 8192 36 0 36 3 2 1 1 0 8 1 mcl4k 4096 118 0 118 2 1 1 1 0 8 1 mcl2k2 2112 4 0 4 3 2 1 1 0 8 1 mcl2k 2048 96112 0 96066 15 8 7 13 0 8 0 mtagpl 96 74 0 50 2 1 1 1 0 8 0 mbufpl 256 161116 0 160946 28 8 20 20 0 8 6 bufpl 280 6427 0 1075 383 0 383 383 0 8 0 anonpl 16 212069 0 195265 88 10 78 83 0 107 0 amapchunkpl 152 9406 0 9266 24 14 10 20 0 158 2 amappl16 192 9998 0 8932 66 12 54 63 0 8 0 amappl15 184 75 0 74 1 0 1 1 0 8 0 amappl14 176 675 0 669 1 0 1 1 0 8 0 amappl13 168 105 0 100 1 0 1 1 0 8 0 amappl12 160 20 0 19 1 0 1 1 0 8 0 amappl11 152 496 0 486 1 0 1 1 0 8 0 amappl10 144 1103 0 1096 1 0 1 1 0 8 0 amappl9 136 361 0 358 1 0 1 1 0 8 0 amappl8 128 472 0 414 2 0 2 2 0 8 0 amappl7 120 1213 0 1197 1 0 1 1 0 8 0 amappl6 112 239 0 233 1 0 1 1 0 8 0 amappl5 104 2051 0 2039 1 0 1 1 0 8 0 amappl4 96 751 0 720 1 0 1 1 0 8 0 amappl3 88 793 0 787 1 0 1 1 0 8 0 amappl2 80 17506 0 17432 2 0 2 2 0 8 0 amappl1 72 57904 0 57455 25 16 9 17 0 8 0 amappl 80 4975 0 4835 3 0 3 3 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 60 0 6 1 0 1 1 0 8 0 uaddrrnd 24 2518 0 2301 2 0 2 2 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2518 0 2301 2 0 2 2 0 8 0 vmmpekpl 168 12482 0 12429 3 0 3 3 0 8 0 vmmpepl 168 283416 0 280859 187 61 126 151 0 357 14 vmsppl 272 2517 0 2301 15 0 15 15 0 8 0 pdppl 4096 5042 0 4804 30 0 30 30 0 8 0 pvpl 32 568305 0 548797 216 37 179 200 0 265 3 pmappl 200 2517 0 2301 13 1 12 12 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 316 0 38 8 0 8 8 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(ffffffff82480366) at panic+0x15c sys/kern/subr_prf.c:207 ifa_update_broadaddr(ffff800000ac6800,ffff800000c64b00,ffff8000208f1720) at ifa_update_broadaddr+0x61 sys/net/if.c:3071 in_ioctl(80206913,ffff8000208f1710,ffff800000ac6800,1) at in_ioctl+0x5eb sys/netinet/in.c:320 ifioctl(fffffd805791be28,80206913,ffff8000208f1710,ffff8000207eec50) at ifioctl+0xe60 sys/net/if.c:2282 sys_ioctl(ffff8000207eec50,ffff8000208f1828,ffff8000208f1870) at sys_ioctl+0x4a1 syscall(ffff8000208f18f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1a82dd51130, 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(ffffffff82480366) at panic+0x15c sys/kern/subr_prf.c:207 ifa_update_broadaddr(ffff800000ac6800,ffff800000c64b00,ffff8000208f1720) at ifa_update_broadaddr+0x61 sys/net/if.c:3071 in_ioctl(80206913,ffff8000208f1710,ffff800000ac6800,1) at in_ioctl+0x5eb sys/netinet/in.c:320 ifioctl(fffffd805791be28,80206913,ffff8000208f1710,ffff8000207eec50) at ifioctl+0xe60 sys/net/if.c:2282 sys_ioctl(ffff8000207eec50,ffff8000208f1828,ffff8000208f1870) at sys_ioctl+0x4a1 syscall(ffff8000208f18f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1a82dd51130, count: -8