Pablo Neira Ayuso says:
====================
IPVS fixes for net
The following patchset contains IPVS fixes for net:
1) Rework connection refcounting so the pending and running timer
hold a reference. This fixes a use-after-free race between
connection deletion and a concurrent timer callback, from
Julian Anastasov.
2) Expire controlled connection chains iteratively instead of
recursively to avoid kernel stack exhaustion, from Zihan Xi.
3) Reject zero and configured FTP control ports as data ports in
the FTP helper, from Zihan Xi.
4) Skip conntrack templates in ip_vs_ftp_out() to fix a UAF in the
expectation list after the CT rule is removed, from Theodor
Arsenij Larionov Trichkine.
5) Update conn flags, seqs and related fields in the backup server
under cp->lock, from Julian Anastasov.
6) Read conn flags and seqs atomically in the master when building
sync messages, from Julian Anastasov.
7) Fix a race that can leave a destination in the overload state
forever. Also make the LBLC/LBLCR schedulers honor the overload
state for cached destinations, from Julian Anastasov.
8) Validate cport and IP_VS_CONN_F_NO_CPORT in received sync records.
This rejects templates and connections that incoming lookups
cannot match, from Axel Mierczuk.
9) Skip cport 0 connections in ip_vs_conn_out_get(), using the same
rule as __ip_vs_conn_in_get(). Also from Axel.
10) Do not create connections from packets with client or virtual
port 0, which could create a duplicate connection for every
packet, from Julian Anastasov.
11) Wait for an RCU grace period before reusing a destination from
dest_trash, and before restarting its estimator, from Darong Lu.
netfilter pull request 26-11-16
* tag 'nf-26-11-16' of git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf:
ipvs: wait grace period before reusing destinations
ipvs: do not create conns from packets with port 0
ipvs: skip cport 0 connections in ip_vs_conn_out_get()
ipvs: validate cport in received sync records
ipvs: honor the overload state and do not enter it forever
ipvs: read flags and seqs in master atomically
ipvs: update flags and seqs in backup server under lock
ipvs: ftp: skip conntrack templates in ip_vs_ftp_out
ipvs: reject FTP control ports as data ports
ipvs: avoid stack overflow from recursive connection expiration
ipvs: fix problems during connection deletion
====================
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>