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

Andrei Gherzan andrei.gherzan at canonical.com
Tue Jul 4 08:05:08 UTC 2023


On 23/07/03 06:20PM, 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(-)
> 
> -- 
> 2.34.1

Acked-by: Andrei Gherzan <andrei.gherzan at canonical.com>

-- 
Andrei Gherzan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20230704/fb05277a/attachment.sig>


More information about the kernel-team mailing list