Thread (9 messages) 9 messages, 2 authors, 2025-09-02

Re: blktests failures with v6.17-rc1 kernel

From: Daniel Wagner <hidden>
Date: 2025-08-28 11:33:07
Also in: linux-nvme, linux-rdma, linux-scsi

On Thu, Aug 28, 2025 at 05:55:06AM +0000, Shinichiro Kawasaki wrote:
On Aug 27, 2025 / 12:10, Daniel Wagner wrote:
quoted
On Wed, Aug 13, 2025 at 10:50:34AM +0000, Shinichiro Kawasaki wrote:
quoted
#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/ (local)
This one might be fixed with

https://lore.kernel.org/linux-nvme/20250821-fix-nvmet-fc-v1-1-3349da4f416e@kernel.org/ (local)
I applied this patch on top of v6.17-rc3 kernel, but still I observe the
refcount WARN at nvme/061 with.
Thanks for testing and I was able to reproduce it also. The problem is
that it's possible that an association is scheduled for deletion twice.

Would you mind to give the attached patch a try? It fixes the problem I
was able to reproduce.
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!
Ah, nice so at least this one is fixed by the first patch :)

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help