All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net 0/2] Netfilter fixes for net
@ 2024-08-28 21:47 Pablo Neira Ayuso
  2024-08-28 21:47 ` [PATCH net 1/2] netfilter: nf_tables: restore IP sanity checks for netdev/egress Pablo Neira Ayuso
  2024-08-28 21:47 ` [PATCH net 2/2] netfilter: nf_tables_ipv6: consider network offset in netdev/egress validation Pablo Neira Ayuso
  0 siblings, 2 replies; 4+ messages in thread
From: Pablo Neira Ayuso @ 2024-08-28 21:47 UTC (permalink / raw)
  To: netfilter-devel; +Cc: davem, netdev, kuba, pabeni, edumazet, fw

Hi,

The following patchset contains Netfilter fixes for net:

Patch #1 sets on NFT_PKTINFO_L4PROTO for UDP packets less than 4 bytes
payload from netdev/egress by subtracting skb_network_offset() when
validating IPv4 packet length, otherwise 'meta l4proto udp' never
matches.

Patch #2 subtracts skb_network_offset() when validating IPv6 packet
length for netdev/egress.

Please, pull these changes from:

  git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git nf-24-08-28

Thanks.

----------------------------------------------------------------

The following changes since commit 8af174ea863c72f25ce31cee3baad8a301c0cf0f:

  net: mana: Fix race of mana_hwc_post_rx_wqe and new hwc response (2024-08-23 14:24:24 +0100)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git nf-24-08-28

for you to fetch changes up to 70c261d500951cf3ea0fcf32651aab9a65a91471:

  netfilter: nf_tables_ipv6: consider network offset in netdev/egress validation (2024-08-27 18:11:56 +0200)

----------------------------------------------------------------
netfilter pull request 24-08-28

----------------------------------------------------------------
Pablo Neira Ayuso (2):
      netfilter: nf_tables: restore IP sanity checks for netdev/egress
      netfilter: nf_tables_ipv6: consider network offset in netdev/egress validation

 include/net/netfilter/nf_tables_ipv4.h | 10 ++++++----
 include/net/netfilter/nf_tables_ipv6.h |  5 +++--
 2 files changed, 9 insertions(+), 6 deletions(-)

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

end of thread, other threads:[~2024-08-29  9:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-28 21:47 [PATCH net 0/2] Netfilter fixes for net Pablo Neira Ayuso
2024-08-28 21:47 ` [PATCH net 1/2] netfilter: nf_tables: restore IP sanity checks for netdev/egress Pablo Neira Ayuso
2024-08-29  9:50   ` patchwork-bot+netdevbpf
2024-08-28 21:47 ` [PATCH net 2/2] netfilter: nf_tables_ipv6: consider network offset in netdev/egress validation Pablo Neira Ayuso

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.