CVE-2026-142825

Source
https://cve.org/CVERecord?id=CVE-2026-142825
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142825.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142825
Downstream
Published
2026-12-03T03:20:43Z
Modified
2026-12-03T05:00:31Z
Summary
scsi: ufs: core: Clear stale UIC result byte before peer DME retries
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142825.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

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
Show 3 more events Show fewer events
Fixed
657a3f18227d375fe34c565f511a268c63f20784
Fixed
c86ad7924cdba279e6d079aaf04048f3d237780e
Fixed
e4a9b7640914b248eb7537d4507aa42db080586a

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142825.json"

Linux / Kernel

Package

Name
Kernel

Affected 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"