Thread (2 messages) 2 messages, 2 authors, 2021-08-23

Re: v5.14-rc5: KASAN complains about use-after-free in __ib_process_cq()

From: Jason Gunthorpe <jgg@nvidia.com>
Date: 2021-08-23 17:32:10

On Mon, Aug 23, 2021 at 10:30:39AM -0700, Bart Van Assche wrote:
Hi,

If I run blktests against Jens' for-next branch (5026771bd46e ("Merge branch
'for-5.15/io_uring-late' into for-next")) then most SRP tests time out.
Additionally, a KASAN use-after-free complaint is sometimes reported for
__ib_process_cq(). With commit 4b5f4d3fb408 ("RDMA: Split the alloc_hw_stats()
ops to port and device variants") however all SRP tests pass and no KASAN
complaints are reported. There are no changes in the SRP drivers between these
two commits. This makes me wonder whether a regression has been introduced in
the RDMA core? I have not yet run a full bisect - this is something I am
working on. Please note that I may be hitting multiple unrelated issues -
there is no evidence so far that the SRP test timeouts are related to changes
in the RDMA code. These could also be caused by changes in the block layer.
Maybe Leon's QP rework?

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