[PATCH] fabrics: fix NULL dereference in nvmf_update_tls_concat

Daniel Wagner wagi at kernel.org
Thu May 7 10:29:34 PDT 2026


On Wed, 06 May 2026 22:53:45 +0200, Stuart Hayes wrote:
> The recently added function nvmf_update_tls_concat() dereferences struct
> nvmf_disc_log_entry *e, but e will always be NULL when called via
> libnvmf_discovery_nbft(). This can result in a segmentation fault when
> attempting "nvme connect-all --nbft".
> 
> Check for NULL pointer before dereferencing.
> 
> [...]

Applied, thanks!

[1/1] fabrics: fix NULL dereference in nvmf_update_tls_concat
      commit: 0f4fe4592005b515170bec08af9ccbfe598f8d72

Best regards,
-- 
Daniel Wagner <wagi at kernel.org>



More information about the Linux-nvme mailing list