[PATCH] Fix netns UAF introduced by commit 1be52169c348
Christoph Hellwig
hch at lst.de
Wed Apr 2 21:30:34 PDT 2025
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.
More information about the Linux-nvme
mailing list