scsi: megaraid_sas: Fix resource leak in case of probe failure
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
scsi: megaraid_sas: Fix resource leak in case of probe failure
The driver doesn't clean up all the allocated resources properly when scsi_add_host(), megasas_start_aen() function fails during the PCI device probe.
Clean up all those resources.
From the CVE record · Linux
The Linux kernel’s megaraid_sas driver can leak allocated resources if scsi_add_host() or megasas_start_aen() fails during PCI device probing. The input does not describe how an attacker could trigger the failure or specify network access, authentication, or user-interaction requirements.
Engineers running Linux kernels with the megaraid_sas driver should check their versions; affected versions are not specified.