On Fri, Aug 14, 2020 at 7:58 AM Cyril Hrubis wrote:
>
> Hi!
> > > do_debug is a bit of a red herring here. ptrace should not be able to
> > > put a breakpoint on a kernel address, period. I would just pick a
> > > fixed address that's in the kernel text range or even just in the
> > > pre-KASLR
Hi!
> > do_debug is a bit of a red herring here. ptrace should not be able to
> > put a breakpoint on a kernel address, period. I would just pick a
> > fixed address that's in the kernel text range or even just in the
> > pre-KASLR text range and make sure it gets rejected. Maybe try a few
> >
Hi!
> do_debug is a bit of a red herring here. ptrace should not be able to
> put a breakpoint on a kernel address, period. I would just pick a
> fixed address that's in the kernel text range or even just in the
> pre-KASLR text range and make sure it gets rejected. Maybe try a few
> different
On Fri, 19 Jun 2020 at 01:32, Thomas Gleixner wrote:
>
> Cyril Hrubis writes:
> > What is does is to write:
> >
> > (void*)1 to u_debugreg[0]
> > (void*)1 to u_debugreg[7]
> > do_debug addr to u_debugreg[0]
> >
> > Looking at the kernel code the write to register 7 enables the
Cyril Hrubis writes:
> What is does is to write:
>
> (void*)1 to u_debugreg[0]
> (void*)1 to u_debugreg[7]
> do_debug addr to u_debugreg[0]
>
> Looking at the kernel code the write to register 7 enables the breakpoints and
> what we attempt here is to change an invalid address
On Wed, Jun 17, 2020 at 6:17 AM Cyril Hrubis wrote:
>
> Hi!
> > > >> FYI, we noticed the following commit (built with gcc-9):
> > > >>
> > > >> commit: 2bbc68f8373c0631ebf137f376fbea00e8086be7 ("x86/entry: Convert
> > > >> Debug exception to IDTENTRY_DB")
> > > >>
Hi!
> > >> FYI, we noticed the following commit (built with gcc-9):
> > >>
> > >> commit: 2bbc68f8373c0631ebf137f376fbea00e8086be7 ("x86/entry: Convert
> > >> Debug exception to IDTENTRY_DB")
> > >> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
> > >
> > > Is the head
7 matches
Mail list logo