scsi: hpsa: Fix DMA mapping leak on IOACCEL2 reset path
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ c5dfd106414f3e038fee5c6f0800fd55ed07b41d · < d495b403d5b357dfe506b963bd7a78ecd5c7b667| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
scsi: hpsa: Fix DMA mapping leak on IOACCEL2 reset path
If phys_disk->in_reset is set, the function returns directly without undoing the resources acquired for the command. Add the missing error cleanup by unmapping the IOACCEL2 SG chain block when needed, unmapping the SCSI command, and dropping the outstanding IOACCEL command count before returning.
From the CVE record · Linux
The Linux kernel hpsa driver can leave DMA mappings and an outstanding command count uncleared when an IOACCEL2 command returns early because a physical disk is in reset. The input does not describe how an attacker could trigger this condition or whether access or user interaction is required.
Engineers running Linux systems that use the hpsa driver should check their kernel; affected versions are not specified.