Skip to content

more stable fixes for 4.14

Pablo Neira Ayuso netfilter-devel stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8netfilter: nftables: statify nft_parse_register()include/net/netfilter/nf_tables.h net/netfilter/nf_tables_api.c+1 -30 replies
2/8netfilter: nf_tables: validate registers coming from userspace.net/netfilter/nf_tables_api.c+17 -140 replies
3/8netfilter: nf_tables: add nft_setelem_parse_key()net/netfilter/nf_tables_api.c+42 -360 replies
4/8netfilter: nf_tables: allow up to 64 bytes in the set element data areainclude/net/netfilter/nf_tables.h net/netfilter/nf_tables_api.c+29 -100 replies
5/8netfilter: nf_tables: stricter validation of element datanet/netfilter/nf_tables_api.c+8 -10 replies
6/8netfilter: nft_dynset: do not reject set updates with NFT_SET_EVALinclude/uapi/linux/netfilter/nf_tables.h net/netfilter/nft_dynset.c+2 -40 replies
7/8netfilter: nf_tables: do not allow RULE_ID to refer to another chainnet/netfilter/nf_tables_api.c+3 -10 replies
8/8netfilter: nf_tables: do not allow SET_ID to refer to another tableinclude/net/netfilter/nf_tables.h net/netfilter/nf_tables_api.c+7 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH -stable,4.14 0/8] more stable fixes for 4.14

Hi Greg, Sasha,

This is second round of -stable backport fixes for 4.14. This batch includes dependency patches which are not currently in the 4.14 branch.

The following list shows the backported patches, I am using original commit IDs for reference:

1) 08a01c11a5bb ("netfilter: nftables: statify nft_parse_register()")

2) 6e1acfa387b9 ("netfilter: nf_tables: validate registers coming from userspace.")

3) 20a1452c3542 ("netfilter: nf_tables: add nft_setelem_parse_key()")

4) fdb9c405e35b ("netfilter: nf_tables: allow up to 64 bytes in the set element data area")

5) 7e6bc1f6cabc ("netfilter: nf_tables: stricter validation of element data")

6) 215a31f19ded ("netfilter: nft_dynset: do not reject set updates with NFT_SET_EVAL")

7) 36d5b2913219 ("netfilter: nf_tables: do not allow RULE_ID to refer to another chain")

8) 470ee20e069a ("netfilter: nf_tables: do not allow SET_ID to refer to another table")

Patches #1, #3 and #4 are dependencies.

Please, apply.
Thanks.

Pablo Neira Ayuso (8):
netfilter: nftables: statify nft_parse_register()
netfilter: nf_tables: validate registers coming from userspace.
netfilter: nf_tables: add nft_setelem_parse_key()
netfilter: nf_tables: allow up to 64 bytes in the set element data area
netfilter: nf_tables: stricter validation of element data
netfilter: nft_dynset: do not reject set updates with NFT_SET_EVAL
netfilter: nf_tables: do not allow RULE_ID to refer to another chain
netfilter: nf_tables: do not allow SET_ID to refer to another table

 include/net/netfilter/nf_tables.h        |   7 +-
 include/uapi/linux/netfilter/nf_tables.h |   2 +-
 net/netfilter/nf_tables_api.c            | 157 ++++++++++++++---------
 net/netfilter/nft_dynset.c               |   4 +-
 4 files changed, 104 insertions(+), 66 deletions(-)
Signature · 1 line
2.30.2