Re: [PATCH v2] nvme-tcp: Fix netns UAF introduced by commit 1be52169c348

From: Christoph Hellwig
Date: Mon Apr 07 2025 - 10:46:47 EST


I had another look at this patch, and it feels wrong to me. I don't
think we are supposed to create sockets triggered by activity in
a network namespace in the global namespace even if they are indirectly
created through the nvme interface. But maybe I'm misunderstanding
how network namespaces work, which is entirely possible.

So to avoid the failure I'd be tempted to instead revert commit
1be52169c348 until the problem is fully sorted out.