From 834b16ca1898968af62169bfe62b8cd6a5cbe8d7 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Wed, 28 Jun 2017 16:48:27 +0200 Subject: Fix CVE-2017-1000364 for dragonboard-410c by backporting the patches from upstream kernel v4.9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Backport of patches from upstream for 4.9 - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.9.y&id=cfc0eb403816c5c4f9667d959de5e22789b5421e - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.9.y&id=5d10ad6297260e9b85e7645ee544a6115bb229e4 - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.9.y&id=ce7fe8595902c3f03ef528c2dc1928b3f4b67fcf Bug-AGL: SPEC-705 Change-Id: I402591fa0cba7c6612050f6cf914ae0607df78ec Signed-off-by: Jan-Simon Möller Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9901 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account Reviewed-by: Kotaro Hashimoto --- .../recipes-kernel/linux/linux-linaro-qcomlt_4.9.bbappend | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'meta-agl-bsp/meta-qcom/recipes-kernel/linux/linux-linaro-qcomlt_4.9.bbappend') diff --git a/meta-agl-bsp/meta-qcom/recipes-kernel/linux/linux-linaro-qcomlt_4.9.bbappend b/meta-agl-bsp/meta-qcom/recipes-kernel/linux/linux-linaro-qcomlt_4.9.bbappend index 854b7592f..80fe23b72 100644 --- a/meta-agl-bsp/meta-qcom/recipes-kernel/linux/linux-linaro-qcomlt_4.9.bbappend +++ b/meta-agl-bsp/meta-qcom/recipes-kernel/linux/linux-linaro-qcomlt_4.9.bbappend @@ -5,6 +5,13 @@ SRC_URI_append_smack = "\ file://0004-Smack-Assign-smack_known_web-label-for-kernel-thread.patch \ " +# Fix CVE-2017-1000364 by backporting the patches from upstream for 4.9 +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 \ +" + # Extra configuration options SRC_URI += "file://fanotify.cfg \ file://uinput.cfg \ -- cgit 1.2.3-korg