CVE-2026-143130

Not scored yetLast modified Dec 3, 2026

Description

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

net/sched: act_ife: 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: ife_check_meta_u32() and ife_check_meta_u16() both reserve eight bytes of metadata for a configured value even when that value is zero, but the matching encoder returns without calling ife_tlv_meta_encode(). 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 TCA_IFE_METALST netlink request is needed to express the configured zero: the IFE_META_SKBMARK attribute carries four zero payload bytes for the u32 helper, and IFE_META_TCINDEX 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: CONFIG_NET_ACT_IFE=y, CONFIG_NET_IFE_SKBMARK=y, CONFIG_NET_IFE_SKBTCINDEX=y, CONFIG_NET_CLS_MATCHALL=y, CONFIG_NET_SCH_INGRESS=y, CONFIG_USER_NS=y, CONFIG_NET_NS=y, CONFIG_VETH=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 TCA_IFE_METALST. 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 CAP_NET_ADMIN; no additional privilege is required. With the fix the zero TLVs are 0001000800000000 (u32) and 0005000600000000 (u16).

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143131In the Linux kernel, the following vulnerability has been resolved: net/sched: sch_teql: reject qdiscs from another network namespace RepoCVE-2026-143132In the Linux kernel, the following vulnerability has been resolved: netfs: don't hang a read whose retry is abandoned When ->prepare_read(CVE-2026-143133In the Linux kernel, the following vulnerability has been resolved: netfs: preserve prepare_write errno on reissue prepare_write() may calCVE-2026-143134In the Linux kernel, the following vulnerability has been resolved: netfilter: xt_recent: do not call remove_proc_entry() under recent_lockCVE-2026-143135In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_dup: preserve guard across NFQUEUE reinjection NFQUEUE cCVE-2026-143136In the Linux kernel, the following vulnerability has been resolved: net: gro: invalidate frag0 after a pull Since commit bd56a29c7a4e ("neCVE-2026-143137In the Linux kernel, the following vulnerability has been resolved: net: gro: do not undo remote checksum offload on merged packets skb_grCVE-2026-143138In the Linux kernel, the following vulnerability has been resolved: net: gro: avoid parsing headers from shared fragments When an skb has CVE-2026-143139In the Linux kernel, the following vulnerability has been resolved: hv_sock: Report no unread data before a channel is available The HyperCVE-2026-143145.3The PeproDev WooCommerce Receipt Uploader WordPress plugin through 2.8.0 does not verify that a requested attachment belongs to the order reCVE-2026-143140In the Linux kernel, the following vulnerability has been resolved: hv_netvsc: Stop PPI parsing on invalid metadata rndis_get_ppi() uses cCVE-2026-143141In the Linux kernel, the following vulnerability has been resolved: gtp: free the skb after handling an echo response gtp0_handle_echo_res
CVE-2026-143130: Unscored | Vulnix