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: <20240805-swinging-wolverine-of-potency-529367-mkl@pengutronix.de>
Date: Mon, 5 Aug 2024 16:42:45 +0200
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: Simon Horman <horms@...nel.org>
Cc: Chandrasekar Ramakrishnan <rcsekar@...sung.com>, 
	Vincent Mailhol <mailhol.vincent@...adoo.fr>, "David S. Miller" <davem@...emloft.net>, 
	Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, 
	Paolo Abeni <pabeni@...hat.com>, Vivek Yadav <vivek.2311@...sung.com>, linux-can@...r.kernel.org, 
	netdev@...r.kernel.org
Subject: Re: [PATCH v2] can: m_can: Release irq on error in m_can_open

On 05.08.2024 15:01:58, Simon Horman wrote:
> It appears that the irq requested in m_can_open() may be leaked
> if an error subsequently occurs: if m_can_start() fails.
> 
> Address this by calling free_irq in the unwind path for
> such cases.
> 
> Flagged by Smatch.
> Compile tested only.
> 
> Fixes: eaacfeaca7ad ("can: m_can: Call the RAM init directly from m_can_chip_config")
> Acked-by: Marc Kleine-Budde <mkl@...gutronix.de>
> Signed-off-by: Simon Horman <horms@...nel.org>

Applied ti linux-can.

Thanks,
Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde          |
Embedded Linux                   | https://www.pengutronix.de |
Vertretung Nürnberg              | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-9   |

Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ