scsi: mpt3sas: Avoid freeing unallocated PCIe SGL buffers
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ dbec4c9040edc15442c3ebdb65408aa9d3b82c24 · < 2dbdd025b228110ccbfbab95fe16e098313a14af| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
scsi: mpt3sas: Avoid freeing unallocated PCIe SGL buffers
_base_release_memory_pools() unconditionally frees every ioc->pcie_sg_lookup[] entry, including ones the setup loop never allocated after a partial failure, causing a "bad dma" warning on debug kernels or a NULL pointer dereference otherwise.
From the CVE record · Linux
The Linux kernel's mpt3sas driver can free PCIe SGL buffers that were never allocated after a partial setup failure. This can cause a warning on debug kernels or a NULL pointer dereference otherwise; the input does not specify an attacker path, access requirements, or user interaction.
Engineers running Linux kernels with the mpt3sas driver should check their exposure; affected versions were not provided.