Live threats

All CVEs / Linux

CVE-2025-37828Linux Kernel

Medium 5.5

Priority
33
CVSS 3.1
5.5
EPSS
—
Auth required
Yes
Published
May 8, 2025
Updated
Jun 17, 2026
Category
Operating system · Linux
Weakness (CWE)
CWE-476
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Linux Kernel.

Affected products (CPE)

VendorProductVersions
linuxlinux_kernel≥ 6.5 < 6.6.89
linuxlinux_kernel≥ 6.7 < 6.12.26
linuxlinux_kernel≥ 6.13 < 6.14.5
linuxlinux_kernel6.15
linuxlinux_kernel6.15
linuxlinux_kernel6.15

Official sources

References

Links published by the sources. Open them with care.