From 43e4a7035d2ad474ebe407cce2aba8d17b044996 Mon Sep 17 00:00:00 2001 From: Tad Date: Tue, 31 Oct 2017 13:44:26 -0400 Subject: [PATCH] Patch 30 more CVEs --- .../CVE-2016-3137/ANY/{1.patch => 1.patch.disabled} | 0 Patches/Linux_CVEs/Fix.sh | 1 + .../CVE_Patchers/android_kernel_amazon_hdx-common.sh | 4 ++++ .../CVE_Patchers/android_kernel_google_marlin.sh | 7 +++++++ .../CVE_Patchers/android_kernel_htc_flounder.sh | 2 ++ .../CVE_Patchers/android_kernel_lge_bullhead.sh | 3 +++ .../CVE_Patchers/android_kernel_lge_hammerhead.sh | 2 ++ .../LineageOS-14.1/CVE_Patchers/android_kernel_lge_mako.sh | 1 + .../CVE_Patchers/android_kernel_moto_shamu.sh | 4 ++++ .../CVE_Patchers/android_kernel_motorola_msm8916.sh | 2 ++ .../CVE_Patchers/android_kernel_motorola_msm8992.sh | 3 +++ .../CVE_Patchers/android_kernel_nextbit_msm8992.sh | 1 + .../CVE_Patchers/android_kernel_samsung_smdk4412.sh | 1 + 13 files changed, 31 insertions(+) rename Patches/Linux_CVEs/CVE-2016-3137/ANY/{1.patch => 1.patch.disabled} (100%) diff --git a/Patches/Linux_CVEs/CVE-2016-3137/ANY/1.patch b/Patches/Linux_CVEs/CVE-2016-3137/ANY/1.patch.disabled similarity index 100% rename from Patches/Linux_CVEs/CVE-2016-3137/ANY/1.patch rename to Patches/Linux_CVEs/CVE-2016-3137/ANY/1.patch.disabled diff --git a/Patches/Linux_CVEs/Fix.sh b/Patches/Linux_CVEs/Fix.sh index 6ad70c74..9228125e 100644 --- a/Patches/Linux_CVEs/Fix.sh +++ b/Patches/Linux_CVEs/Fix.sh @@ -12,3 +12,4 @@ mv CVE-2017-0794/3.10/0.patch CVE-2017-0794/3.10/0.patch.disabled mv CVE-2017-5669/ANY/1.patch CVE-2017-5669/ANY/1.patch.dupe mv CVE-2017-6074/ANY/1.patch CVE-2017-6074/ANY/1.patch.dupe mv CVE-2017-7371/ANY/1.patch CVE-2017-7371/ANY/1.patch.dupe +mv CVE-2016-3137/ANY/1.patch CVE-2016-3137/ANY/1.patch.dupe diff --git a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_amazon_hdx-common.sh b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_amazon_hdx-common.sh index 659f114b..7bff32fd 100644 --- a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_amazon_hdx-common.sh +++ b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_amazon_hdx-common.sh @@ -3,6 +3,7 @@ cd $base"kernel/amazon/hdx-common" git apply $cvePatches/CVE-2012-6704/ANY/0.patch git apply $cvePatches/CVE-2014-1739/ANY/0.patch git apply $cvePatches/CVE-2014-4656/ANY/0.patch +git apply $cvePatches/CVE-2014-8709/ANY/0.patch git apply $cvePatches/CVE-2014-9420/ANY/0.patch git apply $cvePatches/CVE-2014-9781/ANY/0.patch git apply $cvePatches/CVE-2014-9876/3.4/1.patch @@ -22,7 +23,9 @@ git apply $cvePatches/CVE-2016-6753/ANY/0.patch git apply $cvePatches/CVE-2016-8404/ANY/0.patch git apply $cvePatches/CVE-2016-8417/ANY/0.patch git apply $cvePatches/CVE-2016-8444/ANY/0.patch +git apply $cvePatches/CVE-2016-8650/ANY/0.patch git apply $cvePatches/CVE-2016-9604/ANY/0.patch +git apply $cvePatches/CVE-2016-9793/ANY/0.patch git apply $cvePatches/CVE-2017-0403/ANY/0.patch git apply $cvePatches/CVE-2017-0404/ANY/0.patch git apply $cvePatches/CVE-2017-0611/ANY/0.patch @@ -37,6 +40,7 @@ git apply $cvePatches/CVE-2017-15265/ANY/0.patch git apply $cvePatches/CVE-2017-2671/ANY/0.patch git apply $cvePatches/CVE-2017-5970/ANY/0.patch git apply $cvePatches/CVE-2017-6074/ANY/0.patch +git apply $cvePatches/CVE-2017-6345/ANY/0.patch git apply $cvePatches/CVE-2017-6348/ANY/0.patch git apply $cvePatches/CVE-2017-6951/ANY/0.patch git apply $cvePatches/CVE-2017-7487/ANY/0.patch diff --git a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_google_marlin.sh b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_google_marlin.sh index 20bcd2a8..038f0cd8 100644 --- a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_google_marlin.sh +++ b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_google_marlin.sh @@ -4,6 +4,7 @@ git apply $cvePatches/CVE-2014-9900/ANY/0.patch git apply $cvePatches/CVE-2015-2041/ANY/0.patch git apply $cvePatches/CVE-2015-7515/ANY/0.patch git apply $cvePatches/CVE-2015-8966/ANY/0.patch +git apply $cvePatches/CVE-2016-10088/ANY/0.patch git apply $cvePatches/CVE-2016-10153/ANY/0.patch git apply $cvePatches/CVE-2016-10231/ANY/1.patch git apply $cvePatches/CVE-2016-2187/ANY/0.patch @@ -11,6 +12,7 @@ git apply $cvePatches/CVE-2016-2544/ANY/0.patch git apply $cvePatches/CVE-2016-2549/ANY/0.patch git apply $cvePatches/CVE-2016-2847/ANY/0.patch git apply $cvePatches/CVE-2016-3136/ANY/0.patch +git apply $cvePatches/CVE-2016-3137/ANY/0.patch git apply $cvePatches/CVE-2016-3140/ANY/0.patch git apply $cvePatches/CVE-2016-3156/ANY/0.patch git apply $cvePatches/CVE-2016-3865/ANY/0.patch @@ -27,6 +29,7 @@ git apply $cvePatches/CVE-2016-6672/ANY/0.patch git apply $cvePatches/CVE-2016-7042/ANY/0.patch git apply $cvePatches/CVE-2016-8418/ANY/0.patch git apply $cvePatches/CVE-2016-8483/3.18/0.patch +git apply $cvePatches/CVE-2016-9191/ANY/0.patch git apply $cvePatches/CVE-2016-9604/ANY/0.patch git apply $cvePatches/CVE-2017-0510/3.18/1.patch git apply $cvePatches/CVE-2017-0537/ANY/0.patch @@ -42,8 +45,11 @@ git apply $cvePatches/CVE-2017-12146/ANY/0.patch git apply $cvePatches/CVE-2017-15265/ANY/0.patch git apply $cvePatches/CVE-2017-2671/ANY/0.patch git apply $cvePatches/CVE-2017-5669/ANY/0.patch +git apply $cvePatches/CVE-2017-5986/ANY/0.patch +git apply $cvePatches/CVE-2017-6345/ANY/0.patch git apply $cvePatches/CVE-2017-6346/3.18/1.patch git apply $cvePatches/CVE-2017-6348/ANY/0.patch +git apply $cvePatches/CVE-2017-6353/ANY/0.patch git apply $cvePatches/CVE-2017-6951/ANY/0.patch git apply $cvePatches/CVE-2017-7371/ANY/0.patch git apply $cvePatches/CVE-2017-7372/ANY/0.patch @@ -53,6 +59,7 @@ git apply $cvePatches/CVE-2017-7616/ANY/0.patch git apply $cvePatches/CVE-2017-7618/ANY/0.patch git apply $cvePatches/CVE-2017-8247/ANY/0.patch git apply $cvePatches/CVE-2017-8280/ANY/0.patch +git apply $cvePatches/CVE-2017-9075/ANY/0.patch git apply $cvePatches/CVE-2017-9242/ANY/0.patch git apply $cvePatches/CVE-2017-9676/ANY/0.patch git apply $cvePatches/CVE-2017-9686/3.18/0.patch diff --git a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_htc_flounder.sh b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_htc_flounder.sh index f12abaaf..507da970 100644 --- a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_htc_flounder.sh +++ b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_htc_flounder.sh @@ -8,6 +8,7 @@ git apply $cvePatches/CVE-2015-8944/ANY/0.patch git apply $cvePatches/CVE-2016-2475/ANY/0.patch git apply $cvePatches/CVE-2016-8453/ANY/0.patch git apply $cvePatches/CVE-2016-8464/3.10/0.patch +git apply $cvePatches/CVE-2016-8650/ANY/0.patch git apply $cvePatches/CVE-2016-9604/ANY/0.patch git apply $cvePatches/CVE-2017-0449/ANY/0.patch git apply $cvePatches/CVE-2017-0537/ANY/0.patch @@ -18,6 +19,7 @@ git apply $cvePatches/CVE-2017-15265/ANY/0.patch git apply $cvePatches/CVE-2017-2671/ANY/0.patch git apply $cvePatches/CVE-2017-5669/ANY/0.patch git apply $cvePatches/CVE-2017-5970/ANY/0.patch +git apply $cvePatches/CVE-2017-6345/ANY/0.patch git apply $cvePatches/CVE-2017-6348/ANY/0.patch git apply $cvePatches/CVE-2017-6951/ANY/0.patch git apply $cvePatches/CVE-2017-7472/ANY/0.patch diff --git a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_lge_bullhead.sh b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_lge_bullhead.sh index 48f76b2b..389ab298 100644 --- a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_lge_bullhead.sh +++ b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_lge_bullhead.sh @@ -4,6 +4,7 @@ git apply $cvePatches/CVE-2014-8160/ANY/0.patch git apply $cvePatches/CVE-2014-8173/ANY/0.patch git apply $cvePatches/CVE-2014-9781/ANY/0.patch git apply $cvePatches/CVE-2015-2041/ANY/0.patch +git apply $cvePatches/CVE-2015-4170/ANY/0.patch git apply $cvePatches/CVE-2015-4177/ANY/0.patch git apply $cvePatches/CVE-2015-7515/ANY/0.patch git apply $cvePatches/CVE-2015-7550/ANY/0.patch @@ -22,6 +23,7 @@ git apply $cvePatches/CVE-2016-2549/ANY/0.patch git apply $cvePatches/CVE-2016-3070/ANY/0.patch git apply $cvePatches/CVE-2016-3134/3.10/0.patch git apply $cvePatches/CVE-2016-3136/ANY/0.patch +git apply $cvePatches/CVE-2016-3137/ANY/0.patch git apply $cvePatches/CVE-2016-3140/ANY/0.patch git apply $cvePatches/CVE-2016-3672/ANY/0.patch git apply $cvePatches/CVE-2016-3689/ANY/0.patch @@ -44,6 +46,7 @@ git apply $cvePatches/CVE-2017-2618/3.10/0.patch git apply $cvePatches/CVE-2017-2671/ANY/0.patch git apply $cvePatches/CVE-2017-5669/ANY/0.patch git apply $cvePatches/CVE-2017-5967/3.10/1.patch +git apply $cvePatches/CVE-2017-6345/ANY/0.patch git apply $cvePatches/CVE-2017-6348/ANY/0.patch git apply $cvePatches/CVE-2017-6951/ANY/0.patch git apply $cvePatches/CVE-2017-7472/ANY/0.patch diff --git a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_lge_hammerhead.sh b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_lge_hammerhead.sh index 043a11a7..f1ff7e55 100644 --- a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_lge_hammerhead.sh +++ b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_lge_hammerhead.sh @@ -3,6 +3,7 @@ cd $base"kernel/lge/hammerhead" git apply $cvePatches/CVE-2014-9881/ANY/0.patch git apply $cvePatches/CVE-2015-1593/ANY/0.patch git apply $cvePatches/CVE-2016-5829/ANY/0.patch +git apply $cvePatches/CVE-2016-8650/ANY/0.patch git apply $cvePatches/CVE-2016-9604/ANY/0.patch git apply $cvePatches/CVE-2017-0611/ANY/0.patch git apply $cvePatches/CVE-2017-0710/ANY/0.patch @@ -14,6 +15,7 @@ git apply $cvePatches/CVE-2017-15265/ANY/0.patch git apply $cvePatches/CVE-2017-2671/ANY/0.patch git apply $cvePatches/CVE-2017-5970/ANY/0.patch git apply $cvePatches/CVE-2017-6074/ANY/0.patch +git apply $cvePatches/CVE-2017-6345/ANY/0.patch git apply $cvePatches/CVE-2017-6348/ANY/0.patch git apply $cvePatches/CVE-2017-6951/ANY/0.patch git apply $cvePatches/CVE-2017-7487/ANY/0.patch diff --git a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_lge_mako.sh b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_lge_mako.sh index 34e08c82..f92cf4ea 100644 --- a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_lge_mako.sh +++ b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_lge_mako.sh @@ -2,4 +2,5 @@ cd $base"kernel/lge/mako" git apply $cvePatches/CVE-2016-8402/3.4/1.patch git apply $cvePatches/CVE-2016-8404/ANY/0.patch +git apply $cvePatches/CVE-2016-9793/ANY/0.patch cd $base diff --git a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_moto_shamu.sh b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_moto_shamu.sh index cc182edc..40f08f6e 100644 --- a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_moto_shamu.sh +++ b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_moto_shamu.sh @@ -8,6 +8,7 @@ git apply $cvePatches/CVE-2014-9715/ANY/0.patch git apply $cvePatches/CVE-2014-9781/ANY/0.patch git apply $cvePatches/CVE-2015-1593/ANY/0.patch git apply $cvePatches/CVE-2015-2041/ANY/0.patch +git apply $cvePatches/CVE-2015-4170/ANY/0.patch git apply $cvePatches/CVE-2015-4177/ANY/0.patch git apply $cvePatches/CVE-2015-7515/ANY/0.patch git apply $cvePatches/CVE-2015-7550/ANY/0.patch @@ -26,6 +27,7 @@ git apply $cvePatches/CVE-2016-2549/ANY/0.patch git apply $cvePatches/CVE-2016-3070/ANY/0.patch git apply $cvePatches/CVE-2016-3134/3.10/0.patch git apply $cvePatches/CVE-2016-3136/ANY/0.patch +git apply $cvePatches/CVE-2016-3137/ANY/0.patch git apply $cvePatches/CVE-2016-3138/ANY/0.patch git apply $cvePatches/CVE-2016-3140/ANY/0.patch git apply $cvePatches/CVE-2016-3689/ANY/0.patch @@ -37,6 +39,7 @@ git apply $cvePatches/CVE-2016-5870/ANY/0.patch git apply $cvePatches/CVE-2016-6672/ANY/0.patch git apply $cvePatches/CVE-2016-8404/ANY/0.patch git apply $cvePatches/CVE-2016-8464/3.10/0.patch +git apply $cvePatches/CVE-2016-8650/ANY/0.patch git apply $cvePatches/CVE-2016-9604/ANY/0.patch git apply $cvePatches/CVE-2017-0404/ANY/0.patch git apply $cvePatches/CVE-2017-0537/ANY/0.patch @@ -47,6 +50,7 @@ git apply $cvePatches/CVE-2017-1000365/3.10/0.patch git apply $cvePatches/CVE-2017-2618/3.10/0.patch git apply $cvePatches/CVE-2017-2671/ANY/0.patch git apply $cvePatches/CVE-2017-5669/ANY/0.patch +git apply $cvePatches/CVE-2017-6345/ANY/0.patch git apply $cvePatches/CVE-2017-6348/ANY/0.patch git apply $cvePatches/CVE-2017-6951/ANY/0.patch git apply $cvePatches/CVE-2017-7472/ANY/0.patch diff --git a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_motorola_msm8916.sh b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_motorola_msm8916.sh index 6c3a94ec..fb6ea4b2 100644 --- a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_motorola_msm8916.sh +++ b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_motorola_msm8916.sh @@ -8,6 +8,7 @@ git apply $cvePatches/CVE-2015-8967/ANY/0.patch git apply $cvePatches/CVE-2016-10231/ANY/1.patch git apply $cvePatches/CVE-2016-10233/3.10/1.patch git apply $cvePatches/CVE-2016-3134/3.10/0.patch +git apply $cvePatches/CVE-2016-3137/ANY/0.patch git apply $cvePatches/CVE-2016-3672/ANY/0.patch git apply $cvePatches/CVE-2016-3857/3.10/0.patch git apply $cvePatches/CVE-2016-3865/ANY/0.patch @@ -21,6 +22,7 @@ git apply $cvePatches/CVE-2017-0457/3.10/1.patch git apply $cvePatches/CVE-2017-0648/ANY/0.patch git apply $cvePatches/CVE-2017-0750/ANY/0.patch git apply $cvePatches/CVE-2017-15265/ANY/0.patch +git apply $cvePatches/CVE-2017-6345/ANY/0.patch git apply $cvePatches/CVE-2017-6348/ANY/0.patch git apply $cvePatches/LVT-2017-0003/3.10/0.patch cd $base diff --git a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_motorola_msm8992.sh b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_motorola_msm8992.sh index 7626d776..f1e79f0d 100644 --- a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_motorola_msm8992.sh +++ b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_motorola_msm8992.sh @@ -31,6 +31,7 @@ git apply $cvePatches/CVE-2016-8417/ANY/0.patch git apply $cvePatches/CVE-2016-8444/ANY/0.patch git apply $cvePatches/CVE-2016-8479/ANY/0.patch git apply $cvePatches/CVE-2016-8483/3.10/1.patch +git apply $cvePatches/CVE-2016-8650/ANY/0.patch git apply $cvePatches/CVE-2016-9604/ANY/0.patch git apply $cvePatches/CVE-2017-0404/ANY/0.patch git apply $cvePatches/CVE-2017-0427/3.10/1.patch @@ -68,6 +69,7 @@ git apply $cvePatches/CVE-2017-2671/ANY/0.patch git apply $cvePatches/CVE-2017-5669/ANY/0.patch git apply $cvePatches/CVE-2017-5970/ANY/0.patch git apply $cvePatches/CVE-2017-6074/ANY/0.patch +git apply $cvePatches/CVE-2017-6345/ANY/0.patch git apply $cvePatches/CVE-2017-6348/ANY/0.patch git apply $cvePatches/CVE-2017-6951/ANY/0.patch git apply $cvePatches/CVE-2017-7369/3.10/0.patch @@ -81,6 +83,7 @@ git apply $cvePatches/CVE-2017-8260/3.10/0.patch git apply $cvePatches/CVE-2017-8262/3.10/1.patch git apply $cvePatches/CVE-2017-8265/ANY/0.patch git apply $cvePatches/CVE-2017-8280/ANY/0.patch +git apply $cvePatches/CVE-2017-9075/ANY/0.patch git apply $cvePatches/CVE-2017-9242/ANY/0.patch git apply $cvePatches/CVE-2017-9693/ANY/0.patch git apply $cvePatches/CVE-2017-9694/ANY/0.patch diff --git a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_nextbit_msm8992.sh b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_nextbit_msm8992.sh index 0207ae34..c802b41e 100644 --- a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_nextbit_msm8992.sh +++ b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_nextbit_msm8992.sh @@ -4,5 +4,6 @@ git apply $cvePatches/CVE-2014-9904/ANY/0.patch git apply $cvePatches/CVE-2016-6672/ANY/0.patch git apply $cvePatches/CVE-2017-0648/ANY/0.patch git apply $cvePatches/CVE-2017-0750/ANY/0.patch +git apply $cvePatches/CVE-2017-6345/ANY/0.patch git apply $cvePatches/LVT-2017-0003/3.10/0.patch cd $base diff --git a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_samsung_smdk4412.sh b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_samsung_smdk4412.sh index 1cb82a47..9e1671dd 100644 --- a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_samsung_smdk4412.sh +++ b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_samsung_smdk4412.sh @@ -21,6 +21,7 @@ git apply $cvePatches/CVE-2017-0786/ANY/0.patch git apply $cvePatches/CVE-2017-10662/ANY/0.patch git apply $cvePatches/CVE-2017-15265/ANY/0.patch git apply $cvePatches/CVE-2017-6074/ANY/0.patch +git apply $cvePatches/CVE-2017-6345/ANY/0.patch git apply $cvePatches/CVE-2017-6348/ANY/0.patch git apply $cvePatches/CVE-2017-7487/ANY/0.patch cd $base