Re: [PATCH v4 0/3] Hardening perf subsystem

2024-06-15 Thread Martin Uecker
Am Freitag, dem 14.06.2024 um 12:17 +0200 schrieb Peter Zijlstra: > On Wed, Jun 12, 2024 at 04:23:31PM -0700, Kees Cook wrote: > > On Thu, Jun 13, 2024 at 12:08:21AM +0200, Peter Zijlstra wrote: > > > On Wed, Jun 12, 2024 at 12:01:19PM -0700, Kees Cook wrote: > > > > I'm happy to take patches. And

Re: [RFC] Mitigating unexpected arithmetic overflow

2024-05-12 Thread Martin Uecker
Am Sonntag, dem 12.05.2024 um 09:09 -0700 schrieb Linus Torvalds: > On Sun, 12 May 2024 at 01:03, Martin Uecker wrote: > > > > But I guess it still could be smarter. Or does it have to be a > > sanitizer because compile-time will always have too many false > > positiv

Re: [RFC] Mitigating unexpected arithmetic overflow

2024-05-12 Thread Martin Uecker
Am Mittwoch, dem 08.05.2024 um 16:47 -0700 schrieb Linus Torvalds: > On Wed, 8 May 2024 at 15:54, Kees Cook wrote: > > ... > > No, the only point where that actually failed was then when a > (non-overflowing, non-wrapping) final value was assigned to a 16-bit > field, ie the problem only ever ha