diff options
| author | Matt Wang <matt.wang@broadcom.com> | 2026-09-30 07:14:59 +0800 |
|---|---|---|
| committer | Martin K. Petersen (Oracle) <mkp@kernel.org> | 2026-11-03 22:24:48 -0500 |
| commit | 6e862335a8d3a3c8bfc8488dc1c6fa81b83a83ee (patch) | |
| tree | 455c2ee0f4ae51259429030ae07fa5e43c60fa54 /scripts/Makefile.thinlto | |
| parent | 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4 (diff) | |
| download | linux-next-6e862335a8d3a3c8bfc8488dc1c6fa81b83a83ee.tar.gz linux-next-6e862335a8d3a3c8bfc8488dc1c6fa81b83a83ee.zip | |
scsi: vmw_pvscsi: Add boundary check for cmd_map access
The context value provided by the device in a completion is used to
index into cmd_map to find the command that was completed. To prevent
out of bounds access or completion of an inactive context, check that
the context value is in-bounds and that it maps to an active context.
Signed-off-by: Matt Wang <matt.wang@broadcom.com>
Link: https://patch.msgid.link/20260929231459.630938-1-matt.wang@broadcom.com
Fixes: 851b164231d1 ("[SCSI] vmw_pvscsi: SCSI driver for VMware's virtual HBA.")
Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
