[PATCH 0/2] spi: ch341: fix memory leaks and use-after-free

From: Johan Hovold

Date: Fri Mar 27 2026 - 06:49:43 EST


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