diff options
| author | Chandrakanth Patil <chandrakanth.patil@broadcom.com> | 2026-08-26 02:33:56 +0530 |
|---|---|---|
| committer | Martin K. Petersen (Oracle) <mkp@kernel.org> | 2026-09-09 22:08:15 -0400 |
| commit | 9fac4cbd66d852958e8a8d0952eb57f8554ce83b (patch) | |
| tree | 10c33f14ae5235371536586ae58205bef9c98064 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 896abdd4d81f40575b05d593f7fe004935a6cf97 (diff) | |
| download | linux-next-9fac4cbd66d852958e8a8d0952eb57f8554ce83b.tar.gz linux-next-9fac4cbd66d852958e8a8d0952eb57f8554ce83b.zip | |
scsi: mpi3mr: Fix out-of-bounds read when copying BSG MPI requests
The MPI request is copied out of the caller supplied payload without first
checking that the requested amount is actually present, so the copy can
read past the end of the payload buffer.
Check the range before copying.
Fixes: 506bc1a0d6ba ("scsi: mpi3mr: Add support for MPT commands")
Signed-off-by: Chandrakanth Patil <chandrakanth.patil@broadcom.com>
Link: https://patch.msgid.link/20260825210411.301535-3-chandrakanth.patil@broadcom.com
Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
