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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <160584260540.532.6488395968913616505.b4-ty@oracle.com>
Date:   Thu, 19 Nov 2020 22:30:34 -0500
From:   "Martin K. Petersen" <martin.petersen@...cle.com>
To:     Stanley Chu <stanley.chu@...iatek.com>, jejb@...ux.ibm.com,
        alim.akhtar@...sung.com, avri.altman@....com,
        linux-scsi@...r.kernel.org
Cc:     "Martin K . Petersen" <martin.petersen@...cle.com>,
        bvanassche@....org, cang@...eaurora.org, peter.wang@...iatek.com,
        asutoshd@...eaurora.org, chun-hung.wu@...iatek.com,
        alice.chao@...iatek.com, matthias.bgg@...il.com,
        chaotian.jing@...iatek.com, linux-kernel@...r.kernel.org,
        linux-mediatek@...ts.infradead.org, kuohong.wang@...iatek.com,
        jiajie.hao@...iatek.com, linux-arm-kernel@...ts.infradead.org,
        andy.teng@...iatek.com, beanhuo@...ron.com, cc.chou@...iatek.com
Subject: Re: [PATCH v1] scsi: ufs: Fix race between shutdown and runtime resume flow

On Thu, 19 Nov 2020 14:29:16 +0800, Stanley Chu wrote:

> If UFS host device is in runtime-suspended state while
> UFS shutdown callback is invoked, UFS device shall be
> resumed for register accesses. Currently only UFS local
> runtime resume function will be invoked to wake up the host.
> This is not enough because if someone triggers runtime
> resume from block layer, then race may happen between
> shutdown and runtime resume flow, and finally lead to
> unlocked register access.
> 
> [...]

Applied to 5.10/scsi-fixes, thanks!

[1/1] scsi: ufs: Fix race between shutdown and runtime resume flow
      https://git.kernel.org/mkp/scsi/c/e92643db5148

-- 
Martin K. Petersen	Oracle Linux Engineering

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ