login: panic: ifa_update_broadaddr does not support dynamic length Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *339676 56098 0 0 0x4000000 0 syz-executor.1 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff822536b7) at panic+0x15c sys/kern/subr_prf.c:207 ifa_update_broadaddr(ffff800000a20800,ffff800000a36900,ffff80001e81e040) at ifa_update_broadaddr+0x61 sys/net/if.c:3076 in_ioctl_change_ifaddr(8040691a,ffff80001e81e020,ffff800000a20800,1) at in_ioctl_change_ifaddr+0x66c sys/netinet/in.c:518 in_ioctl(8040691a,ffff80001e81e020,ffff800000a20800,1) at in_ioctl+0x2fb sys/netinet/in.c:246 ifioctl(fffffd8062bd14b0,8040691a,ffff80001e81e020,ffff80001d73aad8) at ifioctl+0xe60 sys/net/if.c:2289 sys_ioctl(ffff80001d73aad8,ffff80001e81e138,ffff80001e81e180) at sys_ioctl+0x4a1 syscall(ffff80001e81e200) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xaec99d0ae40, count: 6 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(ffffffff822536b7) at panic+0x15c sys/kern/subr_prf.c:207 ifa_update_broadaddr(ffff800000a20800,ffff800000a36900,ffff80001e81e040) at ifa_update_broadaddr+0x61 sys/net/if.c:3076 in_ioctl_change_ifaddr(8040691a,ffff80001e81e020,ffff800000a20800,1) at in_ioctl_change_ifaddr+0x66c sys/netinet/in.c:518 in_ioctl(8040691a,ffff80001e81e020,ffff800000a20800,1) at in_ioctl+0x2fb sys/netinet/in.c:246 ifioctl(fffffd8062bd14b0,8040691a,ffff80001e81e020,ffff80001d73aad8) at ifioctl+0xe60 sys/net/if.c:2289 sys_ioctl(ffff80001d73aad8,ffff80001e81e138,ffff80001e81e180) at sys_ioctl+0x4a1 syscall(ffff80001e81e200) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xaec99d0ae40, count: -9 ddb> show registers rdi 0xffffffff8115d3b7 db_enter+0x17 rsi 0x1fc4 __ALIGN_SIZE+0xfc4 rbp 0xffff80001e81dd40 rbx 0xffff80001e81ddf0 rdx 0x1fc5 __ALIGN_SIZE+0xfc5 rcx 0xffff800020845000 rax 0xffff800020845000 r8 0xffff80001e81dd00 r9 0x1 r10 0xffff800000ae4100 r11 0x77c280f333c16456 r12 0x3000000008 r13 0xffff80001e81dd50 r14 0x100 r15 0x1 rip 0xffffffff8115d3b8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001e81dd30 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=339676 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff80001d739c38,0xffffffff82596440 process=0xffff8000ffff8e78 user=0xffff80001e819000, vmspace=0xfffffd805cb04770 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 56098 360744 52779 0 2 0 syz-executor.1 *56098 339676 52779 0 7 0x4000000 syz-executor.1 22384 366985 1 0 3 0x100083 ttyin getty 96748 431033 47373 0 2 0x2 syz-executor.0 52779 15327 47373 0 3 0x82 nanosleep syz-executor.1 39191 411343 0 0 3 0x14200 bored sosplice 47373 248996 40815 0 3 0x82 thrsleep syz-fuzzer 47373 151282 40815 0 3 0x4000082 nanosleep syz-fuzzer 47373 345436 40815 0 3 0x4000082 kqread syz-fuzzer 47373 313561 40815 0 3 0x4000082 thrsleep syz-fuzzer 47373 88858 40815 0 3 0x4000082 thrsleep syz-fuzzer 47373 474859 40815 0 3 0x4000082 thrsleep syz-fuzzer 47373 79372 40815 0 3 0x4000082 thrsleep syz-fuzzer 47373 247171 40815 0 3 0x4000082 thrsleep syz-fuzzer 40815 407800 76922 0 3 0x10008a pause ksh 76922 225240 67024 0 3 0x92 select sshd 67024 18770 1 0 3 0x80 select sshd 63259 368922 78165 73 3 0x100090 kqread syslogd 78165 233540 1 0 3 0x100082 netio syslogd 67603 391196 1 77 3 0x100090 poll dhclient 32505 467443 1 0 3 0x80 poll dhclient 95978 143649 0 0 3 0x14200 bored smr 55999 121390 0 0 2 0x14200 zerothread 40382 331280 0 0 3 0x14200 aiodoned aiodoned 80561 421958 0 0 3 0x14200 syncer update 33504 136970 0 0 3 0x14200 cleaner cleaner 15523 314997 0 0 3 0x14200 reaper reaper 81774 293870 0 0 3 0x14200 pgdaemon pagedaemon 39452 188594 0 0 3 0x14200 bored crynlk 27780 40531 0 0 3 0x14200 bored crypto 89486 39119 0 0 3 0x40014200 acpi0 acpi0 3968 440264 0 0 3 0x14200 bored softnet 19798 290965 0 0 3 0x14200 bored systqmp 71354 383023 0 0 3 0x14200 bored systq 83586 432497 0 0 3 0x40014200 bored softclock 28494 457325 0 0 3 0x40014200 idle0 1 255504 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 9481 6347K 7443K 78643K 14120 0 pcb 13 8K 8K 78643K 159 0 rtable 95 3K 4K 78643K 574 0 ifaddr 80 19K 19K 78643K 279 0 counters 21 16K 16K 78643K 55 0 ioctlops 0 0K 2K 78643K 54 0 iov 0 0K 12K 78643K 50 0 mount 1 1K 1K 78643K 1 0 vnodes 1221 77K 77K 78643K 2330 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 89 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 2193 0 sigio 0 0K 0K 78643K 7 0 proc 51 38K 62K 78643K 606 0 subproc 32 2K 2K 78643K 85 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 223 0 in_multi 128 5K 5K 78643K 331 0 ether_multi 1 0K 0K 78643K 52 0 mrt 0 0K 0K 78643K 10 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 67 307K 307K 78643K 67 0 exec 0 0K 1K 78643K 353 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 102 86K 86K 78643K 5578 0 UVM aobj 17 2K 2K 78643K 17 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 186 0 NDP 8 0K 0K 78643K 52 0 temp 113 3041K 3106K 78643K 21522 0 kqueue 3 4K 20K 78643K 157 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 12 0 6 1 0 1 1 0 8 0 rtpcb 80 130 0 128 1 0 1 1 0 8 0 rtentry 112 84 0 47 2 0 2 2 0 8 0 unpcb 120 625 0 617 1 0 1 1 0 8 0 syncache 264 9 0 9 2 1 1 1 0 8 1 tcpqe 32 251 0 251 2 1 1 1 0 8 1 tcpcb 544 391 0 387 1 0 1 1 0 8 0 ipq 40 5 0 5 1 1 0 1 0 8 0 ipqe 40 10 0 10 1 1 0 1 0 8 0 inpcb 280 1150 0 1142 2 0 2 2 0 8 1 rttmr 72 4 0 4 1 1 0 1 0 8 0 nd6 48 15 0 9 1 0 1 1 0 8 0 pkpcb 40 5 0 5 1 1 0 1 0 8 0 ppxss 1128 8 0 8 2 2 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 459 0 297 15 4 11 13 0 8 0 art_table 32 461 0 297 2 0 2 2 0 8 0 art_node 16 83 0 52 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 10 1 0 1 1 0 8 1 semapl 112 87 0 77 1 0 1 1 0 8 0 shmpl 112 15 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 4454 0 3051 46 0 46 46 0 8 0 ffsino 240 4454 0 3051 84 1 83 84 0 8 0 nchpl 144 7164 0 5570 60 0 60 60 0 8 0 uvmvnodes 72 5319 0 0 97 0 97 97 0 8 0 vnodes 208 5319 0 0 280 0 280 280 0 8 0 namei 1024 18774 0 18774 2 1 1 1 0 8 1 vcpupl 1984 9 0 0 2 0 2 2 0 8 0 vmpool 528 19 0 10 3 2 1 1 0 8 0 scxspl 192 25641 0 25641 1 0 1 1 0 8 1 plimitpl 152 176 0 169 1 0 1 1 0 8 0 sigapl 424 2372 0 2343 4 0 4 4 0 8 0 futexpl 56 15439 0 15439 3 2 1 1 0 8 1 knotepl 112 261 0 242 1 0 1 1 0 8 0 kqueuepl 144 289 0 287 1 0 1 1 0 8 0 pipelkpl 16 274 0 264 1 0 1 1 0 8 0 pipepl 120 548 0 529 2 1 1 2 0 8 0 fdescpl 432 2357 0 2343 2 0 2 2 0 8 0 filepl 120 8807 0 8711 6 2 4 5 0 8 1 lockfpl 104 369 0 368 1 0 1 1 0 8 0 lockfspl 48 150 0 149 1 0 1 1 0 8 0 sessionpl 112 21 0 11 1 0 1 1 0 8 0 pgrppl 48 35 0 25 1 0 1 1 0 8 0 ucredpl 96 1481 0 1474 1 0 1 1 0 8 0 zombiepl 144 2343 0 2343 1 0 1 1 0 8 1 processpl 920 2372 0 2343 4 0 4 4 0 8 0 procpl 624 4714 0 4677 4 0 4 4 0 8 1 sosppl 128 23 0 23 2 2 0 1 0 8 0 sockpl 400 1920 0 1902 6 3 3 4 0 8 1 mcl64k 65536 630 0 630 33 32 1 29 0 8 1 mcl12k 12288 13 0 13 2 1 1 1 0 8 1 mcl9k 9216 4 0 4 1 1 0 1 0 8 0 mcl8k 8192 12 0 12 3 3 0 1 0 8 0 mcl4k 4096 37 0 37 4 3 1 1 0 8 1 mcl2k2 2112 11 0 11 2 2 0 1 0 8 0 mcl2k 2048 44779 0 44724 29 20 9 20 0 8 0 mtagpl 80 307 0 92 6 1 5 5 0 8 0 mbufpl 256 100008 0 99464 52 13 39 39 0 8 0 bufpl 280 9616 0 3200 459 0 459 459 0 8 0 anonpl 16 249641 0 238580 113 39 74 77 0 107 23 amapchunkpl 152 11483 0 11369 31 25 6 25 0 158 0 amappl16 192 14091 0 13497 72 33 39 54 0 8 6 amappl15 184 2 0 1 1 0 1 1 0 8 0 amappl14 176 941 0 938 2 1 1 1 0 8 0 amappl13 168 51 0 50 1 0 1 1 0 8 0 amappl12 160 4 0 3 1 0 1 1 0 8 0 amappl11 152 76 0 63 1 0 1 1 0 8 0 amappl10 144 135 0 131 1 0 1 1 0 8 0 amappl9 136 674 0 670 1 0 1 1 0 8 0 amappl8 128 594 0 584 1 0 1 1 0 8 0 amappl7 120 262 0 249 1 0 1 1 0 8 0 amappl6 112 24 0 22 1 0 1 1 0 8 0 amappl5 104 1546 0 1534 1 0 1 1 0 8 0 amappl4 96 1219 0 1192 1 0 1 1 0 8 0 amappl3 88 1033 0 1027 1 0 1 1 0 8 0 amappl2 80 18044 0 17978 3 1 2 3 0 8 0 amappl1 72 47370 0 46964 26 17 9 20 0 8 0 amappl 80 5008 0 4964 1 0 1 1 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 16 0 0 1 0 1 1 0 8 0 uaddrrnd 24 2376 0 2353 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2376 0 2353 1 0 1 1 0 8 0 vmmpekpl 168 14336 0 14300 2 0 2 2 0 8 0 vmmpepl 168 273027 0 271368 136 41 95 98 0 357 18 vmsppl 272 2375 0 2353 4 2 2 2 0 8 0 pdppl 4096 4758 0 4715 7 1 6 6 0 8 0 pvpl 32 752456 0 740413 343 99 244 320 0 265 133 pmappl 200 2375 0 2353 2 0 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 251 0 85 6 0 6 6 0 8 0