diff options
author | Junxiao Bi <junxiao.bi@oracle.com> | 2019-07-22 19:15:24 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-07-24 05:14:06 +0300 |
commit | 3b5f307ef3cb5022bfe3c8ca5b8f2114d5bf6c29 (patch) | |
tree | 67790f64114d0ea270b39b3bb64ed7722771a311 /drivers/scsi/megaraid/megaraid_sas_fusion.c | |
parent | 359603a3847e58843881db87e5f464bb85539e95 (diff) | |
download | linux-3b5f307ef3cb5022bfe3c8ca5b8f2114d5bf6c29.tar.xz |
scsi: megaraid_sas: fix panic on loading firmware crashdump
While loading fw crashdump in function fw_crash_buffer_show(), left bytes
in one dma chunk was not checked, if copying size over it, overflow access
will cause kernel panic.
Signed-off-by: Junxiao Bi <junxiao.bi@oracle.com>
Acked-by: Sumit Saxena <sumit.saxena@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/megaraid/megaraid_sas_fusion.c')
0 files changed, 0 insertions, 0 deletions