Re: [PULL] lkdtm update (next)
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
[PULL] lkdtm update (next)
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
Re: [PULL] lkdtm update (next)
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
Re: [PULL] lkdtm update (next)
On Tue, Jul 12, 2016 at 9:00 PM, Greg KH 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 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
Re: [PULL] lkdtm update (next)
On Tue, Jul 12, 2016 at 02:42:22PM -0400, Kees Cook wrote: > On Thu, Jul 7, 2016 at 2:14 PM, Kees Cook 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
Re: [PULL] lkdtm update (next)
On Thu, Jul 7, 2016 at 2:14 PM, Kees Cook 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
[PULL] lkdtm update (next)
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
Re: [PULL] lkdtm update (next)
On Fri, Jun 10, 2016 at 05:38:06PM -0700, Kees Cook wrote: > On Fri, Jun 10, 2016 at 5:00 PM, Greg KH 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
Re: [PULL] lkdtm update (next)
On Fri, Jun 10, 2016 at 5:00 PM, Greg KH 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
Re: [PULL] lkdtm update (next)
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
[PULL] lkdtm update (next)
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
Re: [PULL] lkdtm update (next)
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
[PULL] lkdtm update (next)
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