{"id":"CVE-2026-142825","summary":"scsi: ufs: core: Clear stale UIC result byte before peer DME retries","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: ufs: core: Clear stale UIC result byte before peer DME retries\n\nPeer DME get and set retry a failed attempt with the same struct\nuic_command. UIC completion ORs the ConfigResultCode into argument2[7:0],\nand nothing clears it before the next attempt. Once an attempt fails, every\nretry keeps reporting that error code, even when the device returns\nsuccess, so a transient failure becomes a hard failure after three\nretries. Each such retry also triggers the WARN_ON_ONCE() in\nufshcd_dispatch_uic_cmd(). In ufshcd_dme_set_attr(), ufshcd_uic_cmd_compl()\nalso overwrites argument3 with the register readback before the next\nattempt.\n\nClear the result byte and restore argument3 in ufshcd_dme_set_attr() when\nan attempt fails.","modified":"2026-12-03T05:00:31.222220400Z","published":"2026-12-03T03:20:43.720Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142825.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/18203c685171b5fa2026fe013d92ce03a229fa6a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/24337d32600a4ccd0697da9eeda7fe173a13fe09"},{"type":"WEB","url":"https://git.kernel.org/stable/c/657a3f18227d375fe34c565f511a268c63f20784"},{"type":"WEB","url":"https://git.kernel.org/stable/c/74434445405c9a6c591ca57d8103d877f79ca3e9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c86ad7924cdba279e6d079aaf04048f3d237780e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cbe8f8d68a90729da79fe2a9d409ce6acd0a1d86"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d1e7118d2d30355055ae484b3bd3aca11efefbcb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e4a9b7640914b248eb7537d4507aa42db080586a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142825.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142825"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"64238fbd15ea58fc9e33a4fa35a9ee8a96d064f4"},{"fixed":"74434445405c9a6c591ca57d8103d877f79ca3e9"},{"fixed":"24337d32600a4ccd0697da9eeda7fe173a13fe09"},{"fixed":"18203c685171b5fa2026fe013d92ce03a229fa6a"},{"fixed":"cbe8f8d68a90729da79fe2a9d409ce6acd0a1d86"},{"fixed":"d1e7118d2d30355055ae484b3bd3aca11efefbcb"},{"fixed":"657a3f18227d375fe34c565f511a268c63f20784"},{"fixed":"c86ad7924cdba279e6d079aaf04048f3d237780e"},{"fixed":"e4a9b7640914b248eb7537d4507aa42db080586a"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142825.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.6.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142825.json"}}],"schema_version":"1.9.2"}