# CVE-2025-37826: scsi: ufs: core: Add NULL check in ufshcd_mcq_compl_pending_transfer()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-05-08T06:26:18.694Z
- Modified: 2026-06-17T09:15:31.090Z
- Weaknesses: CWE-476
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

scsi: ufs: core: Add NULL check in ufshcd_mcq_compl_pending_transfer()

Add a NULL check for the returned hwq pointer by ufshcd_mcq_req_to_hwq().

This is similar to the fix in commit 74736103fb41 ("scsi: ufs: core: Fix
ufshcd_abort_one racing issue").

(As written by CVE List.)

## Affected

- Linux Linux: from ab248643d3d68b30f95ee9c238a5a20a06891204 before eeab6618037be84e438e9d6ed5d9a53502faf81f; from ab248643d3d68b30f95ee9c238a5a20a06891204 before 700128d67d57bb1de4251e563ab85202def36c50; from ab248643d3d68b30f95ee9c238a5a20a06891204 before 08a966a917fe3d92150fa3cc15793ad5e57051eb; 6.5 (not affected: before 6.5; from 6.12.26 up to 6.12.*; from 6.14.5 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 6.5 before 6.12.26; from 6.13 before 6.14.5; 6.15

## References

- <https://git.kernel.org/stable/c/eeab6618037be84e438e9d6ed5d9a53502faf81f> (patch)
- <https://git.kernel.org/stable/c/700128d67d57bb1de4251e563ab85202def36c50> (patch)
- <https://git.kernel.org/stable/c/08a966a917fe3d92150fa3cc15793ad5e57051eb> (patch)

## Sources

- CVE List: [CVE-2025-37826](https://www.cve.org/CVERecord?id=CVE-2025-37826), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-37826](https://nvd.nist.gov/vuln/detail/CVE-2025-37826), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-37826 · Whole record: https://cve.day/CVE-2025-37826.json · Rebuilt by cve.day 2026-11-25T22:58:57.802Z
