From 6fb82b79073ac38da94db3579c3a7ee9ebdab15d Mon Sep 17 00:00:00 2001 From: Tad Date: Thu, 11 Jan 2018 14:16:13 -0500 Subject: [PATCH] Attempt to improve AES performance --- Misc/Strong_AES.txt | 31 +++++++++++++++++++ Patches/Linux | 2 +- .../android_kernel_amazon_hdx-common.sh | 3 +- .../android_kernel_asus_msm8916.sh | 5 ++- .../android_kernel_fairphone_msm8974.sh | 3 +- .../android_kernel_google_marlin.sh | 5 ++- .../CVE_Patchers/android_kernel_google_msm.sh | 3 +- .../android_kernel_htc_flounder.sh | 4 ++- .../android_kernel_htc_msm8974.sh | 3 +- .../android_kernel_htc_msm8994.sh | 6 ++-- .../CVE_Patchers/android_kernel_lge_g3.sh | 3 +- .../android_kernel_lge_hammerhead.sh | 3 +- .../CVE_Patchers/android_kernel_lge_mako.sh | 3 +- .../android_kernel_lge_msm8992.sh | 4 ++- .../android_kernel_lge_msm8996.sh | 5 ++- .../android_kernel_motorola_msm8916.sh | 5 ++- .../android_kernel_motorola_msm8992.sh | 5 ++- .../android_kernel_oneplus_msm8974.sh | 3 +- .../CVE_Patchers/android_kernel_samsung_jf.sh | 3 +- .../android_kernel_samsung_msm8974.sh | 3 +- .../android_kernel_samsung_universal8890.sh | 5 ++- 21 files changed, 86 insertions(+), 21 deletions(-) create mode 100644 Misc/Strong_AES.txt diff --git a/Misc/Strong_AES.txt b/Misc/Strong_AES.txt new file mode 100644 index 00000000..9226046c --- /dev/null +++ b/Misc/Strong_AES.txt @@ -0,0 +1,31 @@ +Biclique + 128: O(91176400000000000000000000000000000000) + 192: O(1274650000000000000000000000000000000000000000000000000000) + 256: O(38197100000000000000000000000000000000000000000000000000000000000000000000000) + +Grovers (2^(n/2)) + 128: O(18446744073709551616) + 192: O(79228162514264337593543950336) + 256: O(340282366920938463463374607431768211456) + +Benchmarks (Androbench) + mako-1/2 + No Encryption + Seq. Read: 77 MBps + Seq. Write: 20 MBps + Rand. Read: 11 MBps + Rand. Write: 3 MBps + AES-128/RSA-2048 Encryption + AES-192/RSA-4096 Encryption + AES-256/RSA-4096 Encryption + Seq. Read: 26 MBps + Seq. Write: 18 MBps + Rand. Read: 8 MBps + Rand. Write: 3 MBps + AES-256/RSA-4096 Encryption + Overclock + clark-1 + AES-128/RSA-2048 Encryption + Seq. Read: 50 MBps + Seq. Write: 39 MBps + Rand. Read: 10 MBps + Rand. Write: 10 MBps diff --git a/Patches/Linux b/Patches/Linux index 8e8aa18a..08a9222a 160000 --- a/Patches/Linux +++ b/Patches/Linux @@ -1 +1 @@ -Subproject commit 8e8aa18abae1af455bd3c88effd91c8d3690f7c3 +Subproject commit 08a9222af7dec29417a395f209e0f65ff106d22b 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 558fd0ff..d297c9f6 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 @@ -1,6 +1,7 @@ #!/bin/bash cd $base"kernel/amazon/hdx-common" git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/ANY/0001.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.4/0002.patch git apply $cvePatchesLinux/CVE-2012-6704/^3.5/0001.patch git apply $cvePatchesLinux/CVE-2014-1739/ANY/0001.patch git apply $cvePatchesLinux/CVE-2014-3153/ANY/0002.patch @@ -84,5 +85,5 @@ git apply $cvePatchesLinux/CVE-2017-9242/^4.11/0001.patch git apply $cvePatchesLinux/CVE-2017-9684/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-9706/ANY/0001.patch git apply $cvePatchesLinux/Untracked/ANY/0008-nfsd-check-for-oversized-NFSv2-v3-arguments.patch -editKernelLocalversion "-dos.p84" +editKernelLocalversion "-dos.p85" cd $base diff --git a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_asus_msm8916.sh b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_asus_msm8916.sh index 62e8f406..53af62b5 100644 --- a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_asus_msm8916.sh +++ b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_asus_msm8916.sh @@ -16,6 +16,9 @@ git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0016.patch git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0017.patch git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0018.patch git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/ANY/0001.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0011.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0012.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0013.patch git apply $cvePatchesLinux/CVE-2016-6672/ANY/0001.patch git apply $cvePatchesLinux/CVE-2016-6693/ANY/0001.patch git apply $cvePatchesLinux/CVE-2016-6696/ANY/0001.patch @@ -57,5 +60,5 @@ git apply $cvePatchesLinux/LVT-2017-0003/3.10/0001.patch git apply $cvePatchesLinux/CVE-2016-6693/ANY/0001.patch git apply $cvePatchesLinux/CVE-2016-6696/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch -editKernelLocalversion "-dos.p57" +editKernelLocalversion "-dos.p60" cd $base diff --git a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_fairphone_msm8974.sh b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_fairphone_msm8974.sh index 32d79689..eec2be8c 100644 --- a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_fairphone_msm8974.sh +++ b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_fairphone_msm8974.sh @@ -1,6 +1,7 @@ #!/bin/bash cd $base"kernel/fairphone/msm8974" git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/ANY/0001.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.4/0002.patch git apply $cvePatchesLinux/CVE-2014-3153/ANY/0002.patch git apply $cvePatchesLinux/CVE-2014-3153/ANY/0004.patch git apply $cvePatchesLinux/CVE-2016-0774/ANY/0001.patch @@ -29,5 +30,5 @@ git apply $cvePatchesLinux/CVE-2017-6348/^4.9/0001.patch git apply $cvePatchesLinux/CVE-2017-7533/3.4/0001.patch git apply $cvePatchesLinux/Untracked/ANY/0008-nfsd-check-for-oversized-NFSv2-v3-arguments.patch git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch -editKernelLocalversion "-dos.p29" +editKernelLocalversion "-dos.p30" cd $base 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 e571d92b..e48c3d09 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 @@ -29,6 +29,9 @@ git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.18/0044.patch git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.18/0045.patch git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.18/0046.patch git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.18/0050.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0011.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0012.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0013.patch git apply $cvePatchesLinux/CVE-2014-9900/ANY/0001.patch git apply $cvePatchesLinux/CVE-2015-2041/^3.19/0002.patch git apply $cvePatchesLinux/CVE-2015-7515/^4.4/0002.patch @@ -188,5 +191,5 @@ git apply $cvePatchesLinux/CVE-2016-6696/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-0610/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-15845/ANY/0001.patch -editKernelLocalversion "-dos.p188" +editKernelLocalversion "-dos.p191" cd $base diff --git a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_google_msm.sh b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_google_msm.sh index 7a58ddd5..0f93f218 100644 --- a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_google_msm.sh +++ b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_google_msm.sh @@ -1,5 +1,6 @@ #!/bin/bash cd $base"kernel/google/msm" +git apply $cvePatchesLinux/0010-Accelerated_AES/3.4/0002.patch git apply $cvePatchesLinux/CVE-2013-4738/ANY/0002.patch git apply $cvePatchesLinux/CVE-2014-9781/ANY/0001.patch git apply $cvePatchesLinux/CVE-2015-1593/ANY/0001.patch @@ -42,5 +43,5 @@ git apply $cvePatchesLinux/CVE-2017-8254/3.4/0001.patch git apply $cvePatchesLinux/CVE-2017-8254/3.4/0002.patch git apply $cvePatchesLinux/Untracked/ANY/0008-nfsd-check-for-oversized-NFSv2-v3-arguments.patch git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch -editKernelLocalversion "-dos.p42" +editKernelLocalversion "-dos.p43" cd $base 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 adae93d8..991b7232 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 @@ -12,6 +12,8 @@ git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0014.patch git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0015.patch git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0016.patch git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0017.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0011.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0012.patch git apply $cvePatchesLinux/CVE-2014-9892/ANY/0001.patch git apply $cvePatchesLinux/CVE-2014-9900/ANY/0001.patch git apply $cvePatchesLinux/CVE-2015-7515/^4.4/0002.patch @@ -71,5 +73,5 @@ git apply $cvePatchesLinux/LVT-2017-0003/3.10/0001.patch git apply $cvePatchesLinux/Untracked/ANY/0008-nfsd-check-for-oversized-NFSv2-v3-arguments.patch git apply $cvePatchesLinux/CVE-2016-2475/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch -editKernelLocalversion "-dos.p71" +editKernelLocalversion "-dos.p73" cd $base diff --git a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_htc_msm8974.sh b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_htc_msm8974.sh index 723fb262..d2609878 100644 --- a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_htc_msm8974.sh +++ b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_htc_msm8974.sh @@ -1,6 +1,7 @@ #!/bin/bash cd $base"kernel/htc/msm8974" git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/ANY/0001.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.4/0002.patch git apply $cvePatchesLinux/CVE-2014-9781/ANY/0001.patch git apply $cvePatchesLinux/CVE-2016-2443/ANY/0001.patch git apply $cvePatchesLinux/CVE-2016-7117/^4.5/0002.patch @@ -25,5 +26,5 @@ git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0005.patch git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0006.patch git apply $cvePatchesLinux/Untracked/ANY/0008-nfsd-check-for-oversized-NFSv2-v3-arguments.patch git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch -editKernelLocalversion "-dos.p25" +editKernelLocalversion "-dos.p26" cd $base diff --git a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_htc_msm8994.sh b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_htc_msm8994.sh index 780aa600..606cca16 100644 --- a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_htc_msm8994.sh +++ b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_htc_msm8994.sh @@ -16,6 +16,8 @@ git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0016.patch git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0017.patch git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0018.patch git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/ANY/0001.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0011.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0012.patch git apply $cvePatchesLinux/CVE-2014-9781/ANY/0001.patch git apply $cvePatchesLinux/CVE-2014-9903/ANY/0001.patch git apply $cvePatchesLinux/CVE-2014-9904/ANY/0001.patch @@ -50,7 +52,7 @@ git apply $cvePatchesLinux/CVE-2017-11033/3.10/0002.patch git apply $cvePatchesLinux/CVE-2017-11473/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-11600/3.10/0001.patch git apply $cvePatchesLinux/CVE-2017-12153/3.2-^3.16/0001.patch -git apply $cvePatchesLinux/CVE-2017-13166/3.10/0001.patch +#git apply $cvePatchesLinux/CVE-2017-13166/3.10/0001.patch git apply $cvePatchesLinux/CVE-2017-13167/3.10/0002.patch git apply $cvePatchesLinux/CVE-2017-13167/3.10/0003.patch git apply $cvePatchesLinux/CVE-2017-13167/3.10/0005.patch @@ -102,5 +104,5 @@ git apply $cvePatchesLinux/Untracked/ANY/0008-nfsd-check-for-oversized-NFSv2-v3- git apply $cvePatchesLinux/CVE-2016-6693/ANY/0001.patch git apply $cvePatchesLinux/CVE-2016-6696/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch -editKernelLocalversion "-dos.p102" +editKernelLocalversion "-dos.p104" cd $base diff --git a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_lge_g3.sh b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_lge_g3.sh index 5f25eb44..e809b9f6 100644 --- a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_lge_g3.sh +++ b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_lge_g3.sh @@ -1,6 +1,7 @@ #!/bin/bash cd $base"kernel/lge/g3" git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/ANY/0001.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.4/0002.patch git apply $cvePatchesLinux/CVE-2014-9781/ANY/0001.patch git apply $cvePatchesLinux/CVE-2015-6640/ANY/0001.patch git apply $cvePatchesLinux/CVE-2016-3857/ANY/0001.patch @@ -27,5 +28,5 @@ git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0006.patch git apply $cvePatchesLinux/CVE-2017-8246/3.4/0002.patch git apply $cvePatchesLinux/Untracked/ANY/0008-nfsd-check-for-oversized-NFSv2-v3-arguments.patch git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch -editKernelLocalversion "-dos.p27" +editKernelLocalversion "-dos.p28" cd $base 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 d9d2e047..e82a2294 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 @@ -1,5 +1,6 @@ #!/bin/bash cd $base"kernel/lge/hammerhead" +git apply $cvePatchesLinux/0010-Accelerated_AES/3.4/0002.patch git apply $cvePatchesLinux/CVE-2014-9881/ANY/0001.patch git apply $cvePatchesLinux/CVE-2014-9882/ANY/0001.patch git apply $cvePatchesLinux/CVE-2014-9882/ANY/0002.patch @@ -40,5 +41,5 @@ git apply $cvePatchesLinux/CVE-2017-9242/^4.11/0001.patch git apply $cvePatchesLinux/CVE-2017-9684/ANY/0001.patch git apply $cvePatchesLinux/Untracked/ANY/0008-nfsd-check-for-oversized-NFSv2-v3-arguments.patch git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch -editKernelLocalversion "-dos.p40" +editKernelLocalversion "-dos.p41" cd $base 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 cc0b5141..275d4cc3 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 @@ -1,5 +1,6 @@ #!/bin/bash cd $base"kernel/lge/mako" +git apply $cvePatchesLinux/0010-Accelerated_AES/3.4/0002.patch git apply $cvePatchesLinux/CVE-2013-4738/ANY/0002.patch git apply $cvePatchesLinux/CVE-2016-3857/ANY/0001.patch git apply $cvePatchesLinux/CVE-2016-3894/ANY/0001.patch @@ -15,5 +16,5 @@ git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0005.patch git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0006.patch git apply $cvePatchesLinux/Untracked/ANY/0008-nfsd-check-for-oversized-NFSv2-v3-arguments.patch -editKernelLocalversion "-dos.p15" +editKernelLocalversion "-dos.p16" cd $base diff --git a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_lge_msm8992.sh b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_lge_msm8992.sh index a91ba6cb..dc8ee094 100644 --- a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_lge_msm8992.sh +++ b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_lge_msm8992.sh @@ -16,6 +16,8 @@ git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0016.patch git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0017.patch git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0018.patch git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/ANY/0001.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0011.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0012.patch git apply $cvePatchesLinux/CVE-2014-9781/ANY/0001.patch git apply $cvePatchesLinux/CVE-2015-5366/3.10/0001.patch git apply $cvePatchesLinux/CVE-2015-7515/^4.4/0002.patch @@ -158,5 +160,5 @@ git apply $cvePatchesLinux/CVE-2016-6693/ANY/0001.patch git apply $cvePatchesLinux/CVE-2016-6696/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-15845/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-8281/3.10/0003.patch -editKernelLocalversion "-dos.p158" +editKernelLocalversion "-dos.p160" cd $base diff --git a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_lge_msm8996.sh b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_lge_msm8996.sh index 5a3b443e..aab31337 100644 --- a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_lge_msm8996.sh +++ b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_lge_msm8996.sh @@ -27,6 +27,9 @@ git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.18/0043.patch git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.18/0045.patch git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.18/0046.patch git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.18/0050.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0011.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0012.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0013.patch git apply $cvePatchesLinux/CVE-2014-9900/ANY/0001.patch git apply $cvePatchesLinux/CVE-2015-2041/^3.19/0002.patch git apply $cvePatchesLinux/CVE-2015-7515/^4.4/0002.patch @@ -110,5 +113,5 @@ git apply $cvePatchesLinux/CVE-2016-6693/ANY/0001.patch git apply $cvePatchesLinux/CVE-2016-6696/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-0610/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch -editKernelLocalversion "-dos.p110" +editKernelLocalversion "-dos.p113" cd $base 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 76fa4568..9625598a 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 @@ -15,6 +15,9 @@ git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0016.patch git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0017.patch git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0018.patch git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/ANY/0001.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0011.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0012.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0013.patch git apply $cvePatchesLinux/CVE-2014-9420/ANY/0001.patch git apply $cvePatchesLinux/CVE-2014-9781/ANY/0001.patch git apply $cvePatchesLinux/CVE-2015-1593/ANY/0001.patch @@ -80,5 +83,5 @@ git apply $cvePatchesLinux/CVE-2016-5853/3.10/0001.patch git apply $cvePatchesLinux/CVE-2016-6693/ANY/0001.patch git apply $cvePatchesLinux/CVE-2016-6696/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch -editKernelLocalversion "-dos.p80" +editKernelLocalversion "-dos.p83" 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 3d429c76..67c87fde 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 @@ -16,6 +16,9 @@ git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0016.patch git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0017.patch git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0018.patch git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/ANY/0001.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0011.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0012.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0013.patch git apply $cvePatchesLinux/CVE-2013-7446/^4.3/0003.patch git apply $cvePatchesLinux/CVE-2014-9781/ANY/0001.patch git apply $cvePatchesLinux/CVE-2015-0573/ANY/0001.patch @@ -181,5 +184,5 @@ git apply $cvePatchesLinux/CVE-2016-6696/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-15845/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-8281/3.10/0003.patch -editKernelLocalversion "-dos.p181" +editKernelLocalversion "-dos.p184" cd $base diff --git a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_oneplus_msm8974.sh b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_oneplus_msm8974.sh index 15fd9b3d..dc82887d 100644 --- a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_oneplus_msm8974.sh +++ b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_oneplus_msm8974.sh @@ -1,6 +1,7 @@ #!/bin/bash cd $base"kernel/oneplus/msm8974" git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/ANY/0001.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.4/0002.patch git apply $cvePatchesLinux/CVE-2014-9781/ANY/0001.patch git apply $cvePatchesLinux/CVE-2014-9880/ANY/0001.patch git apply $cvePatchesLinux/CVE-2016-0801/ANY/0001.patch @@ -45,5 +46,5 @@ git apply $cvePatchesLinux/CVE-2017-9684/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-9706/ANY/0001.patch git apply $cvePatchesLinux/Untracked/ANY/0008-nfsd-check-for-oversized-NFSv2-v3-arguments.patch git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch -editKernelLocalversion "-dos.p45" +editKernelLocalversion "-dos.p46" cd $base diff --git a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_samsung_jf.sh b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_samsung_jf.sh index 7aa99d8e..c88784e6 100644 --- a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_samsung_jf.sh +++ b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_samsung_jf.sh @@ -1,6 +1,7 @@ #!/bin/bash cd $base"kernel/samsung/jf" git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/ANY/0001.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.4/0002.patch git apply $cvePatchesLinux/CVE-2016-0801/ANY/0001.patch git apply $cvePatchesLinux/CVE-2016-10233/ANY/0001.patch git apply $cvePatchesLinux/CVE-2016-2185/ANY/0001.patch @@ -51,5 +52,5 @@ git apply $cvePatchesLinux/CVE-2017-8254/3.4/0002.patch git apply $cvePatchesLinux/Untracked/ANY/0008-nfsd-check-for-oversized-NFSv2-v3-arguments.patch git apply $cvePatchesLinux/CVE-2016-2475/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch -editKernelLocalversion "-dos.p51" +editKernelLocalversion "-dos.p52" cd $base diff --git a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_samsung_msm8974.sh b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_samsung_msm8974.sh index d8ef0bb8..64676c3d 100644 --- a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_samsung_msm8974.sh +++ b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_samsung_msm8974.sh @@ -1,6 +1,7 @@ #!/bin/bash cd $base"kernel/samsung/msm8974" git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/ANY/0001.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.4/0002.patch git apply $cvePatchesLinux/CVE-2016-2475/ANY/0001.patch git apply $cvePatchesLinux/CVE-2016-4578/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-0611/3.4/0001.patch @@ -23,5 +24,5 @@ git apply $cvePatchesLinux/CVE-2017-8254/3.4/0002.patch git apply $cvePatchesLinux/Untracked/ANY/0008-nfsd-check-for-oversized-NFSv2-v3-arguments.patch git apply $cvePatchesLinux/CVE-2016-2475/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch -editKernelLocalversion "-dos.p23" +editKernelLocalversion "-dos.p24" cd $base diff --git a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_samsung_universal8890.sh b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_samsung_universal8890.sh index 0d40fe09..e492648b 100644 --- a/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_samsung_universal8890.sh +++ b/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_samsung_universal8890.sh @@ -20,6 +20,9 @@ git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.18/0043.patch git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.18/0045.patch git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.18/0046.patch git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.18/0050.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0011.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0012.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0013.patch git apply $cvePatchesLinux/CVE-2013-7446/^4.3/0003.patch git apply $cvePatchesLinux/CVE-2014-9900/ANY/0001.patch git apply $cvePatchesLinux/CVE-2014-9940/ANY/0001.patch @@ -133,5 +136,5 @@ git apply $cvePatchesLinux/Untracked/ANY/0007-USB-usbip-fix-potential-out-of-bou git apply $cvePatchesLinux/Untracked/ANY/0008-nfsd-check-for-oversized-NFSv2-v3-arguments.patch #git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.18/0039.patch git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch -editKernelLocalversion "-dos.p133" +editKernelLocalversion "-dos.p136" cd $base