diff options
| author | Chandrakanth Patil <chandrakanth.patil@broadcom.com> | 2026-08-26 02:34:08 +0530 |
|---|---|---|
| committer | Martin K. Petersen (Oracle) <mkp@kernel.org> | 2026-09-09 22:08:16 -0400 |
| commit | 7d572b4dc4ed0494e67097d4b7368666655f5c99 (patch) | |
| tree | e6255a7cda42f8da03e9b9f77785afc6bc1677f0 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 203b3072e7aa10d98b3f2b766693ea925cfc571d (diff) | |
| download | linux-next-7d572b4dc4ed0494e67097d4b7368666655f5c99.tar.gz linux-next-7d572b4dc4ed0494e67097d4b7368666655f5c99.zip | |
scsi: mpi3mr: Fix out-of-bounds read in PCIe topology change events
The number of entries in a PCIe topology change event is used to walk the
entry array without being compared against the amount of event data that
was received.
Bound the entry count to the received event data before use.
Fixes: 8e653455547a ("scsi: mpi3mr: Add support for PCIe device event handling")
Signed-off-by: Chandrakanth Patil <chandrakanth.patil@broadcom.com>
Link: https://patch.msgid.link/20260825210411.301535-15-chandrakanth.patil@broadcom.com
Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
