public inbox for linux-spi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] spi: ch341: fix memory leaks and use-after-free
@ 2026-03-27 10:43 Johan Hovold
  2026-03-27 10:43 ` [PATCH 1/2] spi: ch341: fix memory leaks on probe failures Johan Hovold
  2026-03-27 10:43 ` [PATCH 2/2] spi: ch341: fix devres lifetime Johan Hovold
  0 siblings, 2 replies; 3+ messages in thread
From: Johan Hovold @ 2026-03-27 10:43 UTC (permalink / raw)
  To: Mark Brown; +Cc: Johannes Thumshirn, linux-spi, linux-kernel, Johan Hovold

Fix probe error handling and devres lifetime to avoid memory leaks and
use-after-free.

Johan


Johan Hovold (2):
  spi: ch341: fix memory leaks on probe failures
  spi: ch341: fix devres lifetime

 drivers/spi/spi-ch341.c | 43 +++++++++++++++++++++++++++--------------
 1 file changed, 28 insertions(+), 15 deletions(-)

-- 
2.52.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-03-27 10:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-27 10:43 [PATCH 0/2] spi: ch341: fix memory leaks and use-after-free Johan Hovold
2026-03-27 10:43 ` [PATCH 1/2] spi: ch341: fix memory leaks on probe failures Johan Hovold
2026-03-27 10:43 ` [PATCH 2/2] spi: ch341: fix devres lifetime Johan Hovold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox