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: <fa9884d8-fa2b-4f8b-8fb0-97f4a276c9c4@linaro.org>
Date: Wed, 5 Nov 2025 14:39:03 +0100
From: Daniel Lezcano <daniel.lezcano@...aro.org>
To: Haotian Zhang <vulab@...as.ac.cn>, tglx@...utronix.de
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] clocksource: ralink: Fix resource leaks in init error
 path

On 10/30/25 10:07, Haotian Zhang wrote:
> The ralink_systick_init() function does not release all acquired resources
> on its error paths. If irq_of_parse_and_map() or a subsequent call fails,
> the previously created I/O memory mapping and IRQ mapping are leaked.
> 
> Add goto-based error handling labels to ensure that all allocated
> resources are correctly freed.
> 
> Fixes: 1f2acc5a8a0a ("MIPS: ralink: Add support for systick timer found on newer ralink SoC")
> Signed-off-by: Haotian Zhang <vulab@...as.ac.cn>
> ---

Applied, thanks

-- 
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ