scsi: csiostor: Fix dereference of null pointer rn
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ a3667aaed5698b84bad2f1b3f71adc86499f4bc6 · < 25ab5e97d3c5f3ed594b4a65d1cc99dc24756681| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
scsi: csiostor: Fix dereference of null pointer rn
The error exit path when rn is NULL ends up deferencing the null pointer rn via the use of the macro CSIO_INC_STATS. Fix this by adding a new error return path label after the use of the macro to avoid the deference.
From the CVE record · Linux
The Linux kernel's csiostor SCSI driver can dereference a null rn pointer on an error exit path through the CSIO_INC_STATS macro. The input does not describe an attacker action or specify whether exploitation requires network access, authentication, or user interaction.
Engineers running Linux kernels with the csiostor driver should check their versions; affected versions are not specified.