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

Sagi Grimberg sagi at grimberg.me
Tue Mar 21 04:14:11 PDT 2023


>>> That is not a crash, but a WARN stack dump.
>>
>> Not sure how you get to this conclusion.

bool blk_rq_is_poll(struct request *rq)
{
         if (!rq->mq_hctx)
                 return false;
         if (rq->mq_hctx->type != HCTX_TYPE_POLL)
                 return false;
         if (WARN_ON_ONCE(!rq->bio)) // this is the stack dump
                 return false;
         return true;
}



More information about the Linux-nvme mailing list