linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PULL] lkdtm update (next)
@ 2016-07-07 18:14 Kees Cook
  2016-07-12 18:42 ` Kees Cook
  2016-07-14  3:00 ` Greg KH
  0 siblings, 2 replies; 13+ messages in thread
From: Kees Cook @ 2016-07-07 18:14 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel

Hi,

Please pull these lkdtm changes for next.

Thanks!

-Kees

The following changes since commit e2402b1d214e5d50e807773563d590115a161f45:

  nvmem: imx-ocotp: Fix assignment warning. (2016-06-25 07:42:55 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/lkdtm-next

for you to fetch changes up to c479e3fd88703c4b1049d7102a3fa8c6b3affef5:

  lkdtm: use struct arrays instead of enums (2016-07-07 11:09:27 -0700)

----------------------------------------------------------------
refactoring for multiple source files and better layout

----------------------------------------------------------------
Kees Cook (12):
      lkdtm: add usercopy test for blocking kernel text
      lkdtm: drop "alloc_size" parameter
      lkdtm: split usercopy tests to separate file
      lkdtm: split memory permissions tests to separate file
      lkdtm: split heap corruption tests to separate file
      lkdtm: split remaining logic bug tests to separate file
      lkdtm: remove intentional off-by-one array access
      lkdtm: rename "count" to "crash_count"
      lkdtm: rename globals for clarity
      lkdtm: reorganize module paramaters
      lkdtm: move jprobe entry points to start of source
      lkdtm: use struct arrays instead of enums

 drivers/misc/Makefile         |    4 +
 drivers/misc/lkdtm.h          |   51 ++
 drivers/misc/lkdtm_bugs.c     |  152 +++++
 drivers/misc/lkdtm_core.c     | 1246 ++++++++---------------------------------
 drivers/misc/lkdtm_heap.c     |  146 +++++
 drivers/misc/lkdtm_perms.c    |  203 +++++++
 drivers/misc/lkdtm_usercopy.c |  315 +++++++++++
 7 files changed, 1106 insertions(+), 1011 deletions(-)
 create mode 100644 drivers/misc/lkdtm_bugs.c
 create mode 100644 drivers/misc/lkdtm_heap.c
 create mode 100644 drivers/misc/lkdtm_perms.c
 create mode 100644 drivers/misc/lkdtm_usercopy.c

-- 
Kees Cook
Chrome OS & Brillo Security

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PULL] lkdtm update (next)
  2016-07-07 18:14 [PULL] lkdtm update (next) Kees Cook
@ 2016-07-12 18:42 ` Kees Cook
  2016-07-13  1:00   ` Greg KH
  2016-07-14  3:00 ` Greg KH
  1 sibling, 1 reply; 13+ messages in thread
From: Kees Cook @ 2016-07-12 18:42 UTC (permalink / raw)
  To: Greg KH; +Cc: LKML

On Thu, Jul 7, 2016 at 2:14 PM, Kees Cook <keescook@chromium.org> wrote:
> Hi,
>
> Please pull these lkdtm changes for next.

Friendly ping... I'd like this refactor to make it in time for the 4.8
merge window. :)

-Kees

>
> Thanks!
>
> -Kees
>
> The following changes since commit e2402b1d214e5d50e807773563d590115a161f45:
>
>   nvmem: imx-ocotp: Fix assignment warning. (2016-06-25 07:42:55 -0700)
>
> are available in the git repository at:
>
>   git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/lkdtm-next
>
> for you to fetch changes up to c479e3fd88703c4b1049d7102a3fa8c6b3affef5:
>
>   lkdtm: use struct arrays instead of enums (2016-07-07 11:09:27 -0700)
>
> ----------------------------------------------------------------
> refactoring for multiple source files and better layout
>
> ----------------------------------------------------------------
> Kees Cook (12):
>       lkdtm: add usercopy test for blocking kernel text
>       lkdtm: drop "alloc_size" parameter
>       lkdtm: split usercopy tests to separate file
>       lkdtm: split memory permissions tests to separate file
>       lkdtm: split heap corruption tests to separate file
>       lkdtm: split remaining logic bug tests to separate file
>       lkdtm: remove intentional off-by-one array access
>       lkdtm: rename "count" to "crash_count"
>       lkdtm: rename globals for clarity
>       lkdtm: reorganize module paramaters
>       lkdtm: move jprobe entry points to start of source
>       lkdtm: use struct arrays instead of enums
>
>  drivers/misc/Makefile         |    4 +
>  drivers/misc/lkdtm.h          |   51 ++
>  drivers/misc/lkdtm_bugs.c     |  152 +++++
>  drivers/misc/lkdtm_core.c     | 1246 ++++++++---------------------------------
>  drivers/misc/lkdtm_heap.c     |  146 +++++
>  drivers/misc/lkdtm_perms.c    |  203 +++++++
>  drivers/misc/lkdtm_usercopy.c |  315 +++++++++++
>  7 files changed, 1106 insertions(+), 1011 deletions(-)
>  create mode 100644 drivers/misc/lkdtm_bugs.c
>  create mode 100644 drivers/misc/lkdtm_heap.c
>  create mode 100644 drivers/misc/lkdtm_perms.c
>  create mode 100644 drivers/misc/lkdtm_usercopy.c
>
> --
> Kees Cook
> Chrome OS & Brillo Security



-- 
Kees Cook
Chrome OS & Brillo Security

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PULL] lkdtm update (next)
  2016-07-12 18:42 ` Kees Cook
@ 2016-07-13  1:00   ` Greg KH
  2016-07-13  3:03     ` Kees Cook
  0 siblings, 1 reply; 13+ messages in thread
From: Greg KH @ 2016-07-13  1:00 UTC (permalink / raw)
  To: Kees Cook; +Cc: LKML

On Tue, Jul 12, 2016 at 02:42:22PM -0400, Kees Cook wrote:
> On Thu, Jul 7, 2016 at 2:14 PM, Kees Cook <keescook@chromium.org> wrote:
> > Hi,
> >
> > Please pull these lkdtm changes for next.
> 
> Friendly ping... I'd like this refactor to make it in time for the 4.8
> merge window. :)

Sorry, was on vacation last week, and am at LinuxCon Japan this week,
will get to it in a day or so.  Don't worry, it will make 4.8 :)

greg k-h

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PULL] lkdtm update (next)
  2016-07-13  1:00   ` Greg KH
@ 2016-07-13  3:03     ` Kees Cook
  0 siblings, 0 replies; 13+ messages in thread
From: Kees Cook @ 2016-07-13  3:03 UTC (permalink / raw)
  To: Greg KH; +Cc: LKML

On Tue, Jul 12, 2016 at 9:00 PM, Greg KH <gregkh@linuxfoundation.org> wrote:
> On Tue, Jul 12, 2016 at 02:42:22PM -0400, Kees Cook wrote:
>> On Thu, Jul 7, 2016 at 2:14 PM, Kees Cook <keescook@chromium.org> wrote:
>> > Hi,
>> >
>> > Please pull these lkdtm changes for next.
>>
>> Friendly ping... I'd like this refactor to make it in time for the 4.8
>> merge window. :)
>
> Sorry, was on vacation last week, and am at LinuxCon Japan this week,
> will get to it in a day or so.  Don't worry, it will make 4.8 :)

Awesome, thanks!

-Kees

-- 
Kees Cook
Chrome OS & Brillo Security

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PULL] lkdtm update (next)
  2016-07-07 18:14 [PULL] lkdtm update (next) Kees Cook
  2016-07-12 18:42 ` Kees Cook
@ 2016-07-14  3:00 ` Greg KH
  1 sibling, 0 replies; 13+ messages in thread
From: Greg KH @ 2016-07-14  3:00 UTC (permalink / raw)
  To: Kees Cook; +Cc: linux-kernel

On Thu, Jul 07, 2016 at 11:14:35AM -0700, Kees Cook wrote:
> Hi,
> 
> Please pull these lkdtm changes for next.
> 
> Thanks!
> 
> -Kees
> 
> The following changes since commit e2402b1d214e5d50e807773563d590115a161f45:
> 
>   nvmem: imx-ocotp: Fix assignment warning. (2016-06-25 07:42:55 -0700)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/lkdtm-next

Pulled and pushed out, sorry for the delay.

greg k-h

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PULL] lkdtm update (next)
  2016-07-15 23:16 Kees Cook
@ 2016-07-16 23:30 ` Greg KH
  0 siblings, 0 replies; 13+ messages in thread
From: Greg KH @ 2016-07-16 23:30 UTC (permalink / raw)
  To: Kees Cook; +Cc: linux-kernel, Arnd Bergmann

On Fri, Jul 15, 2016 at 04:16:19PM -0700, Kees Cook wrote:
> Hi,
> 
> Please pull these lkdtm fixes for next.
> 
> Thanks!
> 
> -Kees
> 
> The following changes since commit 80f76319634fc62befd440b328042dbd54e3b6f8:
> 
>   Merge tag 'stm-for-greg-20160714' of git://git.kernel.org/pub/scm/linux/kernel/git/ash/stm into char-misc-next (2016-07-15 14:19:11 +0900)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/lkdtm-next

Pulled and pushed out, thanks.

greg k-h

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [PULL] lkdtm update (next)
@ 2016-07-15 23:16 Kees Cook
  2016-07-16 23:30 ` Greg KH
  0 siblings, 1 reply; 13+ messages in thread
From: Kees Cook @ 2016-07-15 23:16 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel, Arnd Bergmann

Hi,

Please pull these lkdtm fixes for next.

Thanks!

-Kees

The following changes since commit 80f76319634fc62befd440b328042dbd54e3b6f8:

  Merge tag 'stm-for-greg-20160714' of git://git.kernel.org/pub/scm/linux/kernel/git/ash/stm into char-misc-next (2016-07-15 14:19:11 +0900)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/lkdtm-next

for you to fetch changes up to 6d2e91a662256fd88ec0505567a59d21094ed415:

  lkdtm: silence warnings about function declarations (2016-07-15 16:14:45 -0700)

----------------------------------------------------------------
fixes for lkdtm build warnings

----------------------------------------------------------------
Arnd Bergmann (1):
      lkdtm: hide unused functions

Kees Cook (1):
      lkdtm: silence warnings about function declarations

 drivers/misc/lkdtm.h          |  5 ++-
 drivers/misc/lkdtm_bugs.c     |  6 +---
 drivers/misc/lkdtm_core.c     | 72 ++++++++++++++++++++++---------------------
 drivers/misc/lkdtm_heap.c     |  6 +---
 drivers/misc/lkdtm_perms.c    |  6 +---
 drivers/misc/lkdtm_rodata.c   |  2 +-
 drivers/misc/lkdtm_usercopy.c |  4 +--
 7 files changed, 46 insertions(+), 55 deletions(-)

-- 
Kees Cook
Brillo & Chrome OS Security

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PULL] lkdtm update (next)
  2016-06-11  0:38   ` Kees Cook
@ 2016-06-11  5:09     ` Greg KH
  0 siblings, 0 replies; 13+ messages in thread
From: Greg KH @ 2016-06-11  5:09 UTC (permalink / raw)
  To: Kees Cook; +Cc: LKML

On Fri, Jun 10, 2016 at 05:38:06PM -0700, Kees Cook wrote:
> On Fri, Jun 10, 2016 at 5:00 PM, Greg KH <gregkh@linuxfoundation.org> wrote:
> > On Fri, Jun 10, 2016 at 04:02:44PM -0700, Kees Cook wrote:
> >> Hi,
> >>
> >> Please pull these lkdtm changes for next.
> >
> > These are all for 4.8-rc1 inclusion, right?  Not bugfixes for 4.7-final?
> 
> Yes, that's correct. Thanks!

Great, now pulled, thanks.

greg k-h

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PULL] lkdtm update (next)
  2016-06-11  0:00 ` Greg KH
@ 2016-06-11  0:38   ` Kees Cook
  2016-06-11  5:09     ` Greg KH
  0 siblings, 1 reply; 13+ messages in thread
From: Kees Cook @ 2016-06-11  0:38 UTC (permalink / raw)
  To: Greg KH; +Cc: LKML

On Fri, Jun 10, 2016 at 5:00 PM, Greg KH <gregkh@linuxfoundation.org> wrote:
> On Fri, Jun 10, 2016 at 04:02:44PM -0700, Kees Cook wrote:
>> Hi,
>>
>> Please pull these lkdtm changes for next.
>
> These are all for 4.8-rc1 inclusion, right?  Not bugfixes for 4.7-final?

Yes, that's correct. Thanks!

-Kees

-- 
Kees Cook
Chrome OS & Brillo Security

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PULL] lkdtm update (next)
  2016-06-10 23:02 Kees Cook
@ 2016-06-11  0:00 ` Greg KH
  2016-06-11  0:38   ` Kees Cook
  0 siblings, 1 reply; 13+ messages in thread
From: Greg KH @ 2016-06-11  0:00 UTC (permalink / raw)
  To: Kees Cook; +Cc: linux-kernel

On Fri, Jun 10, 2016 at 04:02:44PM -0700, Kees Cook wrote:
> Hi,
> 
> Please pull these lkdtm changes for next.

These are all for 4.8-rc1 inclusion, right?  Not bugfixes for 4.7-final?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [PULL] lkdtm update (next)
@ 2016-06-10 23:02 Kees Cook
  2016-06-11  0:00 ` Greg KH
  0 siblings, 1 reply; 13+ messages in thread
From: Kees Cook @ 2016-06-10 23:02 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel, Kees Cook

Hi,

Please pull these lkdtm changes for next.

Thanks!

-Kees

The following changes since commit 3d0f0b6a5520878305589411b8d434fe088e4f21:

  Merge branch 'for-linus-4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs (2016-06-10 14:13:27 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/lkdtm-next

for you to fetch changes up to b54845276a969b72daa2dee1afe379847a639478:

  lkdtm: split atomic test into over and underflow (2016-06-10 15:57:51 -0700)

----------------------------------------------------------------
Rearranged build to be able to deal with unusual executable sections (i.e.
functions in rodata).

New tests for prior memory protections (EXEC_RODATA), new tests for upcoming
kernel self-protections (USERCOPY_HEAP_SIZE_TO, USERCOPY_HEAP_SIZE_FROM,
USERCOPY_HEAP_FLAG_TO, USERCOPY_HEAP_FLAG_FROM, USERCOPY_STACK_FRAME_TO,
USERCOPY_STACK_FRAME_FROM, USERCOPY_STACK_BEYOND), and updated tests
(ATOMIC_UNDERFLOW, ATOMIC_OVERFLOW).

----------------------------------------------------------------
Kees Cook (5):
      lkdtm: split build into multiple source files
      lkdtm: clean up after rename
      lkdtm: add function for testing .rodata section
      lkdtm: add usercopy tests
      lkdtm: split atomic test into over and underflow

 MAINTAINERS                            |   2 +-
 drivers/misc/Makefile                  |  10 +
 drivers/misc/lkdtm.h                   |   6 +
 drivers/misc/{lkdtm.c => lkdtm_core.c} | 333 +++++++++++++++++++++++++++++++--
 drivers/misc/lkdtm_rodata.c            |  10 +
 5 files changed, 341 insertions(+), 20 deletions(-)
 create mode 100644 drivers/misc/lkdtm.h
 rename drivers/misc/{lkdtm.c => lkdtm_core.c} (72%)
 create mode 100644 drivers/misc/lkdtm_rodata.c

-- 
Kees Cook
Chrome OS & Brillo Security

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PULL] lkdtm update (next)
  2016-03-01 22:31 Kees Cook
@ 2016-03-02  0:53 ` Greg KH
  0 siblings, 0 replies; 13+ messages in thread
From: Greg KH @ 2016-03-02  0:53 UTC (permalink / raw)
  To: Kees Cook; +Cc: linux-kernel, David Windsor, Laura Abbott, kernel-hardening

On Tue, Mar 01, 2016 at 02:31:17PM -0800, Kees Cook wrote:
> Hi,
> 
> Please pull these lkdtm changes for next.
> 
> Thanks!
> 
> -Kees
> 
> The following changes since commit 7d46af2084eabe73ce4dbf06072fded34b58b0c7:
> 
>   Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc (2016-03-01 08:57:34 -0800)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/lkdtm-next

Pulled and pushed out, thanks.

greg k-h

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [PULL] lkdtm update (next)
@ 2016-03-01 22:31 Kees Cook
  2016-03-02  0:53 ` Greg KH
  0 siblings, 1 reply; 13+ messages in thread
From: Kees Cook @ 2016-03-01 22:31 UTC (permalink / raw)
  To: Greg KH
  Cc: linux-kernel, David Windsor, Kees Cook, Laura Abbott, kernel-hardening

Hi,

Please pull these lkdtm changes for next.

Thanks!

-Kees

The following changes since commit 7d46af2084eabe73ce4dbf06072fded34b58b0c7:

  Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc (2016-03-01 08:57:34 -0800)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/lkdtm-next

for you to fetch changes up to 7c0ae5be821c1b6a700c5506de9b62e95f60df3c:

  lkdtm: improve use-after-free tests (2016-03-01 14:29:16 -0800)

----------------------------------------------------------------
Become maintainer, add hardening tests for use-after-free and atomic wrapping.

----------------------------------------------------------------
David Windsor (1):
      lkdtm: add test for atomic_t underflow/overflow

Kees Cook (2):
      MAINTAINERS: add myself as lkdtm maintainer
      lkdtm: improve use-after-free tests

Laura Abbott (3):
      lkdtm: Add READ_AFTER_FREE test
      lkdtm: Update WRITE_AFTER_FREE test
      lkdtm: Add read/write after free tests for buddy memory

 MAINTAINERS          |   5 +++
 drivers/misc/lkdtm.c | 122 +++++++++++++++++++++++++++++++++++++++++++++++++--
 2 files changed, 124 insertions(+), 3 deletions(-)

-- 
Kees Cook
Chrome OS & Brillo Security

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-07-16 23:30 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-07 18:14 [PULL] lkdtm update (next) Kees Cook
2016-07-12 18:42 ` Kees Cook
2016-07-13  1:00   ` Greg KH
2016-07-13  3:03     ` Kees Cook
2016-07-14  3:00 ` Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2016-07-15 23:16 Kees Cook
2016-07-16 23:30 ` Greg KH
2016-06-10 23:02 Kees Cook
2016-06-11  0:00 ` Greg KH
2016-06-11  0:38   ` Kees Cook
2016-06-11  5:09     ` Greg KH
2016-03-01 22:31 Kees Cook
2016-03-02  0:53 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).