netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 5.10.y 0/3] netfilter: nf_tables fixes for 5.10.y
@ 2021-09-09 14:03 Florian Westphal
  2021-09-09 14:03 ` [PATCH 5.10.y 1/3] netfilter: nftables: avoid potential overflows on 32bit arches Florian Westphal
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Florian Westphal @ 2021-09-09 14:03 UTC (permalink / raw)
  To: stable; +Cc: netfilter-devel, Florian Westphal

Hello,

please consider applying these nf_tables fixes to the 5.10.y tree.
These patches had to mangled to make them apply to 5.10.y.

I've done the follwoing tests in a kasan/kmemleak enabled vm:
1. run upstream nft python/shell tests.
   Without patch 2 and 3 doing so results in kernel crash.
   Some tests fail but afaics those are expected to
   fail on 5.10 due to lack of feature being tested.
2. Tested the 'conncount' feature (its affected by last patch).
   Worked as designed.
3. ran nftables related kernel self tests.

No kmemleak or kasan splats were seen.

Eric Dumazet (1):
  netfilter: nftables: avoid potential overflows on 32bit arches

Pablo Neira Ayuso (2):
  netfilter: nf_tables: initialize set before expression setup
  netfilter: nftables: clone set element expression template

 net/netfilter/nf_tables_api.c | 89 ++++++++++++++++++++++-------------
 net/netfilter/nft_set_hash.c  | 10 ++--
 2 files changed, 62 insertions(+), 37 deletions(-)

-- 
2.32.0


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

end of thread, other threads:[~2021-09-11 12:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-09 14:03 [PATCH 5.10.y 0/3] netfilter: nf_tables fixes for 5.10.y Florian Westphal
2021-09-09 14:03 ` [PATCH 5.10.y 1/3] netfilter: nftables: avoid potential overflows on 32bit arches Florian Westphal
2021-09-09 14:03 ` [PATCH 5.10.y 2/3] netfilter: nf_tables: initialize set before expression setup Florian Westphal
2021-09-09 14:03 ` [PATCH 5.10.y 3/3] netfilter: nftables: clone set element expression template Florian Westphal
2021-09-09 14:52 ` [PATCH 5.10.y 0/3] netfilter: nf_tables fixes for 5.10.y Greg KH
2021-09-11  9:39   ` Salvatore Bonaccorso
2021-09-11 12:06     ` Florian Westphal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).