CVE-2026-74744

ipvlan: inherit needed_headroom and needed_tailroom from phy_dev

Published Aug 26, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ipvlan: inherit needed_headroom and needed_tailroom from phy_dev

ipvlan devices inherit hard_header_len from phy_dev during ipvlan_init(),
but leave needed_headroom and needed_tailroom set to 0.

When the underlying phy_dev (or stacked lower device) 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() / ipvlan_hard_header()
prepends header data or when lower devices append tailroom.

Fix this by:
1. Inheriting needed_headroom and needed_tailroom from phy_dev in ipvlan_init().
2. Propagating needed_headroom and needed_tailroom updates to attached ipvlans
in ipvlan_device_event() when receiving NETDEV_FEAT_CHANGE events.

Analysis

AI-generated

Technical impact

The Linux kernel’s ipvlan driver fails to copy the needed_headroom and needed_tailroom values from the underlying physical device during initialization. When a lower device such as macsec, ipsec, wireguard, or a tunnel requires extra headroom or tailroom, packet processing routines that rely on accurate buffer calculations can overrun allocated memory. This can trigger reallocation overhead, skb headroom underflows, or KASAN slab-use-after-free crashes, all of which are consistent with the CWE-124 buffer overflow weakness described in the fixed code.

Affected Systems

Any Linux kernel build that contains the ipvlan driver before the patch is applied is vulnerable. This includes all standard distribution kernels and custom builds that have not yet incorporated the commit that inherits needed_headroom and needed_tailroom from phy_dev. Systems running active IPvlan interfaces—regardless of whether they perform tunneling, MACsec, or other encapsulation—fall into this affected group.

Risk and Exploitability

The CVSS score of 9.8 reflects a severe impact. The EPSS score of less than 1% indicates a low likelihood of exploitation in the near term, and the flaw is not listed in CISA's KEV catalog. The likely attack vector is remote network traffic sent to an affected IPvlan interface or a local attacker with privileges who can inject crafted packets. An attacker exploiting this vulnerability could cause kernel panics, repeated crashes, or denial of service, effectively exploiting the CWE-124 flaw.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the patch where ipvlan_init inherits needed_headroom and needed_tailroom, thereby addressing the buffer overflow described by CWE-124.
  • If an upgrade is not feasible, disable IPvlan support (CONFIG_IPVLAN) or reconfigure affected virtual interfaces to a non‑IPvlan driver, removing the vulnerable code path that can trigger memory corruption per CWE-124.
  • Continuously monitor kernel logs for KASAN, Oops, or packet headroom underflow messages to detect exploitation attempts related to the CWE-124 flaw.

Generated by OpenCVE AI on August 28, 2026 at 17:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4777-1 linux security update
Debian DLA Debian DLA DLA-4788-1 linux-6.12 security update
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-416
CWE-665
Type Values Removed Values Added
Weaknesses CWE-416
CWE-665
Type Values Removed Values Added
Weaknesses CWE-122
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Weaknesses CWE-122
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ipvlan: inherit needed_headroom and needed_tailroom from phy_dev ipvlan devices inherit hard_header_len from phy_dev during ipvlan_init(), but leave needed_headroom and needed_tailroom set to 0. When the underlying phy_dev (or stacked lower device) 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() / ipvlan_hard_header() prepends header data or when lower devices append tailroom. Fix this by: 1. Inheriting needed_headroom and needed_tailroom from phy_dev in ipvlan_init(). 2. Propagating needed_headroom and needed_tailroom updates to attached ipvlans in ipvlan_device_event() when receiving NETDEV_FEAT_CHANGE events.
Title ipvlan: inherit needed_headroom and needed_tailroom from phy_dev
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-124

    Buffer Underwrite ('Buffer Underflow')

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 16, 2026, 7:26 PM
Reserved
Aug 15, 2026, 5:44 AM
Status
Received
Published
Aug 26, 2026, 3:16 PM
Modified
Oct 16, 2026, 8:17 PM
Severity
Important
Public date
Aug 26, 2026, 12:00 AM