CVE-2026-46132CWE-908

CVE-2026-46132

Medium · published May 28, 2026

CVSS v3.1
5.5
EPSS
0%
Percentile
6.1
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

net: rtnetlink: zero ifla_vf_broadcast to avoid stack infoleak in rtnl_fill_vfinfo

rtnl_fill_vfinfo() declares struct ifla_vf_broadcast on the stack

without initialisation:

struct ifla_vf_broadcast vf_broadcast;

The struct contains a single fixed 32-byte field:

/* include/uapi/linux/if_link.h */

struct ifla_vf_broadcast {

__u8 broadcast[32];

};

The function then copies dev->broadcast into it using dev->addr_len

as the length:

memcpy(vf_broadcast.broadcast, dev->broadcast, dev->addr_len);

On Ethernet devices (the overwhelming majority of SR-IOV NICs)

dev->addr_len is 6, so only the first 6 bytes of broadcast[] are

written. The remaining 26 bytes retain whatever was previously on

the kernel stack. The full struct is then handed to userspace via:

nla_put(skb, IFLA_VF_BROADCAST,

sizeof(vf_broadcast), &vf_broadcast)

leaking up to 26 bytes of uninitialised kernel stack per VF per

RTM_GETLINK request, repeatable.

The other vf_* structs in the same function are explicitly zeroed

for exactly this reason - see the memset() calls for ivi,

vf_vlan_info, node_guid and port_guid a few lines above.

vf_broadcast was simply missed when it was added.

Reachability: any unprivileged local process can open AF_NETLINK /

NETLINK_ROUTE without capabilities and send RTM_GETLINK with an

IFLA_EXT_MASK attribute carrying RTEXT_FILTER_VF. The kernel walks

each VF and emits IFLA_VF_BROADCAST, leaking 26 bytes of stack per

VF per request. Stack residue at this call site can include return

addresses and transient sensitive data; KASAN with stack

instrumentation, or KMSAN, will flag the nla_put() when reproduced.

Zero the on-stack struct before the partial memcpy, matching the

existing pattern used for the other vf_* structs in the same

function.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00171 · 6.1th percentile
Weakness
CWE-908 · Use of Uninitialized Resource
Published
2026-05-28T14:16Z
Affected products (9)
ProductVersionsFixed in
linux/linux_kernel≥ 5.3, < 5.10.2585.10.258
linux/linux_kernel≥ 5.11, < 5.15.2095.15.209
linux/linux_kernel≥ 5.16, < 6.1.1756.1.175
linux/linux_kernel≥ 6.2, < 6.6.1406.6.140
linux/linux_kernel≥ 6.7, < 6.12.886.12.88
linux/linux_kernel≥ 6.13, < 6.18.306.18.30
linux/linux_kernel≥ 6.19, < 7.0.77.0.7
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (10)
EPSS history
Timeline
  • 28 MAY 09:35Z
    net: rtnetlink: zero ifla_vf_broadcast to avoid stack infoleak in rtnl_fill_vfinfo
    cvelistv5