Re: blktests failures with v6.17-rc1 kernel
On Aug 27, 2025 / 12:10, Daniel Wagner wrote:
> On Wed, Aug 13, 2025 at 10:50:34AM +0000, Shinichiro Kawasaki wrote:
> > #4: nvme/061 (fc transport)
> >
> > The test case nvme/061 sometimes fails for fc transport due to a WARN and
> > refcount message "refcount_t: underflow; use-after-free." Refer to the
> > report for the v6.15 kernel [5].
> >
> > [5]
> > https://lore.kernel.org/linux-block/2xsfqvnntjx5iiir7wghhebmnugmpfluv6ef22mghojgk6gilr@mvjscqxroqqk/
>
> This one might be fixed with
>
> https://lore.kernel.org/linux-nvme/20250821-fix-nvmet-fc-v1-1-3349da4f416e@kernel.org/
I applied this patch on top of v6.17-rc3 kernel, but still I observe the
refcount WARN at nvme/061 with.
Said that, I like the patch. This week, I noticed that nvme/030 hangs with fc
transport. This hang is rare, but it is recreated in stable manner when I
repeat the test case. I tried the fix patch, and it avoided this hang :)
Thanks for the fix!
Reply to: