CVE-2026-142825
scsi: ufs: core: Clear stale UIC result byte before peer DME retries
Description
In the Linux kernel, the following vulnerability has been resolved: scsi: ufs: core: Clear stale UIC result byte before peer DME retries Peer DME get and set retry a failed attempt with the same struct uic_command. UIC completion ORs the ConfigResultCode into argument2[7:0], and nothing clears it before the next attempt. Once an attempt fails, every retry keeps reporting that error code, even when the device returns success, so a transient failure becomes a hard failure after three retries. Each such retry also triggers the WARN_ON_ONCE() in ufshcd_dispatch_uic_cmd(). In ufshcd_dme_set_attr(), ufshcd_uic_cmd_compl() also overwrites argument3 with the register readback before the next attempt. Clear the result byte and restore argument3 in ufshcd_dme_set_attr() when an attempt fails.
INFO
Published Date :
Dec. 3, 2026, 4:18 a.m.
Last Modified :
Dec. 3, 2026, 4:18 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Apply the Linux kernel patch.
- Update the Linux kernel to the latest version.
- Clear the result byte in ufs.
- Restore argument3 in ufs.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-142825.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-142825 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-142825
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-142825 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-142825 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 03, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: scsi: ufs: core: Clear stale UIC result byte before peer DME retries Peer DME get and set retry a failed attempt with the same struct uic_command. UIC completion ORs the ConfigResultCode into argument2[7:0], and nothing clears it before the next attempt. Once an attempt fails, every retry keeps reporting that error code, even when the device returns success, so a transient failure becomes a hard failure after three retries. Each such retry also triggers the WARN_ON_ONCE() in ufshcd_dispatch_uic_cmd(). In ufshcd_dme_set_attr(), ufshcd_uic_cmd_compl() also overwrites argument3 with the register readback before the next attempt. Clear the result byte and restore argument3 in ufshcd_dme_set_attr() when an attempt fails. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/142xxx/CVE-2026-142825.json">CVE-2026-142825</a> Added Reference https://git.kernel.org/stable/c/18203c685171b5fa2026fe013d92ce03a229fa6a Added Reference https://git.kernel.org/stable/c/24337d32600a4ccd0697da9eeda7fe173a13fe09 Added Reference https://git.kernel.org/stable/c/657a3f18227d375fe34c565f511a268c63f20784 Added Reference https://git.kernel.org/stable/c/74434445405c9a6c591ca57d8103d877f79ca3e9 Added Reference https://git.kernel.org/stable/c/c86ad7924cdba279e6d079aaf04048f3d237780e Added Reference https://git.kernel.org/stable/c/cbe8f8d68a90729da79fe2a9d409ce6acd0a1d86 Added Reference https://git.kernel.org/stable/c/d1e7118d2d30355055ae484b3bd3aca11efefbcb Added Reference https://git.kernel.org/stable/c/e4a9b7640914b248eb7537d4507aa42db080586a