lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6e656544-ab31-8823-f4aa-3773a47b51d8@kernel.dk>
Date:   Fri, 16 Dec 2022 08:15:18 -0700
From:   Jens Axboe <axboe@...nel.dk>
To:     huteng19901016@...il.com
Cc:     linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
        "huteng.ht" <huteng.ht@...edance.com>
Subject: Re: [PATCH] blk-mq: fix possible NULL pointer access in classic
 polling

On 12/16/22 8:06 AM, huteng19901016@...il.com wrote:
> From: "huteng.ht" <huteng.ht@...edance.com>
> 
> Since poll method in blk_mq_ops may not be implemented by driver,
> add a judgement to avoid NULL pointer access.

So the queue has QUEUE_FLAG_POLL set, but no -mq_ops->poll() set?
That seems like the real bug.

Where did you see this oops?

-- 
Jens Axboe


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ