commit | ad11cdfea9625254c8e83f20095287ef55e1cec4 | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <[email protected]> | Mon Jun 26 00:42:18 2023 +0200 |
committer | COS Cherry Picker <[email protected]> | Tue Jul 11 12:39:45 2023 -0700 |
tree | 48fa4ea5f189d66b06bcd07b05f7166b9bdd7d95 | |
parent | 4c5454e72e0e4cb8777e1ef427be25108020fdca [diff] |
netfilter: nf_tables: unbind non-anonymous set if rule construction fails [ Upstream commit 3e70489721b6c870252c9082c496703677240f53 ] Otherwise a dangling reference to a rule object that is gone remains in the set binding list. BUG=b/290339378 TEST=presubmit RELEASE_NOTE=Fixed CVE-2023-3390 in the Linux kernel. cos-patch: security-high Fixes: 26b5a5712eb8 ("netfilter: nf_tables: add NFT_TRANS_PREPARE_ERROR to deal with bound set/chain") Change-Id: I8f5009e2dc78d4253e993118f28cbcb20cc76687 Signed-off-by: Pablo Neira Ayuso <[email protected]> (cherry picked from commit 3e70489721b6c870252c9082c496703677240f53) Signed-off-by: Robert Kolchmeyer <[email protected]> Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/51889 Main-Branch-Verified: Cusky Presubmit Bot <[email protected]> Tested-by: Cusky Presubmit Bot <[email protected]> Reviewed-by: Oleksandr Tymoshenko <[email protected]>