netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH nft 0/4] nft tunnel mode parser/eval fixes
@ 2025-10-16 14:59 Florian Westphal
  2025-10-16 14:59 ` [PATCH nft 1/4] evaluate: tunnel: don't assume src is set Florian Westphal
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Florian Westphal @ 2025-10-16 14:59 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Florian Westphal

This series addresses a few bugs found with afl fuzzer, see individual
patches for details.

Florian Westphal (4):
  evaluate: tunnel: don't assume src is set
  src: tunnel src/dst must be a symbolic expression
  src: parser_bison: prevent multiple ip daddr/saddr definitions
  evaluate: reject tunnel section if another one is already present

 src/evaluate.c                                | 29 +++++++--
 src/parser_bison.y                            | 63 ++++++++++++++++---
 .../nft-f/empty_geneve_definition_crash       |  4 ++
 .../bogons/nft-f/tunnel_in_tunnel_crash       | 10 +++
 .../bogons/nft-f/tunnel_with_anon_set_assert  |  9 +++
 .../bogons/nft-f/tunnel_with_garbage_dst      |  5 ++
 6 files changed, 104 insertions(+), 16 deletions(-)
 create mode 100644 tests/shell/testcases/bogons/nft-f/empty_geneve_definition_crash
 create mode 100644 tests/shell/testcases/bogons/nft-f/tunnel_in_tunnel_crash
 create mode 100644 tests/shell/testcases/bogons/nft-f/tunnel_with_anon_set_assert
 create mode 100644 tests/shell/testcases/bogons/nft-f/tunnel_with_garbage_dst

-- 
2.51.0


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

end of thread, other threads:[~2025-10-17  9:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-16 14:59 [PATCH nft 0/4] nft tunnel mode parser/eval fixes Florian Westphal
2025-10-16 14:59 ` [PATCH nft 1/4] evaluate: tunnel: don't assume src is set Florian Westphal
2025-10-16 23:37   ` Fernando Fernandez Mancera
2025-10-16 14:59 ` [PATCH nft 2/4] src: tunnel src/dst must be a symbolic expression Florian Westphal
2025-10-16 23:39   ` Fernando Fernandez Mancera
2025-10-16 14:59 ` [PATCH nft 3/4] src: parser_bison: prevent multiple ip daddr/saddr definitions Florian Westphal
2025-10-16 23:41   ` Fernando Fernandez Mancera
2025-10-16 14:59 ` [PATCH nft 4/4] evaluate: reject tunnel section if another one is already present Florian Westphal
2025-10-16 23:44   ` Fernando Fernandez Mancera
2025-10-16 23:46 ` [PATCH nft 0/4] nft tunnel mode parser/eval fixes Fernando Fernandez Mancera
2025-10-17  9:39   ` 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).