summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2021-07-07 11:43:42 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2021-07-18 22:30:36 -0400
commitaffbe24429410fddf4e50ca456c090ed6d8e05bf (patch)
tree59a82ab4ce7db4a23dd81ed3c167b9f43c7af187 /tools/perf/scripts/python/export-to-sqlite.py
parente78c006f4c888231cdabb8a4286ba17980a903fa (diff)
downloadlinux-affbe24429410fddf4e50ca456c090ed6d8e05bf.tar.gz
linux-affbe24429410fddf4e50ca456c090ed6d8e05bf.zip
scsi: lpfc: Fix KASAN slab-out-of-bounds in lpfc_unreg_rpi() routine
In lpfc_offline_prep() an RPI is freed and nlp_rpi set to 0xFFFF before calling lpfc_unreg_rpi(). Unfortunately, lpfc_unreg_rpi() uses nlp_rpi to index the sli4_hba.rpi_ids[] array. In lpfc_offline_prep(), unreg rpi before freeing the rpi. Link: https://lore.kernel.org/r/20210707184351.67872-12-jsmart2021@gmail.com Co-developed-by: Justin Tee <justin.tee@broadcom.com> Signed-off-by: Justin Tee <justin.tee@broadcom.com> Signed-off-by: James Smart <jsmart2021@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions