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]
Date:   Mon,  4 Apr 2022 11:10:49 +0100
From:   Will Deacon <will@...nel.org>
To:     Xiaomeng Tong <xiam0nd.tong@...il.com>, agross@...nel.org
Cc:     catalin.marinas@....com, kernel-team@...roid.com,
        Will Deacon <will@...nel.org>, linux-arm-msm@...r.kernel.org,
        linux-arm-kernel@...ts.infradead.org, nleeder@...eaurora.org,
        mark.rutland@....com, bjorn.andersson@...aro.org,
        linux-kernel@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH] perf: qcom_l2_pmu: fix an incorrect NULL check on list iterator

On Sun, 27 Mar 2022 13:57:33 +0800, Xiaomeng Tong wrote:
> The bug is here:
> 	return cluster;
> 
> The list iterator value 'cluster' will *always* be set and non-NULL
> by list_for_each_entry(), so it is incorrect to assume that the
> iterator value will be NULL if the list is empty or no element
> is found.
> 
> [...]

Applied to arm64 (for-next/fixes), thanks!

[1/1] perf: qcom_l2_pmu: fix an incorrect NULL check on list iterator
      https://git.kernel.org/arm64/c/2012a9e27901

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ