Re: [PATCH] scsi: mptsas: dequeue request object in case of an error (CVE-2021-3392)

2021-02-08 Thread Paolo Bonzini
On 02/02/21 14:21, P J P wrote: From: Prasad J Pandit While processing SCSI i/o requests in mptsas_process_scsi_io_request(), the Megaraid emulator appends new MPTSASRequest object 'req' to the 's->pending' queue. In case of an error, this same object gets dequeued in mptsas_free_request()

Re: [PATCH] scsi: mptsas: dequeue request object in case of an error (CVE-2021-3392)

2021-02-07 Thread Li Qiang
P J P 于2021年2月2日周二 下午9:23写道: > > From: Prasad J Pandit > > While processing SCSI i/o requests in mptsas_process_scsi_io_request(), > the Megaraid emulator appends new MPTSASRequest object 'req' to > the 's->pending' queue. In case of an error, this same object gets > dequeued in

[PATCH] scsi: mptsas: dequeue request object in case of an error (CVE-2021-3392)

2021-02-02 Thread P J P
From: Prasad J Pandit While processing SCSI i/o requests in mptsas_process_scsi_io_request(), the Megaraid emulator appends new MPTSASRequest object 'req' to the 's->pending' queue. In case of an error, this same object gets dequeued in mptsas_free_request() only if SCSIRequest object