scsi: ufs: core: Add NULL check in ufshcd_mcq_compl_pending_transfer()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.12.266.14.56.15In 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").
From the CVE record · Linux
The Linux kernel’s UFS SCSI core lacked a NULL check for a hardware-queue pointer in ufshcd_mcq_compl_pending_transfer(). This can lead to a NULL pointer dereference; the input does not specify how an attacker could trigger it or whether access or user interaction is required.
Engineers running Linux kernels with the affected UFS SCSI core should check their kernel version; affected versions are not specified.