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

Medium 5.5 Published Updated

A missing NULL check in the Linux kernel UFS driver can cause a system crash, requiring a kernel patch to prevent denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-37826?

CVE-2025-37826 is a medium-severity vulnerability in Linux kernel, published on 8 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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").

Weakness: CWE-476

Which versions are affected by CVE-2025-37826?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-37826?

Apply the vendor's patch.

Is CVE-2025-37826 being exploited?

There is no known exploitation of CVE-2025-37826 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-62624, BELL-CVE-2025-37826, DEBIAN-CVE-2025-37826, GHSA-cr4p-cqhr-xjwp, ROOT-OS-UBUNTU-2404-CVE-2025-37826, UBUNTU-CVE-2025-37826.

Is CVE-2025-37826 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free