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: <DDJQQMISWO5N.3ODI2YXU5D1Z9@google.com>
Date: Thu, 16 Oct 2025 12:21:24 +0000
From: Brendan Jackman <jackmanb@...gle.com>
To: "Kaplan, David" <David.Kaplan@....com>, Josh Poimboeuf <jpoimboe@...nel.org>
Cc: Thomas Gleixner <tglx@...utronix.de>, Borislav Petkov <bp@...en8.de>, 
	Peter Zijlstra <peterz@...radead.org>, Pawan Gupta <pawan.kumar.gupta@...ux.intel.com>, 
	Ingo Molnar <mingo@...hat.com>, Dave Hansen <dave.hansen@...ux.intel.com>, 
	"x86@...nel.org" <x86@...nel.org>, "H . Peter Anvin" <hpa@...or.com>, Alexander Graf <graf@...zon.com>, 
	Boris Ostrovsky <boris.ostrovsky@...cle.com>, 
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [RFC PATCH 00/56] Dynamic mitigations

On Tue Oct 14, 2025 at 6:06 PM UTC, David Kaplan wrote:
>> From: Josh Poimboeuf <jpoimboe@...nel.org>
>> > There are several use cases that will benefit from dynamic mitigations:
>> >
>> > Use Cases
>> > ---------
>> > 1. Runtime Policy
>> >
>> > Some workflows rely on booting a generic kernel before customizing the system.
>> > cloud-init is a popular example of this where a VM is started typically with
>> > default settings and then is customized based on a customer-provided
>> > configuration file.
>>
>> I'm not really a fan of this.  It adds complexity to some areas that are
>> already struggling with too much complexity.
>>
>> IMO this would need some REALLY strong justification, more than just
>> "hey, this makes things more convenient."
>>
>> The mitigations should be a "set it and forget it" thing.  I don't see
>> anything here which justifies the considerable maintenance burden this
>> would add for all existing and future mitigations.
>>
>
> The problem is there are environments like the one outlined where you can't just 'set it and forget it' because the kernel needs it set at boot-time, but in these environments you don't know how to configure the system until much later in boot.  So you end up running with the default settings all the time, even if you don't need them.  And the default settings can have significant performance impacts in many cases.
>
> The cloud guys on this thread may be able to offer some additional color here since I believe that's where you're most likely to have this situation.
>
> --David Kaplan

There's definitely a desire for more dynamic control at Google too,
similar to what Boris said.

Getting the config right is tricky and let's not forget it's
fundamentally a moving target as David noted. Even without dependence on
cloud-init type stuff, it's very useful to be able to change mitigations
on a timescale that's faster than we can reboot hosts. 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ