scsi: ufs: Avoid NULL CQE dereference when reporting invalid tags
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 |
|
|
In the Linux kernel, the following vulnerability has been resolved:
scsi: ufs: Avoid NULL CQE dereference when reporting invalid tags
The single-doorbell completion path can call ufshcd_compl_one_cqe() with a NULL CQE. If no command is associated with the completion tag, the warning message dereferences the CQE while reporting the error. Avoid that dereference and include the invalid tag in the warning.
From the CVE record · Linux
The Linux kernel's UFS single-doorbell completion path can dereference a NULL completion queue entry while reporting an invalid tag with no associated command. The input does not specify how an attacker could trigger this, whether authentication or user interaction is needed, or the resulting impact beyond the dereference.
Engineers running Linux kernels with the affected UFS completion path should check their versions; affected versions are not specified.