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] [thread-next>] [day] [month] [year] [list]
Message-ID: <f0c22fa51bd46aa0af8321df508c14ae7d41fcea.camel@mediatek.com>
Date: Thu, 29 Jan 2026 13:42:45 +0000
From: Peter Wang (王信友) <peter.wang@...iatek.com>
To: "thomasyen@...gle.com" <thomasyen@...gle.com>
CC: "beanhuo@...ron.com" <beanhuo@...ron.com>, "avri.altman@....com"
	<avri.altman@....com>, "quic_nguyenb@...cinc.com" <quic_nguyenb@...cinc.com>,
	"linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
	"bvanassche@....org" <bvanassche@....org>, "linux-kernel@...r.kernel.org"
	<linux-kernel@...r.kernel.org>, "adrian.hunter@...el.com"
	<adrian.hunter@...el.com>, "alim.akhtar@...sung.com"
	<alim.akhtar@...sung.com>, "stable@...r.kernel.org" <stable@...r.kernel.org>,
	"martin.petersen@...cle.com" <martin.petersen@...cle.com>,
	"James.Bottomley@...senPartnership.com"
	<James.Bottomley@...senPartnership.com>
Subject: Re: [PATCH v3 1/1] scsi: ufs: core: Flush exception handling work
 when RPM level is zero

On Thu, 2026-01-29 at 15:06 +0800, Thomas Yen wrote:
> Ensure that the exception event handling work is explicitly flushed
> during suspend when the runtime power management level is set to
> UFS_PM_LVL_0.
> 
> When the RPM level is zero, the device power mode and link state both
> remain active. Previously, the UFS core driver bypassed flushing
> exception event handling jobs in this configuration. This created a
> race
> condition where the driver could attempt to access the host
> controller
> to handle an exception after the system had already entered a deep
> power-down state, resulting in a system crash.
> 
> Explicitly flush this work and disable auto BKOPs before the suspend
> callback proceeds. This guarantees that pending exception tasks
> complete
> and prevents illegal hardware access during the power-down sequence.
> 
> Signed-off-by: Thomas Yen <thomasyen@...gle.com>
> Cc: Stable Tree <stable@...r.kernel.org>
> ---


Reviewed-by: Peter Wang <peter.wang@...iatek.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ