CVE-2025-37828
Last modified
CVE-2025-37828 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: scsi: ufs: mcq: Add NULL check in ufshcd_mcq_abort() A race can occur between the MCQ completion path and the abort handler: once a request completes, __blk_mq_free_request() sets rq->mq_hctx to NULL, meaning the subsequent ufshcd_mcq_req_to_hwq() call in ufshcd_mcq_abort() can return a NULL pointer. If this NULL pointer is dereferenced, the kernel will crash. Add a NULL check for the returned hwq pointer. EPSS estimates a 0.15% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: scsi: ufs: mcq: Add NULL check in ufshcd_mcq_abort() A race can occur between the MCQ completion path and the abort handler: once a request completes, __blk_mq_free_request() sets rq->mq_hctx to NULL, meaning the subsequent ufshcd_mcq_req_to_hwq() call in ufshcd_mcq_abort() can return a NULL pointer. If this NULL pointer is dereferenced, the kernel will crash. Add a NULL check for the returned hwq pointer. If hwq is NULL, log an error and return FAILED, preventing a potential NULL-pointer dereference. As suggested by Bart, the ufshcd_cmd_inflight() check is removed. This is similar to the fix in commit 74736103fb41 ("scsi: ufs: core: Fix ufshcd_abort_one racing issue"). This is found by our static analysis tool KNighter.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.5, < 6.6.89 | — |
| Linux | Linux Kernel | >= 6.7, < 6.12.26 | — |
| Linux | Linux Kernel | >= 6.13, < 6.14.5 | — |
| Linux | Linux Kernel | 6.15 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-37828?
How severe is CVE-2025-37828?
How do I fix CVE-2025-37828?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-37822In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-37823In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-37824In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-37825In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-37826In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-37827In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-37829In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-3783A vulnerability classified as critical was found in SourceCo…9.8
- CVE-2025-37830In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-37831In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-37832Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2025-37833In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2025-37828?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
