ACK: [SRU][F/J/K/L][PATCH 0/1] CVE-2023-3390

Roxana Nicolescu roxana.nicolescu at canonical.com
Tue Jul 4 06:52:53 UTC 2023


On 04/07/2023 00:20, Yuxuan Luo wrote:
> [Impact]
> A use-after-free vulnerability was found in the Linux kernel's netfilter
> subsystem in net/netfilter/nf_tables_api.c. Mishandled error handling with
> NFT_MSG_NEWRULE makes it possible to use a dangling pointer in the same
> transaction causing a use-after-free vulnerability. This flaw allows a local
> attacker with user access to cause a privilege escalation issue.
>
> [Backport]
> For J/K/L, it is a clean cherry pick.
> For Focal, the goto labels were modified in commit 3c5e44622011 ("netfilter:
> nf_tables: memleak in hw offload abort path"), but since that is not a clean
> cherry pick, the alternative approach is to backport the fix patch by
> incorporate the new line added for 'err_release_rule' to the 'err2' label.
>
> [Test]
> Compile and boot tested.
>
> [Potential Regression]
> Expect low regression potential.
>
> Pablo Neira Ayuso (1):
>    netfilter: nf_tables: incorrect error path handling with
>      NFT_MSG_NEWRULE
>
>   net/netfilter/nf_tables_api.c | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
>
Acked-by: Roxana Nicolescu <roxana.nicolescu at canonical.com>



More information about the kernel-team mailing list