AZL-118154: CVE-2026-143129 affecting package kernel 6.6.161.1-1

Published Dec 3, 2026
·
Updated

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

net/sched: actife: require a full Ethernet header on egress

This is a followup of commit 5b483f7791b0 ("net/sched: actife: Only operate on Ethernet frames") as reported by Sashiko.

The finding was raised by both Sashiko providers (nipa and gemini) while reviewing the parent patchset. shaos <shawnq1@163.com> independently reported the same undersized-egress path with a reproducer, which was reproduced and verified in our test environment.

The issue: On egress tcfifeisethskb() only checks the device type; it does not check that the skb carries a full Ethernet header. For an Ethernet or loopback device it returns true even when the skb has no Ethernet header. tcfifeencode() then calls ifeencode(), which copies ETHHLEN bytes from skb->data. A short skb therefore reads past its linear data and the copied bytes, including stale kernel memory, are emitted in the outer Ethernet header.

The parent commit fixed the reported ingress maclen case but left the egress path without a length check.

A total-length test is not sufficient: a non-GSO TUN skb can have a large total length while only a single byte sits in the linear area, so ifeencode() still reads past the linear header. Require instead that the Ethernet header the encoder copies is present in the linear part of the skb.

The Fix: On egress require pskbmaypull(skb, ETHHLEN) before encoding, which ensures the Ethernet header is present in the linear data ifeencode() copies from; the ingress maclen check is unchanged. A short egress skb is now dropped instead of being encoded.

Conditions to recreate the bug: CONFIGNETACTIFE=y, CONFIGNETCLSMATCHALL=y, CONFIGNETSCHINGRESS=y, CONFIGTUN=y, CONFIGNETACTMIRRED=y. In two user and network namespaces (a victim and an attacker), open a TUN device in IFFTUN mode and attach clsact to it and to lo. Redirect ingress traffic from the TUN device to lo egress with mirred, and install an ife encode action on lo egress:

tc qdisc add dev <tun> clsact tc qdisc add dev lo clsact tc filter add dev <tun> ingress matchall action mirred egress \ redirect dev lo tc filter add dev lo egress matchall action ife encode use mark 1 \ action ok

Send a TUN packet shorter than ETHHLEN (a one-byte payload is enough) and receive the emitted frame on the other side. Without the fix the outer Ethernet header contains bytes copied past the short packet; with the fix the short skb is dropped. The attacker needs CAPNETADMIN in its user namespace; no init-net privilege is required.

The same path is reachable when the total length is large but the Ethernet header is not linear: write a non-GSO virtio header with hdrlen=1 followed by an 8192-byte packet so that only one byte stays linear. Without the fix the copied header reads past the linear data; with the fix the header is pulled into the linear area before the copy.

Affected Software

1 affected component
azure-linux/kernel<=6.6.161.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    On egress, require pskb_may_pull(skb, ETH_HLEN) before encoding so the full Ethernet header is present in the linear data.

Event History

Dec 3, 2026
Advisory Published
via OSV·10:17 AM
Data Sourced
via OSV·10:17 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which egress paths should be reviewed for exposure?

Review traffic-control configurations using the act_ife action on egress for Ethernet or loopback devices. The vulnerable path can treat a packet as Ethernet based only on device type even when the packet does not contain a complete Ethernet header.

2

What must occur for kernel memory to be exposed?

A short skb must reach tcf_ife_encode() on the affected egress path. ife_encode() then copies ETH_HLEN bytes from skb->data despite the missing header, and stale kernel memory may be copied into the emitted outer Ethernet header.

3

Can a packet's total length be used to rule out the issue?

No. A total-length check is insufficient because a non-GSO TUN skb can have a large total length while only one byte is present in its linear data; the relevant condition is whether a full Ethernet header is available.

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