CVE Database›Document archive›CVE-2026-23273

CVE-2026-23273

kernel: macvlan: observe an RCU grace period in macvlan_common_newlink() error path

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · March 20, 2026

Updated · July 14, 2026

Description

A flaw was found in the Linux kernel's macvlan module. A race condition can occur during the creation of a macvlan interface, where the device might be made visible before an error is detected. This can lead to a use-after-free vulnerability, allowing a local attacker to cause a system crash (Denial of Service) or potentially execute arbitrary code.

Statement

This vulnerability affects systems using macvlan network interfaces in source mode. The race occurs when creating a macvlan device with an invalid name while traffic is flowing through the parent interface. The device becomes visible to RCU readers before error detection, and subsequent cleanup frees the device without waiting for an RCU grace period, leading to UAF in macvlan_forward_source().

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, prevent the macvlan module from being loaded. See https://access.redhat.com/solutions/41278 for instructions.

CVSS / CWE

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

CWE-364 · Signal Handler Race Condition