https://github.com/torvalds/linux
Revision ecf4392600dd86fce54445b67a0e2995bf96ba51 authored by Paolo Abeni on 21 September 2023, 09:09:44 UTC, committed by Paolo Abeni on 21 September 2023, 09:09:45 UTC
Florian Westphal says:

====================
netfilter updates for net

The following three patches fix regressions in the netfilter subsystem:

1. Reject attempts to repeatedly toggle the 'dormant' flag in a single
   transaction.  Doing so makes nf_tables lose track of the real state
   vs. the desired state.  This ends with an attempt to unregister hooks
   that were never registered in the first place, which yields a splat.

2. Fix element counting in the new nftables garbage collection infra
   that came with 6.5:  More than 255 expired elements wraps a counter
   which results in memory leak.

3. Since 6.4 ipset can BUG when a set is renamed while a CREATE command
   is in progress, fix from Jozsef Kadlecsik.

* tag 'nf-23-09-20' of https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf:
  netfilter: ipset: Fix race between IPSET_CMD_CREATE and IPSET_CMD_SWAP
  netfilter: nf_tables: fix memleak when more than 255 elements expired
  netfilter: nf_tables: disable toggling dormant table state more than once
====================

Link: https://lore.kernel.org/r/20230920084156.4192-1-fw@strlen.de
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2 parent s fc21f08 + 7433b6d
History
Tip revision: ecf4392600dd86fce54445b67a0e2995bf96ba51 authored by Paolo Abeni on 21 September 2023, 09:09:44 UTC
Merge tag 'nf-23-09-20' of https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf
Tip revision: ecf4392
File Mode Size
Makefile -rw-r--r-- 361 bytes
compat.c -rw-r--r-- 2.2 KB
ipc_sysctl.c -rw-r--r-- 7.3 KB
mq_sysctl.c -rw-r--r-- 3.0 KB
mqueue.c -rw-r--r-- 43.6 KB
msg.c -rw-r--r-- 32.3 KB
msgutil.c -rw-r--r-- 3.6 KB
namespace.c -rw-r--r-- 5.8 KB
sem.c -rw-r--r-- 63.1 KB
shm.c -rw-r--r-- 45.1 KB
syscall.c -rw-r--r-- 5.1 KB
util.c -rw-r--r-- 24.2 KB
util.h -rw-r--r-- 8.8 KB

back to top