From: Andrew Lunn <andrew@lunn.ch>
To: Ren Wei <weir@nebusec.ai>
Cc: netdev@vger.kernel.org, kuba@kernel.org, jhs@mojatatu.com,
andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org,
pabeni@redhat.com, vega@nebusec.ai, bronzed_45_vested@icloud.com,
enjou1224z@gmail.com
Subject: Re: [PATCH net v4 0/1] net: loopback: reject skbs with a short linear Ethernet header
Date: Mon, 5 Oct 2026 22:23:53 +0200 [thread overview]
Message-ID: <b061d645-5969-4747-ba29-72bcd552a674@lunn.ch> (raw)
In-Reply-To: <20261005052249.1914367-1-weir@nebusec.ai>
> The earlier discussion established that restricting an individual tc
> action does not protect the driver from packets arriving through
> other paths.
Please enumerate these other paths.
loopback is heavily used, and needs to be as fast as possible. We
should try to keep very unlikely to be true checks out of it.
> The following reproducer provides an additional IFE-based
> reproduction of the loopback failure.
Can you fix this particular vector? At the point you decapsulate the
frame, you expect to have a valid frame, so you can do a length check
in the decapsulate the drop the frame there.
Andrew
prev parent reply other threads:[~2026-10-05 20:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-05 5:22 [PATCH net v4 0/1] net: loopback: reject skbs with a short linear Ethernet header Ren Wei
2026-10-05 5:22 ` [PATCH net v4 1/1] " Ren Wei
2026-10-05 6:14 ` Eric Dumazet
2026-10-05 20:23 ` Andrew Lunn [this message]
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=b061d645-5969-4747-ba29-72bcd552a674@lunn.ch \
--to=andrew@lunn.ch \
--cc=andrew+netdev@lunn.ch \
--cc=bronzed_45_vested@icloud.com \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=enjou1224z@gmail.com \
--cc=jhs@mojatatu.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=vega@nebusec.ai \
--cc=weir@nebusec.ai \
/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