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] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.20.1801040127150.1957@nanos>
Date:   Thu, 4 Jan 2018 01:29:58 +0100 (CET)
From:   Thomas Gleixner <tglx@...utronix.de>
To:     Andi Kleen <andi@...stfloor.org>
cc:     tglx@...uxtronix.de, torvalds@...ux-foundation.org,
        gregkh@...ux-foundation.org, dwmw@...zon.co.uk,
        tim.c.chen@...ux.intel.com, linux-kernel@...r.kernel.org,
        dave.hansen@...el.com, Andi Kleen <ak@...ux.intel.com>
Subject: Re: [PATCH 10/11] retpoline/taint: Taint kernel for missing retpoline
 in compiler

On Wed, 3 Jan 2018, Andi Kleen wrote:
>  	unwind_init();
> +
> +#ifndef RETPOLINE
> +	add_taint(TAINT_NO_RETPOLINE, LOCKDEP_STILL_OK);
> +	pr_warn("No support for retpoline in kernel compiler\n");
> +	pr_warn("Kernel may be vulnerable to data leaks.\n");

That's blantantly wrong.

The kernel is not vulnerable to data leaks. The hardware is.

An that's what the CPU_BUG bit is for. If the mitigation is in place,
activate the proper feature bit like we did with PTI

Thanks,

	tglx




Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ