VDB

CVE-2026-53013

CVE-2026-53013 PUBLISHED

macvlan: fix macvlan_get_size() not reserving space for IFLA_MACVLAN_BC_CUTOFF

Reported by linux · Published June 24, 2026

In the Linux kernel, the following vulnerability has been resolved: macvlan: fix macvlan_get_size() not reserving space for IFLA_MACVLAN_BC_CUTOFF macvlan_get_size() does not account for IFLA_MACVLAN_BC_CUTOFF, but macvlan_fill_info() conditionally includes it when port->bc_cutoff != 1. This causes nla_put_s32() to fail with -EMSGSIZE when the netlink skb runs out of space, triggering a WARN_ON in rtnetlink and preventing the interface from being dumped. The bug can be reproduced with: ip link add macvlan0 link eth0 type macvlan mode bridge ip link set macvlan0 type macvlan bc_cutoff 0 ip -d link show macvlan0 # fails with -EMSGSIZE The bc_cutoff feature was added in commit 954d1fa1ac93 ("macvlan: Add netlink attribute for broadcast cutoff"), which added the nla_put_s32() call in macvlan_fill_info() but missed adding the corresponding nla_total_size(4) in macvlan_get_size(). A follow-up commit 55cef78c244d ("macvlan: add forgotten nla_policy for IFLA_MACVLAN_BC_CUTOFF") fixed the missing nla_policy entry but still did not fix the size calculation.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux7.0.10, 6.18.33, 6.12.91, 6.6.141

Affected products

VendorProductVersions
LinuxLinux954d1fa1ac93aa8a66f7d9a9ba545cf7f020d348, 954d1fa1ac93aa8a66f7d9a9ba545cf7f020d348, 954d1fa1ac93aa8a66f7d9a9ba545cf7f020d348
LinuxLinux6.4, 0, 6.6.141
linuxlinux_kernel6.4, 6.4, 6.4
amazon:2023kernel6.12-tools0
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023perf6.120
amazon:2023kernel6.12-devel0
amazon:2023python3-perf6.180
amazon:2023kernel6.18-devel0
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel-livepatch-6.18.33-63.1240
amazon:2023bpftool6.120
amazon:2023kernel6.12-modules-extra0
amazon:2023bpftool6.180
amazon:2023python3-perf6.120
amazon:2023kernel6.18-headers0
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.180

…and 6 more

Timeline

  • Jun 24, 2026 CVE Published
  • Jun 25, 2026 Coalition ESS Score
  • Jun 26, 2026 EPSS Score (8 in total, the first dated here)
  • Jul 14, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-53013
vulnetix vdb fixes CVE-2026-53013

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-53013/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›