scsi: ufs: ufs-qcom: Fix UFS OCP issue during UFS power down (PC=3) (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.23 % · percentile 15 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Deferred
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 device includes: - 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, asserting hardware reset (HWRST) triggers the device firmware to wake up and execute its reset routine. This routine initializes hardware blocks and takes a few milliseconds to complete. During this time, the ICCQ draws a large current. This large ICCQ current may cause issues for the regulator which is supplying power to UFS, because the turn off request from UFS driver to the regulator framework will be immediately followed by low power mode(LPM) request by regulator framework. This is done by framework because UFS which is the only client is requesting for disable. So if the rail is still in the process of shutting down while ICCQ exceeds LPM current thresholds, and LPM mode is activated in hardware during this state, it may trigger an overcurrent protection (OCP) fault in the regulator. To prevent this, a 10ms delay is added after asserting HWRST. This allows the reset operation to complete while power rails remain active and in high-power mode. Currently there is no way for Host to query whether the reset is completed or not and hence this the delay is based on experiments with Qualcomm UFS controllers across multiple UFS vendors.
References
- https://git.kernel.org/stable/c/dd52d72f2bd727ca60c1bc9820a307b70e2154ec
- https://git.kernel.org/stable/c/1c963811b0824d0f51aabd394986589a2126f341
- https://git.kernel.org/stable/c/0c2619d1da8bd3d18524d69f12571a8cd7362833
- https://git.kernel.org/stable/c/b712f234a74c1f5ce70b5d7aec3fc2499c258141
- https://git.kernel.org/stable/c/5127be409c6c3815c4a7d8f6d88043e44f9b9543
European references
- ENISA EUVD · EUVD-2025-203660
- GCVE · GCVE-0-2025-68236
CERT-FR advisories
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1595 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1473 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0421 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0397 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0371 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0331 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0326 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0316 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ b61d0414136853fc38898829cde837ce5d691a9a < dd52d72f2bd727ca60c1bc9820a307b70e2154ec affected : ≥ b61d0414136853fc38898829cde837ce5d691a9a < 1c963811b0824d0f51aabd394986589a2126f341 affected : ≥ b61d0414136853fc38898829cde837ce5d691a9a < 0c2619d1da8bd3d18524d69f12571a8cd7362833 affected : ≥ b61d0414136853fc38898829cde837ce5d691a9a < b712f234a74c1f5ce70b5d7aec3fc2499c258141 affected : ≥ b61d0414136853fc38898829cde837ce5d691a9a < 5127be409c6c3815c4a7d8f6d88043e44f9b9543 affected : 82783759e88beee69b710806e45acbb2fc589801 affected : ≥ 5.10.219 < 5.11 Other versions : unaffected |
| Linux · Linux | affected : 5.12 unaffected : ≥ 0 < 5.12 unaffected : ≥ 6.1.191 ≤ 6.1.* unaffected : ≥ 6.6.160 ≤ 6.6.* unaffected : ≥ 6.12.114 ≤ 6.12.* unaffected : ≥ 6.17.10 ≤ 6.17.* unaffected : ≥ 6.18 ≤ * Other versions : affected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |