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] [thread-next>] [day] [month] [year] [list]
Message-ID: <aRw81nFwZv3I0gq_@hovoldconsulting.com>
Date: Tue, 18 Nov 2025 10:31:02 +0100
From: Johan Hovold <johan@...nel.org>
To: Amelie Delaunay <amelie.delaunay@...s.st.com>
Cc: Vinod Koul <vkoul@...nel.org>,
	Ludovic Desroches <ludovic.desroches@...rochip.com>,
	Viresh Kumar <vireshk@...nel.org>,
	Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
	Vinicius Costa Gomes <vinicius.gomes@...el.com>,
	Dave Jiang <dave.jiang@...el.com>,
	Vladimir Zapolskiy <vz@...ia.com>,
	Piotr Wojtaszczyk <piotr.wojtaszczyk@...esys.com>,
	Maxime Coquelin <mcoquelin.stm32@...il.com>,
	Alexandre Torgue <alexandre.torgue@...s.st.com>,
	Peter Ujfalusi <peter.ujfalusi@...il.com>,
	dmaengine@...r.kernel.org, linux-kernel@...r.kernel.org,
	stable@...r.kernel.org,
	Pierre-Yves MORDRET <pierre-yves.mordret@...s.st.com>
Subject: Re: [PATCH 09/15] dmaengine: stm32: dmamux: fix device leak on route
 allocation

On Tue, Nov 18, 2025 at 09:11:30AM +0100, Amelie Delaunay wrote:
> On 11/17/25 17:12, Johan Hovold wrote:
> > Make sure to drop the reference taken when looking up the DMA mux
> > platform device during route allocation.
> > 
> > Note that holding a reference to a device does not prevent its driver
> > data from going away so there is no point in keeping the reference.
> > 
> > Fixes: df7e762db5f6 ("dmaengine: Add STM32 DMAMUX driver")
> > Cc: stable@...r.kernel.org	# 4.15
> > Cc: Pierre-Yves MORDRET <pierre-yves.mordret@...s.st.com>
> > Signed-off-by: Johan Hovold <johan@...nel.org>
> 
> Reviewed-by: Amelie Delaunay <amelie.delaunay@...s.st.com>

Thanks for reviewing.

Johan

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ