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: <20221208022652.E436DC433D6@smtp.kernel.org>
Date:   Wed, 07 Dec 2022 18:26:50 -0800
From:   Stephen Boyd <sboyd@...nel.org>
To:     Xiu Jianfeng <xiujianfeng@...wei.com>, alim.akhtar@...sung.com,
        cw00.choi@...sung.com, dianders@...omium.org,
        krzysztof.kozlowski@...aro.org, mturquette@...libre.com,
        mturquette@...aro.org, s.nawrocki@...sung.com,
        tomasz.figa@...il.com, yadi.brar@...sung.com
Cc:     linux-samsung-soc@...r.kernel.org, linux-clk@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] clk: samsung: Fix memory leak in _samsung_clk_register_pll()

Quoting Xiu Jianfeng (2022-11-22 19:20:15)
> If clk_register() fails, @pll->rate_table may have allocated memory by
> kmemdup(), so it needs to be freed, otherwise will cause memory leak
> issue, this patch fixes it.
> 
> Fixes: 3ff6e0d8d64d ("clk: samsung: Add support to register rate_table for samsung plls")
> Signed-off-by: Xiu Jianfeng <xiujianfeng@...wei.com>
> ---

Applied to clk-next

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ