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]
Date:   Wed, 29 Jul 2020 00:10:39 -0400
From:   "Martin K. Petersen" <martin.petersen@...cle.com>
To:     Stanley Chu <stanley.chu@...iatek.com>, alim.akhtar@...sung.com,
        linux-scsi@...r.kernel.org, bvanassche@....org,
        avri.altman@....com, jejb@...ux.ibm.com
Cc:     "Martin K . Petersen" <martin.petersen@...cle.com>,
        matthias.bgg@...il.com, linux-arm-kernel@...ts.infradead.org,
        asutoshd@...eaurora.org, chaotian.jing@...iatek.com,
        linux-kernel@...r.kernel.org, chun-hung.wu@...iatek.com,
        cc.chou@...iatek.com, kuohong.wang@...iatek.com,
        andy.teng@...iatek.com, peter.wang@...iatek.com,
        linux-mediatek@...ts.infradead.org, beanhuo@...ron.com,
        cang@...eaurora.org
Subject: Re: [PATCH v1] scsi: ufs-mediatek: Prevent LPM operation on undeclared VCC

On Fri, 24 Jul 2020 22:16:27 +0800, Stanley Chu wrote:

> In some platforms, VCC regulator may not be declared in device tree
> to keep itself "always-on". In this case, hba->vreg_info.vcc is NULL
> and shall not be operated during any flow.
> 
> Prevent possible NULL hba->vreg_info.vcc access in LPM mode by checking
> if it is valid first.

Applied to 5.9/scsi-queue, thanks!

[1/1] scsi: ufs-mediatek: Prevent LPM operation on undeclared VCC
      https://git.kernel.org/mkp/scsi/c/0255b1e3d849

-- 
Martin K. Petersen	Oracle Linux Engineering

Powered by blists - more mailing lists