From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Florian Westphal <fw@strlen.de>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH nf-next 0/3] netfilter: nf_tables: reject loads from
Date: Tue, 20 Aug 2024 12:38:37 +0200 [thread overview]
Message-ID: <ZsRyLRCRLTbG07LX@calendula> (raw)
In-Reply-To: <20240820095619.6273-1-fw@strlen.de>
On Tue, Aug 20, 2024 at 11:56:11AM +0200, Florian Westphal wrote:
> Reject rules where a load occurs from a register that has not seen a store
> early in the same rule.
>
> At the moment this is allowed, interpreter has to memset() the registers
> to avoid leaking stack information to userspace.
>
> Detect and reject this from transaction phase instead.
Applied to nf-next, thanks
prev parent reply other threads:[~2024-08-20 10:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-20 9:56 [PATCH nf-next 0/3] netfilter: nf_tables: reject loads from Florian Westphal
2024-08-20 9:56 ` [PATCH nf-next 1/3] netfilter: nf_tables: pass context structure to nft_parse_register_load Florian Westphal
2024-08-20 9:56 ` [PATCH nf-next 2/3] netfilter: nf_tables: allow loads only when register is initialized Florian Westphal
2024-08-20 9:56 ` [PATCH nf-next 3/3] netfilter: nf_tables: don't initialize registers in nft_do_chain() Florian Westphal
2024-08-20 10:38 ` Pablo Neira Ayuso [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=ZsRyLRCRLTbG07LX@calendula \
--to=pablo@netfilter.org \
--cc=fw@strlen.de \
--cc=netfilter-devel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.