CVE-2026-143130: net/sched: act_ife: encode configured zero metadata values

Published Dec 3, 2026
·
Updated

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

net/sched: actife: encode configured zero metadata values

Reported by shaos <shawnq1@163.com> with a reproducer for the 32-bit case, which was reproduced and verified in our test environment.

The issue: ifecheckmetau32() and ifecheckmetau16() both reserve eight bytes of metadata for a configured value even when that value is zero, but the matching encoder returns without calling ifetlvmetaencode(). The encoder therefore writes neither the TLV header nor its value, while the enclosing IFE length still includes the reserved bytes, exposing stale skb headroom contents to the peer.

The 32-bit helper has been present since the IFE action was introduced (v4.6); the 16-bit helper was added with the 16-bit metadata helpers used by the skbtcindex callback (v4.9). Both defects predate the oldest supported stable kernel (5.10), so they are fixed together in this patch. Each hunk keeps its own Fixes: tag for provenance.

The fix: Encode any configured value, including zero; skip the TLV only when there is neither a configured nor a runtime value. The runtime fallback is unchanged.

A raw TCAIFEMETALST netlink request is needed to express the configured zero: the IFEMETASKBMARK attribute carries four zero payload bytes for the u32 helper, and IFEMETATCINDEX two zero payload bytes for the 16-bit helper (not an absent or zero-length attribute). Stock tc cannot build these requests; "use mark 0x0" emits no mark attribute and "allow mark" emits a zero-length one.

Conditions to recreate the bug: CONFIGNETACTIFE=y, CONFIGNETIFESKBMARK=y, CONFIGNETIFESKBTCINDEX=y, CONFIGNETCLSMATCHALL=y, CONFIGNETSCHINGRESS=y, CONFIGUSERNS=y, CONFIGNETNS=y, CONFIGVETH=y. In a fresh user and network namespace create a veth pair and attach clsact to the egress side. Install a matchall filter whose ife encode action carries a zero skb mark (or a zero tcindex) in TCAIFEMETALST. Send a frame through the veth and inspect the IFE metadata in the received frame. The metadata region is eight bytes but holds neither a valid TLV header nor a value; it exposes prior headroom contents. Setting the value to a nonzero one does not trigger the leak. The namespace needs CAPNETADMIN; no additional privilege is required. With the fix the zero TLVs are 0001000800000000 (u32) and 0005000600000000 (u16).

Affected Software

10 affected componentsFixes available
Linux Linux kernel>=4.6
linux/kernel>=4.6.0<5.10.276
5.10.276
linux/kernel>=5.11.0<5.15.227
5.15.227
linux/kernel>=5.16.0<6.12.120
6.12.120
linux/kernel>=6.13.0<6.18.66
6.18.66
linux/kernel>=6.19.0<7.3.7
7.3.7
debian/linux*
debian/linux*
debian/linux*
debian/linux<=6.1.176-1, <=6.1.192-3, <=6.12.117-1, <=6.12.118-1, <=7.3.6-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.10.276
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.15.227
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.120
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.66
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.7

Event History

Dec 3, 2026
CVE Published
via MITRE·09:19 AM
Data Sourced
via MITRE·09:19 AM
Description
Data Sourced
via OSV·09:19 AM
DescriptionAffected Software
Data Sourced
via NVD·10:17 AM
Description

Frequently Asked Questions

1

Which systems are exposed to the information leak?

Systems using the IFE traffic-control action with configured 16-bit or 32-bit metadata values set to zero are affected. In that condition, the outgoing IFE length includes space for metadata that the encoder does not write.

2

What information may be disclosed?

The peer can receive stale contents from skb headroom in place of the omitted metadata TLV header and value.

3

How far back does the affected code exist?

The 32-bit helper has existed since IFE was introduced in Linux kernel v4.6, and the 16-bit helper since v4.9. Both issues predate the oldest supported stable kernel, 5.10.

4

What behavior changes after the fix?

Configured metadata values are encoded even when the configured value is zero. A metadata TLV is skipped only when neither a configured value nor a runtime value is present.

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