From: Florian Westphal <fw@strlen.de>
To: <netfilter-devel@vger.kernel.org>
Cc: Florian Westphal <fw@strlen.de>
Subject: [PATCH nf 0/2] netfilter: nf_tables: fix nf_trace related crash
Date: Mon, 1 Aug 2022 19:15:34 +0200 [thread overview]
Message-ID: <20220801171536.21372-1-fw@strlen.de> (raw)
The commit e34b9ed96ce3 ("netfilter: nf_tables: avoid skb access on nf_stolen")
is broken, it adds read-access to a structure that might contain
garbage.
Fix this and extend the existing nft_trans_stress.sh script to
cover this.
Florian Westphal (2):
netfilter: nf_tables: fix crash when nf_trace is enabled
selftests: netfilter: add test case for nf trace infrastructure
net/netfilter/nf_tables_core.c | 21 +++--
.../selftests/netfilter/nft_trans_stress.sh | 78 ++++++++++++++++++-
2 files changed, 86 insertions(+), 13 deletions(-)
--
2.35.1
next reply other threads:[~2022-08-01 17:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-01 17:15 Florian Westphal [this message]
2022-08-01 17:15 ` [PATCH nf 1/2] netfilter: nf_tables: fix crash when nf_trace is enabled Florian Westphal
2022-08-01 17:15 ` [PATCH nf 2/2] selftests: netfilter: add test case for nf trace infrastructure Florian Westphal
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=20220801171536.21372-1-fw@strlen.de \
--to=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.