Re: [PATCH v0 4/6] nvme-fabrics: introduce ref counting for nvmf_ctrl_options

From: Christoph Hellwig
Date: Fri Feb 16 2024 - 04:51:21 EST


On Fri, Feb 16, 2024 at 09:45:24AM +0100, Daniel Wagner wrote:
> The FC transport is offloading the connect attempt to a workqueue. When
> the attempt fails the transport is starting to cleanup resources. It is
> possible for user space to trigger a crash because nvmf_ctrl_options are
> exposed to sysfs.

Eww. I think the async offload is the real problem here..