Re: Does CONFIG_HARDENED_USERCOPY break /dev/mem?

2017-11-23 Thread Michael Holzheu
Am Wed, 22 Nov 2017 09:43:19 -0800 schrieb Kees Cook : > On Wed, Nov 22, 2017 at 1:28 AM, Michael Holzheu > wrote: > > Am Mon, 13 Nov 2017 11:19:38 +0100 > > schrieb Michael Holzheu : > > > >> Am Fri, 10 Nov 2017 10:46:49 -0800 > >> schrieb Kees Cook : > >> > >> > On Fri, Nov 10, 2017 at 7:45 AM,

Re: Does CONFIG_HARDENED_USERCOPY break /dev/mem?

2017-11-22 Thread Kees Cook
On Wed, Nov 22, 2017 at 9:43 AM, Kees Cook wrote: > On Wed, Nov 22, 2017 at 1:28 AM, Michael Holzheu > wrote: >> So what's your plan now? How will you fix this issue? > > I think the best plan here would be to use the Kconfig "imply > STRICT_DEVMEM" in HARDENED_USERCOPY. That would make STRICT_DE

Re: Does CONFIG_HARDENED_USERCOPY break /dev/mem?

2017-11-22 Thread Kees Cook
On Wed, Nov 22, 2017 at 1:28 AM, Michael Holzheu wrote: > Am Mon, 13 Nov 2017 11:19:38 +0100 > schrieb Michael Holzheu : > >> Am Fri, 10 Nov 2017 10:46:49 -0800 >> schrieb Kees Cook : >> >> > On Fri, Nov 10, 2017 at 7:45 AM, Michael Holzheu >> > wrote: >> > > Hello Kees, >> > > >> > > When I try

Re: Does CONFIG_HARDENED_USERCOPY break /dev/mem?

2017-11-22 Thread Michael Holzheu
Am Mon, 13 Nov 2017 11:19:38 +0100 schrieb Michael Holzheu : > Am Fri, 10 Nov 2017 10:46:49 -0800 > schrieb Kees Cook : > > > On Fri, Nov 10, 2017 at 7:45 AM, Michael Holzheu > > wrote: > > > Hello Kees, > > > > > > When I try to run the crash tool on my s390 live system I get a kernel > > > pa

Re: Does CONFIG_HARDENED_USERCOPY break /dev/mem?

2017-11-13 Thread Michael Holzheu
Am Fri, 10 Nov 2017 10:46:49 -0800 schrieb Kees Cook : > On Fri, Nov 10, 2017 at 7:45 AM, Michael Holzheu > wrote: > > Hello Kees, > > > > When I try to run the crash tool on my s390 live system I get a kernel panic > > when reading memory within the kernel image: > > > > # uname -a > >Linux

Re: Does CONFIG_HARDENED_USERCOPY break /dev/mem?

2017-11-10 Thread Kees Cook
On Fri, Nov 10, 2017 at 7:45 AM, Michael Holzheu wrote: > Hello Kees, > > When I try to run the crash tool on my s390 live system I get a kernel panic > when reading memory within the kernel image: > > # uname -a >Linux r3545011 4.14.0-rc8-00066-g1c9dbd4615fd #45 SMP PREEMPT Fri Nov 10 > 16:

Does CONFIG_HARDENED_USERCOPY break /dev/mem?

2017-11-10 Thread Michael Holzheu
Hello Kees, When I try to run the crash tool on my s390 live system I get a kernel panic when reading memory within the kernel image: # uname -a Linux r3545011 4.14.0-rc8-00066-g1c9dbd4615fd #45 SMP PREEMPT Fri Nov 10 16:16:22 CET 2017 s390x s390x s390x GNU/Linux # crash /boot/vmlinux-devel