scsi: qla4xxx: Prevent a potential error pointer dereference
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 13483730a13bef372894aefcf73760f5c6c297be · < f1424c830d6ce840341aac33fe99c8ac45447ac1| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
scsi: qla4xxx: Prevent a potential error pointer dereference
The qla4xxx_get_ep_fwdb() function is supposed to return NULL on error, but qla4xxx_ep_connect() returns error pointers. Propagating the error pointers will lead to an Oops in the caller, so change the error pointers to NULL.
From the CVE record · Linux
The Linux kernel's qla4xxx SCSI driver can pass an error pointer to a caller that expects NULL. This can cause a kernel Oops. The input does not specify how an attacker could trigger it or whether authentication or user interaction is required.
Engineers running Linux kernels with the qla4xxx SCSI driver should check their versions; affected versions are not specified.