[PATCH] powerpc/pseries: Whitelist dtl slub object for copying to userspace

2024-06-14 Thread Anjali K
Reading the dispatch trace log from /sys/kernel/debug/powerpc/dtl/cpu-* results in a BUG() when the config CONFIG_HARDENED_USERCOPY is enabled as shown below. kernel BUG at mm/usercopy.c:102! Oops: Exception in kernel mode, sig: 5 [#1] LE PAGE_SIZE=64K MMU=Radix SMP NR_CPUS=2048 NUMA p

Re: [PATCH net-next] netdevice: define and allocate &net_device _properly_

2024-06-14 Thread Breno Leitao
On Wed, May 08, 2024 at 11:13:21AM +0200, Alexander Lobakin wrote: > From: Jakub Kicinski > Date: Tue, 7 May 2024 11:10:35 -0700 > > > On Tue, 7 May 2024 14:39:37 +0200 Alexander Lobakin wrote: > >> There are several instances of the structure embedded into other > >> structures, but also there'

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

2024-06-14 Thread 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 for this bikeshed, this would be better > > > named under the size_*() hel