DivestOS/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_lge_msm8996.sh

149 lines
8.9 KiB
Bash
Raw Normal View History

#!/bin/bash
cd $base"kernel/lge/msm8996"
2018-04-13 15:29:21 -04:00
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0019.patch
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0020.patch
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0021.patch
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0022.patch
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0023.patch
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0024.patch
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0025.patch
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0026.patch
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0027.patch
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0028.patch
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0031.patch
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0032.patch
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0033.patch
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0034.patch
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0035.patch
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0036.patch
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0037.patch
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0040.patch
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0041.patch
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0042.patch
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0043.patch
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0045.patch
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0046.patch
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0050.patch
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/ANY/0001.patch
2018-01-11 14:16:13 -05:00
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
2018-04-28 00:43:08 -04:00
git apply $cvePatchesLinux/0012-Copperhead-Deny_USB/3.18/0002-Alt2.patch
2018-05-29 14:49:15 -04:00
git apply $cvePatchesLinux/0013-syskaller-Misc/ANY/0002.patch
git apply $cvePatchesLinux/0013-syskaller-Misc/ANY/0009.patch
git apply $cvePatchesLinux/0013-syskaller-Misc/ANY/0010.patch
git apply $cvePatchesLinux/0013-syskaller-Misc/ANY/0011.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
2018-02-19 15:01:57 -05:00
git apply $cvePatchesLinux/CVE-2015-9016/3.18/0002.patch
git apply $cvePatchesLinux/CVE-2016-10088/ANY/0001.patch
git apply $cvePatchesLinux/CVE-2016-2187/ANY/0001.patch
git apply $cvePatchesLinux/CVE-2016-2188/ANY/0001.patch
git apply $cvePatchesLinux/CVE-2016-2188/ANY/0002.patch
git apply $cvePatchesLinux/CVE-2016-2549/^4.4/0001.patch
git apply $cvePatchesLinux/CVE-2016-3136/ANY/0001.patch
git apply $cvePatchesLinux/CVE-2016-3138/ANY/0001.patch
git apply $cvePatchesLinux/CVE-2016-3140/ANY/0001.patch
git apply $cvePatchesLinux/CVE-2016-3672/ANY/0001.patch
git apply $cvePatchesLinux/CVE-2016-3857/ANY/0001.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
git apply $cvePatchesLinux/CVE-2016-7117/^4.5/0002.patch
git apply $cvePatchesLinux/CVE-2016-8394/ANY/0001.patch
git apply $cvePatchesLinux/CVE-2016-9604/ANY/0001.patch
git apply $cvePatchesLinux/CVE-2016-GadgetFS/ANY/0003.patch
git apply $cvePatchesLinux/CVE-2016-GadgetFS/ANY/0006.patch
git apply $cvePatchesLinux/CVE-2016-GadgetFS/ANY/0007.patch
git apply $cvePatchesLinux/CVE-2016-GadgetFS/ANY/0008.patch
git apply $cvePatchesLinux/CVE-2016-GadgetFS/ANY/0009.patch
git apply $cvePatchesLinux/CVE-2016-GadgetFS/ANY/0010.patch
2017-12-30 07:11:23 -05:00
git apply $cvePatchesLinux/CVE-2017-0564/3.18/0004.patch
git apply $cvePatchesLinux/CVE-2017-0610/ANY/0002.patch
git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch
2018-01-30 02:18:38 -05:00
git apply $cvePatchesLinux/CVE-2017-0794/3.18/0002.patch
git apply $cvePatchesLinux/CVE-2017-0866/3.18/0001.patch
2018-03-07 00:07:45 -05:00
git apply $cvePatchesLinux/CVE-2017-1000111/ANY/0001.patch
git apply $cvePatchesLinux/CVE-2017-1000364/3.18/0008.patch
git apply $cvePatchesLinux/CVE-2017-1000364/3.18/0009.patch
git apply $cvePatchesLinux/CVE-2017-1000364/3.18/0010.patch
git apply $cvePatchesLinux/CVE-2017-1000365/3.18/0002.patch
git apply $cvePatchesLinux/CVE-2017-1000380/^4.11/0001.patch
2018-01-30 02:18:38 -05:00
git apply $cvePatchesLinux/CVE-2017-1000410/ANY/0001.patch
2018-01-16 19:55:07 -05:00
git apply $cvePatchesLinux/CVE-2017-11031/3.18/0001.patch
git apply $cvePatchesLinux/CVE-2017-11473/ANY/0001.patch
git apply $cvePatchesLinux/CVE-2017-12146/3.16+/0001.patch
git apply $cvePatchesLinux/CVE-2017-13215/ANY/0001.patch
2018-01-10 15:23:14 -05:00
git apply $cvePatchesLinux/CVE-2017-13218/3.18/0005.patch
git apply $cvePatchesLinux/CVE-2017-13218/3.18/0006.patch
2018-01-10 15:23:14 -05:00
git apply $cvePatchesLinux/CVE-2017-13218/3.18/0011.patch
2018-06-05 00:35:42 -04:00
git apply $cvePatchesLinux/CVE-2017-13218/3.18/0022.patch
2018-02-19 15:01:57 -05:00
git apply $cvePatchesLinux/CVE-2017-13245/ANY/0001.patch
git apply $cvePatchesLinux/CVE-2017-13246/ANY/0001.patch
2018-04-03 06:10:03 -04:00
git apply $cvePatchesLinux/CVE-2017-15115/ANY/0001.patch
2018-03-07 00:07:45 -05:00
git apply $cvePatchesLinux/CVE-2017-15649/ANY/0002.patch
git apply $cvePatchesLinux/CVE-2017-15834/ANY/0001.patch
2018-05-07 16:20:58 -04:00
git apply $cvePatchesLinux/CVE-2017-15842/ANY/0001.patch
git apply $cvePatchesLinux/CVE-2017-15843/ANY/0001.patch
2018-01-10 02:20:35 -05:00
git apply $cvePatchesLinux/CVE-2017-15850/ANY/0001.patch
2018-05-17 16:42:42 -04:00
git apply $cvePatchesLinux/CVE-2017-15857/3.18/0001.patch
2018-03-30 21:47:33 -04:00
git apply $cvePatchesLinux/CVE-2017-15858/ANY/0001.patch
2017-12-30 07:11:23 -05:00
git apply $cvePatchesLinux/CVE-2017-15868/3.18/0003.patch
git apply $cvePatchesLinux/CVE-2017-16525/^4.13/0002.patch
git apply $cvePatchesLinux/CVE-2017-16526/^4.13/0001.patch
git apply $cvePatchesLinux/CVE-2017-16530/^4.13/0001.patch
git apply $cvePatchesLinux/CVE-2017-16531/^4.13/0001.patch
git apply $cvePatchesLinux/CVE-2017-16532/^4.13/0001.patch
git apply $cvePatchesLinux/CVE-2017-16533/^4.13/0001.patch
git apply $cvePatchesLinux/CVE-2017-16535/^4.13/0001.patch
git apply $cvePatchesLinux/CVE-2017-16537/^4.13/0001.patch
git apply $cvePatchesLinux/CVE-2017-16538/^4.13/0001.patch
git apply $cvePatchesLinux/CVE-2017-16538/^4.13/0002.patch
git apply $cvePatchesLinux/CVE-2017-16643/3.5+/0001.patch
git apply $cvePatchesLinux/CVE-2017-16645/ANY/0001.patch
git apply $cvePatchesLinux/CVE-2017-16646/ANY/0001.patch
git apply $cvePatchesLinux/CVE-2017-16650/ANY/0001.patch
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/CVE-2017-16USB/ANY/0009.patch
2018-01-30 02:18:38 -05:00
git apply $cvePatchesLinux/CVE-2017-17558/ANY/0001.patch
2018-02-19 15:01:57 -05:00
git apply $cvePatchesLinux/CVE-2017-17769/ANY/0001.patch
2018-05-17 16:42:42 -04:00
git apply $cvePatchesLinux/CVE-2017-17769/3.18/0002.patch
2018-06-05 00:35:42 -04:00
git apply $cvePatchesLinux/CVE-2017-17806/ANY/0001.patch
2018-03-07 00:07:45 -05:00
git apply $cvePatchesLinux/CVE-2017-18066/ANY/0001.patch
git apply $cvePatchesLinux/CVE-2017-5669/^4.9/0001.patch
git apply $cvePatchesLinux/CVE-2017-5972/ANY/0002.patch
git apply $cvePatchesLinux/CVE-2017-5986/^4.9/0001.patch
git apply $cvePatchesLinux/CVE-2017-6001/^4.9/0002.patch
git apply $cvePatchesLinux/CVE-2017-6345/^4.9/0001.patch
git apply $cvePatchesLinux/CVE-2017-6346/3.18/0001.patch
git apply $cvePatchesLinux/CVE-2017-6348/^4.9/0001.patch
git apply $cvePatchesLinux/CVE-2017-6353/^4.10/0001.patch
git apply $cvePatchesLinux/CVE-2017-7472/ANY/0001.patch
git apply $cvePatchesLinux/CVE-2017-7487/ANY/0001.patch
2018-03-07 00:07:45 -05:00
git apply $cvePatchesLinux/CVE-2017-7533/3.18/0004.patch
git apply $cvePatchesLinux/CVE-2017-7616/^4.10/0001.patch
git apply $cvePatchesLinux/CVE-2017-7618/^4.10/0002.patch
git apply $cvePatchesLinux/CVE-2018-1092/ANY/0001.patch
2018-04-22 02:41:18 -04:00
git apply $cvePatchesLinux/CVE-2018-3563/3.18/0002.patch
2018-04-03 06:10:03 -04:00
git apply $cvePatchesLinux/CVE-2018-3599/ANY/0001.patch
git apply $cvePatchesLinux/CVE-2018-5825/3.18/0002.patch
2018-06-05 00:35:42 -04:00
git apply $cvePatchesLinux/CVE-2018-5831/ANY/0001.patch
2018-05-07 16:20:58 -04:00
git apply $cvePatchesLinux/CVE-2018-5848/ANY/0001.patch
git apply $cvePatchesLinux/CVE-2018-5849/ANY/0001.patch
2018-06-05 00:35:42 -04:00
git apply $cvePatchesLinux/CVE-2018-5857/ANY/0001.patch
git apply $cvePatchesLinux/Untracked/ANY/0002-ozwpan-Use-unsigned-ints-to-prevent-heap-overflow.patch
git apply $cvePatchesLinux/Untracked/ANY/0003-tunnels-Don-t-apply-GRO-to-multiple-layers-of-encaps.patch
git apply $cvePatchesLinux/Untracked/ANY/0004-net-add-recursion-limit-to-GRO.patch
git apply $cvePatchesLinux/Untracked/ANY/0005-tcp-fix-zero-cwnd-in-tcp_cwnd_reduction.patch
git apply $cvePatchesLinux/Untracked/ANY/0007-USB-usbip-fix-potential-out-of-bounds-write.patch
git apply $cvePatchesLinux/Untracked/ANY/0008-nfsd-check-for-oversized-NFSv2-v3-arguments.patch
2018-01-10 15:49:48 -05:00
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.p144"
cd $base