[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1pl6lnqdd.fsf@ca-mkp.ca.oracle.com>
Date: Tue, 03 Feb 2026 22:24:13 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Zilin Guan <zilin@....edu.cn>
Cc: don.brace@...rochip.com, James.Bottomley@...senPartnership.com,
martin.petersen@...cle.com, scott.teel@...rochip.com,
john.p.donnelly@...cle.com, scott.benesh@...rochip.com,
Mike.McGowen@...rochip.com, storagedev@...rochip.com,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
jianhao.xu@....edu.cn
Subject: Re: [PATCH] scsi: smartpqi: fix memory leak in pqi_report_phys_luns()
Zilin,
> pqi_report_phys_luns() fails to release the rpl_list buffer when
> encountering an unsupported data format or when the allocation for
> rpl_16byte_wwid_list fails. These early returns bypass the cleanup
> logic, leading to memory leaks.
Applied to 6.20/scsi-staging, thanks!
--
Martin K. Petersen
Powered by blists - more mailing lists