[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <175708881848.3546185.8093132917549688443.b4-ty@arm.com>
Date: Fri, 5 Sep 2025 17:13:38 +0100
From: Catalin Marinas <catalin.marinas@....com>
To: Lorenzo Pieralisi <lpieralisi@...nel.org>,
Hanjun Guo <guohanjun@...wei.com>,
Sudeep Holla <sudeep.holla@....com>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Len Brown <lenb@...nel.org>,
Joerg Roedel <jroedel@...e.de>,
Shameer Kolothum <shameerali.kolothum.thodi@...wei.com>,
Robin Murphy <robin.murphy@....com>,
linux-acpi@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
bpf@...r.kernel.org,
Miaoqian Lin <linmq006@...il.com>
Cc: Will Deacon <will@...nel.org>,
stable@...r.kernel.org
Subject: Re: [PATCH] ACPI/IORT: Fix memory leak in iort_rmr_alloc_sids()
On Thu, 28 Aug 2025 19:22:43 +0800, Miaoqian Lin wrote:
> If krealloc_array() fails in iort_rmr_alloc_sids(), the function returns
> NULL but does not free the original 'sids' allocation. This results in a
> memory leak since the caller overwrites the original pointer with the
> NULL return value.
>
>
Applied to arm64 (for-next/fixes), thanks!
[1/1] ACPI/IORT: Fix memory leak in iort_rmr_alloc_sids()
https://git.kernel.org/arm64/c/f3ef7110924b
--
Catalin
Powered by blists - more mailing lists