Commit 2bfd6256 authored by Michal Grzedzicki's avatar Michal Grzedzicki Committed by Li Lingfeng
Browse files

scsi: pm80xx: Avoid leaking tags when processing OPC_INB_SET_CONTROLLER_CONFIG command

mainline inclusion
from mainline-v6.6-rc2
commit c13e7331
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/I95B2S
CVE: CVE-2023-52500

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c13e7331745852d0dd7c35eabbe181cbd5b01172



--------------------------------

Tags allocated for OPC_INB_SET_CONTROLLER_CONFIG command need to be freed
when we receive the response.

Signed-off-by: default avatarMichal Grzedzicki <mge@meta.com>
Link: https://lore.kernel.org/r/20230911170340.699533-2-mge@meta.com


Acked-by: default avatarJack Wang <jinpu.wang@ionos.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: default avatarLi Lingfeng <lilingfeng3@huawei.com>
parent 84f30849
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment