Unverified Commit d483f563 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!11123 fix CVE-2024-42288

Merge Pull Request from: @ci-robot 
 
PR sync from: Lin Yujun <linyujun809@huawei.com>
https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/ZRURVFLRRDCL7LBLU6EGYBYXNTK2HHEC/ 
Shreyas Deodhar (1):
  scsi: qla2xxx: Fix for possible memory corruption


-- 
2.34.1
 
https://gitee.com/src-openeuler/kernel/issues/IAKPQM 
 
Link:https://gitee.com/openeuler/kernel/pulls/11123

 

Reviewed-by: default avatarZhang Jianhua <chris.zjh@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parents 9faee06a 239c94c4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4453,7 +4453,7 @@ static void
qla2x00_number_of_exch(scsi_qla_host_t *vha, u32 *ret_cnt, u16 max_cnt)
{
	u32 temp;
	struct init_cb_81xx *icb = (struct init_cb_81xx *)&vha->hw->init_cb;
	struct init_cb_81xx *icb = (struct init_cb_81xx *)vha->hw->init_cb;
	*ret_cnt = FW_DEF_EXCHANGES_CNT;

	if (max_cnt > vha->hw->max_exchg)