Thread (5 messages) flat view 5 messages, 2 authors, 2022-07-27

Re: [PATCH net 1/3] netfilter: nf_queue: do not allow packet truncation below transport header offset

From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-07-27 03:10:23

Hello:

This series was applied to netdev/net.git (master)
by Florian Westphal [off-list ref]:

On Tue, 26 Jul 2022 21:20:54 +0200 you wrote:
Domingo Dirutigliano and Nicola Guerrera report kernel panic when
sending nf_queue verdict with 1-byte nfta_payload attribute.

The IP/IPv6 stack pulls the IP(v6) header from the packet after the
input hook.

If user truncates the packet below the header size, this skb_pull() will
result in a malformed skb (skb->len < 0).

[...]
Here is the summary with links:
  - [net,1/3] netfilter: nf_queue: do not allow packet truncation below transport header offset
    https://git.kernel.org/netdev/net/c/99a63d36cb3e
  - [net,2/3] netfilter: nf_tables: add rescheduling points during loop detection walks
    https://git.kernel.org/netdev/net/c/81ea01066741
  - [net,3/3] netfilter: nft_queue: only allow supported familes and hooks
    https://git.kernel.org/netdev/net/c/47f4f510ad58

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help