# CVE-2026-53013: macvlan: fix macvlan\_get\_size() not reserving space for IFLA\_MACVLAN\_BC\_CUTOFF

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **Published:** 2026-06-24T16:29:23.856Z
- **Modified:** 2026-11-06T17:18:01.350Z

## Who should check

- Anyone running Linux \>= 954d1fa1ac93aa8a66f7d9a9ba545cf7f020d348, \< 4979252758387b338ca968ba7e0515b0ae2257e3; \>= 954d1fa1ac93aa8a66f7d9a9ba545cf7f020d348, \< 77ecfa4e27f282d224215895ddfbeb916fc75e24; \>= 954d1fa1ac93aa8a66f7d9a9ba545cf7f020d348, \< b6b7154e9f5d75b608ceb2d05b376de8c638c40e; \>= 954d1fa1ac93aa8a66f7d9a9ba545cf7f020d348, \< 1c004f14ccdc11585625c168bb9a7c5e1b8afb0c; \>= 954d1fa1ac93aa8a66f7d9a9ba545cf7f020d348, \< fa92a77b0ed4d5f11a71665a232ac5a54a4b055d
- Anyone running Linux 6.4

## Description

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.

## Affected and fixed versions

- Linux: \>= 954d1fa1ac93aa8a66f7d9a9ba545cf7f020d348, \< 4979252758387b338ca968ba7e0515b0ae2257e3; \>= 954d1fa1ac93aa8a66f7d9a9ba545cf7f020d348, \< 77ecfa4e27f282d224215895ddfbeb916fc75e24; \>= 954d1fa1ac93aa8a66f7d9a9ba545cf7f020d348, \< b6b7154e9f5d75b608ceb2d05b376de8c638c40e; \>= 954d1fa1ac93aa8a66f7d9a9ba545cf7f020d348, \< 1c004f14ccdc11585625c168bb9a7c5e1b8afb0c; \>= 954d1fa1ac93aa8a66f7d9a9ba545cf7f020d348, \< fa92a77b0ed4d5f11a71665a232ac5a54a4b055d (cvelist)
- Linux: 6.4 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-53013. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53013.md
Affected: Linux >= 954d1fa1ac93aa8a66f7d9a9ba545cf7f020d348, < 4979252758387b338ca968ba7e0515b0ae2257e3; >= 954d1fa1ac93aa8a66f7d9a9ba545cf7f020d348, < 77ecfa4e27f282d224215895ddfbeb916fc75e24; >= 954d1fa1ac93aa8a66f7d9a9ba545cf7f020d348, < b6b7154e9f5d75b608ceb2d05b376de8c638c40e; >= 954d1fa1ac93aa8a66f7d9a…
Fixed in: Linux 4979252758387b338ca968ba7e0515b0ae2257e3, Linux 77ecfa4e27f282d224215895ddfbeb916fc75e24, Linux 1c004f14ccdc11585625c168bb9a7c5e1b8afb0c

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-53013 being exploited?

There is no confirmed exploitation: CVE-2026-53013 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-53013?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-53013?

Linux \>= 954d1fa1ac93aa8a66f7d9a9ba545cf7f020d348, \< 4979252758387b338ca968ba7e0515b0ae2257e3; \>= 954d1fa1ac93aa8a66f7d9a9ba545cf7f020d348, \< 77ecfa4e27f282d224215895ddfbeb916fc75e24; \>= 954d1fa1ac93aa8a66f7d9a9ba545cf7f020d348, \< b6b7154e9f5d75b608ceb2d05b376de8c638c40e; \>= 954d1fa1ac93aa8a66f7d9a9ba545cf7f020d348, \< 1c004f14ccdc11585625c168bb9a7c5e1b8afb0c; \>= 954d1fa1ac93aa8a66f7d9a9ba545cf7f020d348, \< fa92a77b0ed4d5f11a71665a232ac5a54a4b055d; Linux 6.4.

### Is there a fix for CVE-2026-53013?

Yes. Fixed in Linux 4979252758387b338ca968ba7e0515b0ae2257e3, Linux 77ecfa4e27f282d224215895ddfbeb916fc75e24, Linux 1c004f14ccdc11585625c168bb9a7c5e1b8afb0c. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-53013?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/4979252758387b338ca968ba7e0515b0ae2257e3>
- patch: <https://git.kernel.org/stable/c/77ecfa4e27f282d224215895ddfbeb916fc75e24>
- patch: <https://git.kernel.org/stable/c/b6b7154e9f5d75b608ceb2d05b376de8c638c40e>
- patch: <https://git.kernel.org/stable/c/1c004f14ccdc11585625c168bb9a7c5e1b8afb0c>
- patch: <https://git.kernel.org/stable/c/fa92a77b0ed4d5f11a71665a232ac5a54a4b055d>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-53013>

HTML: <https://flawdb.com/CVE-2026-53013> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-53013>
