nvme-tcp: kernel NULL pointer dereference, address: 0000000000000034

Daniel Wagner dwagner at suse.de
Tue Mar 21 02:09:13 PDT 2023


On Tue, Mar 21, 2023 at 10:56:21AM +0200, Sagi Grimberg wrote:
> 
> > > > Thoughts?
> > > 
> > > It still crashes in the same way with both patches from this
> > > disucssion applied.
> > 
> > annoted the __nvme_submit_sync_cmd:
> > 
> > 
> > [  210.019050] nvme nvme0: rq ffff8881122a0000 bio ffff88810d8cdd00
> > [  210.022653] nvme nvme0: rq ffff8881122a0200 bio 0000000000000000
> 
> Why is the admin queue created as a polling hctx?
> It shouldn't be.

Isn't this because we use NVME_QID_ANY as qid for the register access?



More information about the Linux-nvme mailing list