From 12fe812bc3200fcacaef62e906956590ded33118 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Wed, 28 Jun 2017 11:46:43 +0200 Subject: Fix CVE-2017-1000364 by backporting the patches for rpi3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Backport of patches from upstream for 4.4 - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=v4.4.74&id=4b359430674caa2c98d0049a6941f157d2a33741 - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=v4.4.74&id=f41512c6acb71c63cf4e3bd50934365ae2a23891 - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=v4.4.74&id=1f2284fac2180d7a9442c796d9755e3ce7ab0bd9 Bug-AGL: SPEC-705 SPEC-706 Change-Id: I66fa6e271095c2319791480089a9e6f3392c51d3 Signed-off-by: Jan-Simon Möller Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9875 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Leon Anavi --- .../recipes-kernel/linux/linux-raspberrypi_4.4.bbappend | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.4.bbappend') diff --git a/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.4.bbappend b/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.4.bbappend index a2b2a42f2..d9df1a704 100644 --- a/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.4.bbappend +++ b/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.4.bbappend @@ -1,4 +1,5 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" +FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}-4.4:" LINUX_VERSION = "4.4.16" @@ -18,6 +19,13 @@ SRC_URI_append_smack = "\ file://0004-Smack-Assign-smack_known_web-label-for-kernel-thread.patch \ " +#------------------------------------------------------------------------- +# Fix CVE-2017-1000364 +SRC_URI_append = " \ + file://0001-mm-larger-stack-guard-gap-between-vmas.patch \ + file://0002-Allow-stack-to-grow-up-to-address-space-limit.patch \ + file://0003-mm-fix-new-crash-in-unmapped_area_topdown.patch \ +" do_configure_append_smack() { -- cgit 1.2.3-korg