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: <161007949338.9892.8133334421380740608.b4-ty@oracle.com>
Date:   Thu,  7 Jan 2021 23:19:31 -0500
From:   "Martin K. Petersen" <martin.petersen@...cle.com>
To:     kernel-team@...roid.com, linux-scsi@...r.kernel.org,
        ziqichen@...eaurora.org, saravanak@...gle.com,
        rnayak@...eaurora.org, Can Guo <cang@...eaurora.org>,
        hongwus@...eaurora.org, nguyenb@...eaurora.org,
        asutoshd@...eaurora.org, salyzyn@...gle.com
Cc:     "Martin K . Petersen" <martin.petersen@...cle.com>,
        Bean Huo <beanhuo@...ron.com>,
        "James E.J. Bottomley" <jejb@...ux.ibm.com>,
        Stanley Chu <stanley.chu@...iatek.com>,
        Bart Van Assche <bvanassche@....org>,
        Avri Altman <avri.altman@....com>,
        open list <linux-kernel@...r.kernel.org>,
        Alim Akhtar <alim.akhtar@...sung.com>
Subject: Re: [PATCH] scsi: ufs: Correct the lun used in eh_device_reset_handler() callback

On Mon, 28 Dec 2020 04:04:36 -0800, Can Guo wrote:

> Users can initiate resets to specific SCSI device/target/host through
> IOCTL. When this happens, the SCSI cmd passed to eh_device/target/host
> _reset_handler() callbacks is initialized with a request whose tag is -1.
> So, in this case, it is not right for eh_device_reset_handler() callback
> to count on the lun get from hba->lrb[-1]. Fix it by getting lun from the
> SCSI device associated with the SCSI cmd.

Applied to 5.11/scsi-fixes, thanks!

[1/1] scsi: ufs: Correct the lun used in eh_device_reset_handler() callback
      https://git.kernel.org/mkp/scsi/c/35fc4cd34426

-- 
Martin K. Petersen	Oracle Linux Engineering

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ