Re: [PATCH] Fix netns UAF introduced by commit 1be52169c348
From: Christoph Hellwig
Date: Thu Apr 03 2025 - 00:30:44 EST
On Thu, Apr 03, 2025 at 06:30:01AM +0200, Christoph Hellwig wrote:
> > + ret = sock_create_kern(&init_net,
> > ctrl->addr.ss_family, SOCK_STREAM,
> > IPPROTO_TCP, &queue->sock);
>
> This can be realigned:
>
> ret = sock_create_kern(&init_net, ctrl->addr.ss_family, SOCK_STREAM,
> IPPROTO_TCP, &queue->sock);
Also did the original patch get merged already? If not please fold
both into a single one.