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

macvlan: inherit needed_headroom and needed_tailroom from lowerdev

macvlan devices inherit hard_header_len from lowerdev during macvlan_init(),
but leave needed_headroom and needed_tailroom set to 0.

When the underlying lowerdev requires extra headroom or tailroom for
headers/trailers (e.g. macsec, ipsec, wireguard, tunnels, or veth with rx
headroom), upper layers calculating packet headroom and tailroom fail to
reserve sufficient space.

This can result in reallocation overhead, skb headroom underflows, or KASAN
slab-use-after-free crashes when dev_hard_header() / macvlan_hard_header()
prepends header data or when lower devices append tailroom.

Fix this by:
1. Inheriting needed_headroom and needed_tailroom from lowerdev in macvlan_init().
2. Propagating needed_headroom and needed_tailroom updates to attached macvlans
in macvlan_device_event() when receiving NETDEV_FEAT_CHANGE events.
Published: 2026-08-26
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An oversight in the Linux kernel’s macvlan driver causes the driver to miss inheriting the needed_headroom and needed_tailroom values from the underlying network device during initialization; as a result, when lower‑layer protocols such as macsec, ipsec, wireguard, tunnels or virtual Ethernet adapters prepend headers or trailers to packets, the kernel fails to reserve sufficient memory space. This shortfall can trigger excessive memory reallocation, headroom underflow, or a KASAN slab‑use‑after‑free crash, leading to kernel panics or denial‑of‑service. The flaw is a memory‑handling weakness that satisfies the criteria of CWE-119 (Incorrect Access to Boundary) and CWE-122 (Heap‑based Buffer Overflow).

Affected Systems

All Linux kernel implementations that include the macvlan networking module are affected, regardless of vendor. The flaw remains present in every kernel release that does not incorporate the commit that inherits needed_headroom and needed_tailroom values; no explicit version list is provided in the advisory.

Risk and Exploitability

Because the vulnerability manifests whenever network packets traverse a macvlan interface that is bound to a lower‑layer device requiring additional headroom or tailroom, the likely attack vector is network traffic sent to such a macvlan‑attached device; this inference is drawn from the description that the issue arises during dev_hard_header() or macvlan_hard_header() operations. No EPSS score is available and the flaw is not listed in the CISA KEV catalog. While an official CVSS score is not supplied, the high‑severity impact of kernel crashes or KASAN errors indicates significant risk; any attacker capable of sending crafted packets to the target can potentially trigger a denial‑of‑service or, in the presence of additional vulnerabilities, escalated privileges.

Generated by OpenCVE AI on August 26, 2026 at 16:16 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that includes the commit fixing headroom and tailroom inheritance in macvlan_init() and macvlan_device_event().
  • Reduce exposure by disabling or removing unnecessary macvlan interfaces or restricting the use of protocols that add headroom or tailroom (e.g., macsec, ipsec, wireguard) until a patched kernel is in place.
  • Monitor kernel logs for KASAN messages or panics and apply any subsequent upstream patches that address related memory safety issues.

Generated by OpenCVE AI on August 26, 2026 at 16:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 26 Aug 2026 16:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-122

Wed, 26 Aug 2026 14:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: macvlan: inherit needed_headroom and needed_tailroom from lowerdev macvlan devices inherit hard_header_len from lowerdev during macvlan_init(), but leave needed_headroom and needed_tailroom set to 0. When the underlying lowerdev requires extra headroom or tailroom for headers/trailers (e.g. macsec, ipsec, wireguard, tunnels, or veth with rx headroom), upper layers calculating packet headroom and tailroom fail to reserve sufficient space. This can result in reallocation overhead, skb headroom underflows, or KASAN slab-use-after-free crashes when dev_hard_header() / macvlan_hard_header() prepends header data or when lower devices append tailroom. Fix this by: 1. Inheriting needed_headroom and needed_tailroom from lowerdev in macvlan_init(). 2. Propagating needed_headroom and needed_tailroom updates to attached macvlans in macvlan_device_event() when receiving NETDEV_FEAT_CHANGE events.
Title macvlan: inherit needed_headroom and needed_tailroom from lowerdev
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-26T14:36:54.175Z

Reserved: 2026-08-15T05:44:03.930Z

Link: CVE-2026-74743

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-26T15:16:53.113

Modified: 2026-08-26T15:16:53.113

Link: CVE-2026-74743

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-26T16:30:09Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-122

    Heap-based Buffer Overflow