Re: [PATCH V1] block: Fix null pointer dereference issue on struct io_cq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

在 2023/05/30 21:15, Pradeep Pragallapati 写道:
Hi,

On 5/22/2023 11:49 AM, Pradeep Pragallapati wrote:

On 5/18/2023 6:14 PM, Yu Kuai wrote:
Hi,

在 2023/05/18 20:16, Yu Kuai 写道:

@@ -173,18 +171,17 @@ void ioc_clear_queue(struct request_queue *q)
  {
         LIST_HEAD(icq_list);

+       rcu_read_lock();

Sorry that I realized this is still not enough, following list_empty()
and list_entry() can still concurrent with list_del(). Please try the
following patch:
sure will try and update the results.


At least for 80+hrs of testing, i didn't see the issue reproduced. seems like it is helping my case.

Thanks for the test, I'll send a patch soon.

Kuai




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux