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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Tue, 24 May 2022 20:51:47 +1000
From:   Michael Ellerman <patch-notifications@...erman.id.au>
To:     akpm@...ux-foundation.org, bharata@...ux.ibm.com,
        linuxram@...ibm.com, Felix.Kuehling@....com, mpe@...erman.id.au,
        paulus@...ba.org, benh@...nel.crashing.org,
        maciej.szmigiero@...cle.com, maz@...nel.org, david@...hat.com,
        Xiaomeng Tong <xiam0nd.tong@...il.com>,
        liam.howlett@...cle.com, apopple@...dia.com
Cc:     linux-kernel@...r.kernel.org, stable@...r.kernel.org,
        linuxppc-dev@...ts.ozlabs.org
Subject: Re: [RESEND][PATCH] KVM: PPC: Book3S HV: fix incorrect NULL check on list iterator

On Thu, 14 Apr 2022 14:21:03 +0800, Xiaomeng Tong wrote:
> The bug is here:
> 	if (!p)
>                 return ret;
> 
> The list iterator value 'p' 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 powerpc/topic/ppc-kvm.

[1/1] KVM: PPC: Book3S HV: fix incorrect NULL check on list iterator
      https://git.kernel.org/powerpc/c/300981abddcb13f8f06ad58f52358b53a8096775

cheers

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ