summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorChandrakanth Patil <chandrakanth.patil@broadcom.com>2026-08-26 02:34:08 +0530
committerMartin K. Petersen (Oracle) <mkp@kernel.org>2026-09-09 22:08:16 -0400
commit7d572b4dc4ed0494e67097d4b7368666655f5c99 (patch)
treee6255a7cda42f8da03e9b9f77785afc6bc1677f0 /tools/perf/scripts/python/stackcollapse.py
parent203b3072e7aa10d98b3f2b766693ea925cfc571d (diff)
downloadlinux-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