CVE-2025-68236
Description
In the Linux kernel, the following vulnerability has been resolved:scsi: ufs: ufs-qcom: Fix UFS OCP issue during UFS power down (PC=3)According to UFS specifications, the power-off sequence for a UFS deviceincludes: - Sending an SSU command with Power_Condition=3 and await a response. - Asserting RST_N low. - Turning off REF_CLK. - Turning off VCC. - Turning off VCCQ/VCCQ2.As part of ufs shutdown, after the SSU command completion, assertinghardware reset (HWRST) triggers the device firmware to wake up andexecute its reset routine. This routine initializes hardware blocks andtakes a few milliseconds to complete. During this time, the ICCQ draws alarge current.This large ICCQ current may cause issues for the regulator which issupplying power to UFS, because the turn off request from UFS driver tothe regulator framework will be immediately followed by low powermode(LPM) request by regulator framework. This is done by frameworkbecause UFS which is the only client is requesting for disable. So ifthe rail is still in the process of shutting down while ICCQ exceeds LPMcurrent thresholds, and LPM mode is activated in hardware during thisstate, it may trigger an overcurrent protection (OCP) fault in theregulator.To prevent this, a 10ms delay is added after asserting HWRST. Thisallows the reset operation to complete while power rails remain activeand in high-power mode.Currently there is no way for Host to query whether the reset iscompleted or not and hence this the delay is based on experiments withQualcomm UFS controllers across multiple UFS vendors.
Risk Information
Associated Vulnerability
No records foundPatch Details
No records foundReferences
https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234