All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH nf 0/2] netfilter: nf_tables: fix nf_trace related crash
@ 2022-08-01 17:15 Florian Westphal
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Florian Westphal @ 2022-08-01 17:15 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Florian Westphal

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-01 17:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-01 17:15 [PATCH nf 0/2] netfilter: nf_tables: fix nf_trace related crash Florian Westphal
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

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.