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: <CAHC9VhTdDGehupfYGmuijRw9BZv2eu289t-fbn_qUdTftU_70A@mail.gmail.com>
Date:   Mon, 23 Dec 2019 18:03:03 -0500
From:   Paul Moore <paul@...l-moore.com>
To:     selinux@...r.kernel.org
Cc:     Jeff Vander Stoep <jeffv@...gle.com>, linux-kernel@...r.kernel.org,
        lkp@...ts.01.org
Subject: Re: [PATCH] selinux: ensure the policy has been loaded before reading
 the sidtab stats

On Mon, Dec 23, 2019 at 6:01 PM Paul Moore <paul@...l-moore.com> wrote:
>
> Check to make sure we have loaded a policy before we query the
> sidtab's hash stats.  Failure to do so could result in a kernel
> panic/oops due to a dereferenced NULL pointer.
>
> Fixes: 66f8e2f03c02 ("selinux: sidtab reverse lookup hash table")
> Reported-by: kernel test robot <lkp@...el.com>
> Signed-off-by: Paul Moore <paul@...l-moore.com>
> ---
>  security/selinux/ss/services.c |    6 ++++++
>  1 file changed, 6 insertions(+)

Merged into selinux/next.

-- 
paul moore
www.paul-moore.com

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ