netfilter: nf_tables: fix nf_trace related crash
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | netfilter: nf_tables: fix crash when nf_trace is enablednet/ | +10 | 0 replies | |
| 2/2 | selftests: netfilter: add test case for nf trace infrastructuretools/ | +76 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH nf 0/2] netfilter: nf_tables: fix nf_trace related crash
The commit e34b9ed96ce3 ("netfilter: nf_tables: avoid skb access on nf_stolen") is broken, it adds read-access to a structure that might contain garbage.
Fix this and extend the existing nft_trans_stress.sh script to cover this.
Florian Westphal (2):
netfilter: nf_tables: fix crash when nf_trace is enabled
selftests: netfilter: add test case for nf trace infrastructure
net/netfilter/nf_tables_core.c | 21 +++-- .../selftests/netfilter/nft_trans_stress.sh | 78 ++++++++++++++++++- 2 files changed, 86 insertions(+), 13 deletions(-)
Signature · 1 line
2.35.1