CVE Database›Document archive›CVE-2026-74743

CVE-2026-74743

kernel: macvlan: inherit needed_headroom and needed_tailroom from lowerdev

Loading…

Severity

Important

Red Hat Product Security

7

CVSS 3.1

Review impact separately from score.

Published · August 26, 2026

Updated · October 30, 2026

Description

A flaw was found in the Linux kernel's macvlan component. The macvlan component incorrectly initializes network packet buffer (skb) headroom and tailroom values, failing to inherit them from the underlying network device. This can occur when the underlying device requires additional space for headers or trailers, such as with macsec or IPsec. This oversight can lead to memory corruption, specifically KASAN slab-use-after-free crashes, potentially resulting in a denial of service.

Statement

Important impact is assigned to this flaw because the resulting packet buffer underflow can cause kernel slab memory corruption or system crashes, posing a severe risk to host availability and integrity. Exploitation requires configuring a macvlan interface layered over an underlying network device that reserves supplemental header or trailer capacity, such as IPsec, MACsec, or encapsulation tunnels. Standard Red Hat Enterprise Linux deployments do not configure this specific network topology by default, and establishing macvlan links generally necessitates administrative privileges or access to unprivileged user namespaces.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

To mitigate this issue on systems that do not require MACVLAN interfaces, prevent the macvlan kernel module from loading:

  1. Create a configuration file in /etc/modprobe.d to disable module loading:
# echo "install macvlan /bin/true" > /etc/modprobe.d/macvlan.conf
  1. If the module is currently loaded and no active interfaces depend on it, unload it:
# modprobe -r macvlan

Warning: Disabling this module prevents the creation and operation of MACVLAN virtual network devices, which will impact container or virtual machine networking configurations that rely on this driver. If the module is actively in use by running services or containers, it cannot be safely unloaded at runtime and a system restart will be required for the configuration to take effect.

CVSS / CWE

CVSS 3.1 · 7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

CWE-124 · Buffer Underwrite ('Buffer Underflow')