lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <176648902567.689692.17832281669717772537.b4-ty@kernel.org>
Date: Tue, 23 Dec 2025 16:53:45 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Neil Armstrong <neil.armstrong@...aro.org>, 
 Jyothi Kumar Seerapu <quic_jseerapu@...cinc.com>, 
 Dmitry Baryshkov <lumag@...nel.org>, linux-arm-msm@...r.kernel.org, 
 dmaengine@...r.kernel.org, linux-kernel@...r.kernel.org, 
 Krzysztof Kozlowski <krzk@...nel.org>, Miaoqian Lin <linmq006@...il.com>
Cc: stable@...r.kernel.org
Subject: Re: [PATCH] dma: qcom: gpi: Fix memory leak in
 gpi_peripheral_config()


On Wed, 29 Oct 2025 20:34:19 +0800, Miaoqian Lin wrote:
> Fix a memory leak in gpi_peripheral_config() where the original memory
> pointed to by gchan->config could be lost if krealloc() fails.
> 
> The issue occurs when:
> 1. gchan->config points to previously allocated memory
> 2. krealloc() fails and returns NULL
> 3. The function directly assigns NULL to gchan->config, losing the
>    reference to the original memory
> 4. The original memory becomes unreachable and cannot be freed
> 
> [...]

Applied, thanks!

[1/1] dma: qcom: gpi: Fix memory leak in gpi_peripheral_config()
      commit: 2387beefdb3284298e98369bb886584e3abae4ed

Best regards,
-- 
~Vinod



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ