Fix CVE-2017-1000364 by backporting the patches for gen3
[AGL/meta-agl.git] / meta-agl-bsp / meta-rcar-gen3 / recipes-kernel / linux / linux-renesas_4.9.bbappend
index 8691532..634a912 100644 (file)
@@ -6,3 +6,13 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
 SRC_URI_append_smack = "\
        file://0004-Smack-Assign-smack_known_web-label-for-kernel-thread.patch \
 "
+
+
+#-------------------------------------------------------------------------
+# Fix for CVE-2017-1000364 by backporting the upstream patches.
+
+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 \
+"