Re: [PATCH v2] powerpc/rtas_flash: allow user copy to flash block cache objects

2023-08-16 Thread Michael Ellerman
On Thu, 10 Aug 2023 22:37:55 -0500, Nathan Lynch wrote: > With hardened usercopy enabled (CONFIG_HARDENED_USERCOPY=y), using the > /proc/powerpc/rtas/firmware_update interface to prepare a system > firmware update yields a BUG(): > > kernel BUG at mm/usercopy.c:102! > Oops: Exception in kernel mod

Re: [PATCH v2] powerpc/rtas_flash: allow user copy to flash block cache objects

2023-08-16 Thread Kees Cook
On Thu, Aug 10, 2023 at 10:37:55PM -0500, Nathan Lynch via B4 Relay wrote: > From: Nathan Lynch > > With hardened usercopy enabled (CONFIG_HARDENED_USERCOPY=y), using the > /proc/powerpc/rtas/firmware_update interface to prepare a system > firmware update yields a BUG(): > > kernel BUG at mm/use