CVE-2026-53014: net/sched: act_mirred: fix wrong device for mac_header_xmit check in tcf_blockcast_redir

Published Jun 24, 2026
·
Updated

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

net/sched: actmirred: fix wrong device for macheaderxmit check in tcfblockcastredir

In tcfblockcastredir(), when iterating block ports to redirect packets to multiple devices, the macheaderxmit flag is queried from the wrong device. The loop sends to devprev but queries devismacheaderxmit(dev) — which is the NEXT device in the iteration, not the one being sent to.

This causes tcfmirredtodev() to make incorrect decisions about whether to push or pull the MAC header. When the block contains mixed device types (e.g., an ethernet veth and a tunnel device), intermediate devices get the wrong macheaderxmit flag, leading to skb header corruption. In the worst case, skbpushrcsum with an incorrect maclen can exhaust headroom and panic.

The last device in the loop is handled correctly (line 365-366 uses devismacheaderxmit(devprev)), confirming this is a copy-paste oversight for the intermediate devices.

Fix by using devprev instead of dev for the macheaderxmit query, consistent with the device actually being sent to.

Affected Software

4 affected components
Linux Linux kernel
Linux Linux kernel>=6.8<6.12.91
Linux Linux kernel>=6.13<6.18.33
Linux Linux kernel>=6.19<7.0.10

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    In tcf_blockcast_redir(), when iterating block ports for redirection, ensure the mac_header_xmit check uses dev_prev (the previous/intermediate device) rather than dev. This fixes the copy-paste error where the query was made on dev, causing tcf_mirred_to_dev() to make incorrect decisions about pushing/pulling the MAC header.

    Linux kernel net/sched act_mirred (tcf_blockcast_redir / tcf_mirred_to_dev) mac_header_xmit device reference = Use dev_prev (instead of dev) when querying dev_is_mac_header_xmit() for the intermediate devices during block port iteration

Event History

Jun 24, 2026
CVE Published
via MITRE·04:29 PM
Data Sourced
via MITRE·04:29 PM
Description
Data Sourced
via NVD·05:17 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using Linux traffic control mirroring or redirecting through a block with multiple output ports are exposed when the block includes mixed device types, such as an Ethernet veth and a tunnel device. The faulty behavior affects intermediate devices in the iteration; the final device is handled correctly.

2

What access does an attacker need to trigger the vulnerability?

The CVSS vector indicates local access and low privileges are required, with no user interaction. Exploitation requires a traffic-control configuration that redirects packets across a multi-port block with mixed device types.

3

What is the impact if the issue is triggered?

Incorrect MAC-header push or pull decisions can corrupt skb headers. In the worst case, incorrect skb_push_rcsum headroom handling can cause a kernel panic, resulting in denial of service.

4

What can be done if patching is not immediately possible?

Avoid traffic-control block redirection or mirroring configurations that send packets to multiple mixed device types. In particular, avoid arrangements where intermediate output devices differ in MAC-header transmission behavior, such as combining Ethernet veth and tunnel devices in the same block.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203