untrusted comment: verify with openbsd-79-base.pub
RWTSdNN9A3yvWL/smlej4e+PDEpR43vDabejl/nGueEZJMNau9lKQ46j19Bphc8KdK5yrXTJuReSCLvShvV4aSSVGlNa9NzoWwE=

OpenBSD 7.9 errata 010, August 22, 2026:

Interface ioctl(4) could leak 4 bytes of kernel memory.

Apply by doing:
    signify -Vep /etc/signify/openbsd-79-base.pub -x 010_ifioctl.patch.sig \
        -m - | (cd /usr/src && patch -p0)

And then rebuild and install a new kernel:
    KK=`sysctl -n kern.osversion | cut -d# -f1`
    cd /usr/src/sys/arch/`machine`/compile/$KK
    make obj
    make config
    make
    make install

Index: sys/net/if.c
===================================================================
RCS file: /cvs/src/sys/net/if.c,v
diff -u -p -r1.763 if.c
--- sys/net/if.c	22 Mar 2026 23:14:00 -0000	1.763
+++ sys/net/if.c	14 Aug 2026 15:37:26 -0000
@@ -2949,6 +2949,8 @@ if_getdata(struct ifnet *ifp, struct if_
 {
 	unsigned int i;
 
+	memset(data, 0, sizeof(*data));
+
 	data->ifi_type = ifp->if_type;
 	data->ifi_addrlen = ifp->if_addrlen;
 	data->ifi_hdrlen = ifp->if_hdrlen;
