[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <78dd3eca-7e8a-72f9-07f9-e2c7cc4569b0@oracle.com>
Date: Thu, 14 Mar 2019 11:19:31 +0800
From: "jianchao.wang" <jianchao.w.wang@...cle.com>
To: jejb@...ux.ibm.com, martin.petersen@...cle.com
Cc: "linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Junxiao Bi <junxiao.bi@...cle.com>, diego.gonzalez@...cle.com
Subject: [BUG] scsi: ses: out of bound accessing in ses_enclosure_data_process
Dear all
When our customer probe the lpfc devices, they encountered odd memory corruption issues,
and we get 'out of bound' access warning at following position after open KASAN
ses_enclosure_data_process
for (i = 0; i < types; i++, type_ptr += 4) {
for (j = 0; j < type_ptr[1]; j++) {
^^^^^^^^^^^
out of bound
With some debug log, I got following,
page1 ffff88042d1aad20 len 32 types 5 type_ptr ffff88042d1aad64
Would anyone please give some suggestions on this ?
Thanks
Jianchao
Powered by blists - more mailing lists