CVE-2026-142825
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.
Affected products
1Patches
Vulnerability mechanics
References
8- git.kernel.org/stable/c/18203c685171b5fa2026fe013d92ce03a229fa6anvd
- git.kernel.org/stable/c/24337d32600a4ccd0697da9eeda7fe173a13fe09nvd
- git.kernel.org/stable/c/657a3f18227d375fe34c565f511a268c63f20784nvd
- git.kernel.org/stable/c/74434445405c9a6c591ca57d8103d877f79ca3e9nvd
- git.kernel.org/stable/c/c86ad7924cdba279e6d079aaf04048f3d237780envd
- git.kernel.org/stable/c/cbe8f8d68a90729da79fe2a9d409ce6acd0a1d86nvd
- git.kernel.org/stable/c/d1e7118d2d30355055ae484b3bd3aca11efefbcbnvd
- git.kernel.org/stable/c/e4a9b7640914b248eb7537d4507aa42db080586anvd
News mentions
0No linked articles in our index yet.