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]
Date:   Thu, 14 Oct 2021 23:55:02 +0800
From:   Tzung-Bi Shih <>
To:     Fei Shao <>
Cc:     Jassi Brar <>,
        Chun-Kuang Hu <>,
        Jassi Brar <>,
        Matthias Brugger <>,
        "jason-jh.lin" <>,,,
Subject: Re: [PATCH v2 2/2] mailbox: mtk-cmdq: Fix local clock ID usage

On Thu, Oct 14, 2021 at 08:03:52PM +0800, Fei Shao wrote:
> In the probe function, the clock IDs were pointed to local variables
> which should only be used in the same code block, and any access to them
> after the probing stage becomes an use-after-free case.
> Since there are only limited variants of the gce clock names so far, we
> can just declare them as static constants to fix the issue.
> Fixes: 85dfdbfc13ea ("mailbox: cmdq: add multi-gce clocks support for
> mt8195")
> Signed-off-by: Fei Shao <>
Reviewed-by: Tzung-Bi Shih <>

Powered by blists - more mailing lists