From: Jamal Hadi Salim <jhs@mojatatu.com>
To: netdev@vger.kernel.org
Cc: Jamal Hadi Salim <jhs@mojatatu.com>,
stable@vger.kernel.org, shaos <shawnq1@163.com>,
"David S . Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Simon Horman <horms@kernel.org>, Jiri Pirko <jiri@resnulli.us>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Victor Nogueira <victor@mojatatu.com>,
Sashiko <sashiko-bot@kernel.org>, Vega <vega@nebusec.ai>
Subject: [PATCH net 0/3] net/sched: fix short-skb metadata and namespace boundaries
Date: Thu, 29 Oct 2026 19:27:36 -0400 [thread overview]
Message-ID: <SER-NSBD.v1.r0.20261029191634@mojatatu.com> (raw)
This series fixes three independent boundary problems in net/sched.
1/3 act_ife: encode a configured zero metadata value. ife_check_meta_u32()
reserves an 8-byte TLV for a configured zero value, but the encoder
returned without writing it, leaking stale skb headroom bytes.
2/3 act_ife: require a full Ethernet header on egress. An undersized
linear head can make the encoder read past the end of the skb data.
3/3 sch_teql: reject qdiscs from another network namespace. The global
TEQL master lives in the initial netns; a qdisc created in another netns
could still mutate the master's MTU and flags.
Origins:
1/3: reported by shaos <shawnq1@163.com> with a reproducer, which was
reproduced and verified in our test environment.
2/3: found by Sashiko (nipa and gemini) while reviewing Victor Nogueira's
parent act_ife patchset; independently reported by shaos
<shawnq1@163.com> with a reproducer, which was verified in our test
environment.
3/3: reported by shaos <shawnq1@163.com> with a reproducer, which was
reproduced and verified in our test environment.
The three patches are independent. They target net and carry a stable
nomination. They are sent together because they share the short-skb and
namespace-boundary review context.
Jamal Hadi Salim (3):
net/sched: act_ife: encode a configured zero metadata value
net/sched: act_ife: require a full Ethernet header on egress
net/sched: sch_teql: reject qdiscs from another network namespace
net/sched/act_ife.c | 8 +++++---
net/sched/sch_teql.c | 5 +++++
2 files changed, 10 insertions(+), 3 deletions(-)
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
---
next reply other threads:[~2026-10-29 23:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-29 23:27 Jamal Hadi Salim [this message]
2026-10-29 23:27 ` [PATCH net 1/3] net/sched: act_ife: encode configured zero metadata values Jamal Hadi Salim
2026-10-29 23:27 ` [PATCH net 2/3] net/sched: act_ife: require a full Ethernet header on egress Jamal Hadi Salim
2026-10-29 23:27 ` [PATCH net 3/3] net/sched: sch_teql: reject qdiscs from another network namespace Jamal Hadi Salim
2026-10-29 23:59 ` [PATCH net 0/3] net/sched: fix short-skb metadata and namespace boundaries Jakub Kicinski
2026-10-30 0:07 ` Jamal Hadi Salim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=SER-NSBD.v1.r0.20261029191634@mojatatu.com \
--to=jhs@mojatatu.com \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=horms@kernel.org \
--cc=jiri@resnulli.us \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=sashiko-bot@kernel.org \
--cc=shawnq1@163.com \
--cc=stable@vger.kernel.org \
--cc=vega@nebusec.ai \
--cc=victor@mojatatu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox