# CVE-2026-46132: net: rtnetlink: zero ifla_vf_broadcast to avoid stack infoleak in rtnl_fill_vfinfo

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-05-28T09:35:47.047Z
- Modified: 2026-11-10T13:19:16.030Z
- Weaknesses: CWE-908
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 75345f888f700c4ab2448287e35d48c760b202e6 before 14271b401ec6a4bf0d88054106fc2956084717e1; from 75345f888f700c4ab2448287e35d48c760b202e6 before cccce3190ba4356432b9f22369b56123d3d89f0d; from 75345f888f700c4ab2448287e35d48c760b202e6 before a44fbb631cba646532f3948636626f81717365a7; from 75345f888f700c4ab2448287e35d48c760b202e6 before 0653c0516234c8258975d268a749115fc0f0ff00; from 75345f888f700c4ab2448287e35d48c760b202e6 before c5b1b92ab7eff1a6e8c507ddde6fd02fabd0cfa8; from 75345f888f700c4ab2448287e35d48c760b202e6 before fbe0e6197225e6a83cf113a67a4b425f8de0bcd5; from 75345f888f700c4ab2448287e35d48c760b202e6 before 38bcc21f52246badb3154b6158dcb381d98de011; from 75345f888f700c4ab2448287e35d48c760b202e6 before 4b9e327991815e128ad3af75c3a04630a63ce3e0; 5.3 (not affected: before 5.3; from 5.10.258 up to 5.10.*; from 5.15.209 up to 5.15.*; from 6.1.175 up to 6.1.*; from 6.6.140 up to 6.6.*; from 6.12.88 up to 6.12.*; from 6.18.30 up to 6.18.*; from 7.0.7 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 5.3 before 5.10.258; from 5.11 before 5.15.209; from 5.16 before 6.1.175; from 6.2 before 6.6.140; from 6.7 before 6.12.88; from 6.13 before 6.18.30; from 6.19 before 7.0.7; 7.1

## References

- <https://git.kernel.org/stable/c/14271b401ec6a4bf0d88054106fc2956084717e1> (patch)
- <https://git.kernel.org/stable/c/cccce3190ba4356432b9f22369b56123d3d89f0d> (patch)
- <https://git.kernel.org/stable/c/a44fbb631cba646532f3948636626f81717365a7> (patch)
- <https://git.kernel.org/stable/c/0653c0516234c8258975d268a749115fc0f0ff00> (patch)
- <https://git.kernel.org/stable/c/c5b1b92ab7eff1a6e8c507ddde6fd02fabd0cfa8> (patch)
- <https://git.kernel.org/stable/c/fbe0e6197225e6a83cf113a67a4b425f8de0bcd5> (patch)
- <https://git.kernel.org/stable/c/38bcc21f52246badb3154b6158dcb381d98de011> (patch)
- <https://git.kernel.org/stable/c/4b9e327991815e128ad3af75c3a04630a63ce3e0> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Sources

- CVE List: [CVE-2026-46132](https://www.cve.org/CVERecord?id=CVE-2026-46132), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2026-46132](https://nvd.nist.gov/vuln/detail/CVE-2026-46132), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2026-46132 · Whole record: https://cve.day/CVE-2026-46132.json · Rebuilt by cve.day 2026-11-25T22:59:22.798Z
