DivestOS/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_google_marlin.sh
2017-12-05 11:26:57 -05:00

136 lines
7.0 KiB
Bash

#!/bin/bash
cd $base"kernel/google/marlin"
git apply $cvePatches/CVE-2014-9900/ANY/0001.patch
git apply $cvePatches/CVE-2015-2041/^3.19/0002.patch
git apply $cvePatches/CVE-2015-7515/^4.4/0002.patch
git apply $cvePatches/CVE-2015-8966/3.15+/0001.patch
git apply $cvePatches/CVE-2016-10088/ANY/0001.patch
git apply $cvePatches/CVE-2016-2187/ANY/0001.patch
git apply $cvePatches/CVE-2016-2544/ANY/0001.patch
git apply $cvePatches/CVE-2016-2549/^4.4/0001.patch
git apply $cvePatches/CVE-2016-2847/ANY/0001.patch
git apply $cvePatches/CVE-2016-3136/ANY/0001.patch
git apply $cvePatches/CVE-2016-3137/ANY/0001.patch
git apply $cvePatches/CVE-2016-3140/ANY/0001.patch
git apply $cvePatches/CVE-2016-3156/ANY/0001.patch
git apply $cvePatches/CVE-2016-3672/ANY/0001.patch
git apply $cvePatches/CVE-2016-3857/ANY/0001.patch
git apply $cvePatches/CVE-2016-3865/ANY/0001.patch
git apply $cvePatches/CVE-2016-3865/ANY/0002.patch
git apply $cvePatches/CVE-2016-3906/ANY/0001.patch
git apply $cvePatches/CVE-2016-5342/ANY/0001.patch
git apply $cvePatches/CVE-2016-5345/ANY/0001.patch
git apply $cvePatches/CVE-2016-5854/ANY/0001.patch
git apply $cvePatches/CVE-2016-5856/ANY/0001.patch
git apply $cvePatches/CVE-2016-5857/ANY/0001.patch
git apply $cvePatches/CVE-2016-5858/ANY/0001.patch
git apply $cvePatches/CVE-2016-5867/3.18/0002.patch
git apply $cvePatches/CVE-2016-5870/ANY/0001.patch
git apply $cvePatches/CVE-2016-6672/ANY/0001.patch
git apply $cvePatches/CVE-2016-6693/ANY/0001.patch
git apply $cvePatches/CVE-2016-6694/ANY/0001.patch
git apply $cvePatches/CVE-2016-6695/ANY/0001.patch
git apply $cvePatches/CVE-2016-6696/ANY/0001.patch
git apply $cvePatches/CVE-2016-7042/ANY/0001.patch
git apply $cvePatches/CVE-2016-7117/^4.5/0002.patch
git apply $cvePatches/CVE-2016-8418/ANY/0001.patch
git apply $cvePatches/CVE-2016-8483/ANY/0001.patch
git apply $cvePatches/CVE-2016-9191/3.11-^4.8/0001.patch
git apply $cvePatches/CVE-2016-9604/ANY/0001.patch
git apply $cvePatches/CVE-2016-GadgetFS/ANY/0003.patch
git apply $cvePatches/CVE-2016-GadgetFS/ANY/0006.patch
git apply $cvePatches/CVE-2016-GadgetFS/ANY/0007.patch
git apply $cvePatches/CVE-2016-GadgetFS/ANY/0008.patch
git apply $cvePatches/CVE-2016-GadgetFS/ANY/0009.patch
git apply $cvePatches/CVE-2016-GadgetFS/ANY/0010.patch
git apply $cvePatches/CVE-2017-0510/3.18/0003.patch
git apply $cvePatches/CVE-2017-0524/ANY/0001.patch
git apply $cvePatches/CVE-2017-0537/ANY/0001.patch
git apply $cvePatches/CVE-2017-0610/ANY/0002.patch
git apply $cvePatches/CVE-2017-0622/3.18/0001.patch
git apply $cvePatches/CVE-2017-0627/ANY/0001.patch
git apply $cvePatches/CVE-2017-0749/ANY/0001.patch
git apply $cvePatches/CVE-2017-0750/ANY/0001.patch
git apply $cvePatches/CVE-2017-0866/3.18/0001.patch
git apply $cvePatches/CVE-2017-1000365/3.18/0002.patch
git apply $cvePatches/CVE-2017-1000380/^4.11/0001.patch
git apply $cvePatches/CVE-2017-10998/3.18/0002.patch
git apply $cvePatches/CVE-2017-11001/ANY/0001.patch
git apply $cvePatches/CVE-2017-11002/ANY/0002.patch
git apply $cvePatches/CVE-2017-11013/qcacld-2.0/0002.patch
git apply $cvePatches/CVE-2017-11014/qcacld-2.0/0001.patch
git apply $cvePatches/CVE-2017-11016/ANY/0001.patch
git apply $cvePatches/CVE-2017-11019/ANY/0001.patch
git apply $cvePatches/CVE-2017-11025/ANY/0001.patch
git apply $cvePatches/CVE-2017-11028/3.18/0001.patch
git apply $cvePatches/CVE-2017-11030/3.18/0001.patch
git apply $cvePatches/CVE-2017-11031/ANY/0001.patch
git apply $cvePatches/CVE-2017-11032/ANY/0001.patch
git apply $cvePatches/CVE-2017-11033/3.18/0002.patch
git apply $cvePatches/CVE-2017-11044/ANY/0001.patch
git apply $cvePatches/CVE-2017-11045/ANY/0001.patch
git apply $cvePatches/CVE-2017-11046/ANY/0001.patch
git apply $cvePatches/CVE-2017-11049/ANY/0001.patch
git apply $cvePatches/CVE-2017-11057/ANY/0001.patch
git apply $cvePatches/CVE-2017-11067/ANY/0001.patch
git apply $cvePatches/CVE-2017-11089/ANY/0001.patch
git apply $cvePatches/CVE-2017-11090/ANY/0001.patch
git apply $cvePatches/CVE-2017-11091/3.18/0001.patch
git apply $cvePatches/CVE-2017-11093/3.18/0001.patch
git apply $cvePatches/CVE-2017-12146/3.16+/0001.patch
git apply $cvePatches/CVE-2017-14897/ANY/0001.patch
git apply $cvePatches/CVE-2017-15265/^4.14/0001.patch
git apply $cvePatches/CVE-2017-15868/ANY/0001.patch
git apply $cvePatches/CVE-2017-16525/^4.13/0002.patch
git apply $cvePatches/CVE-2017-16526/^4.13/0001.patch
git apply $cvePatches/CVE-2017-16530/^4.13/0001.patch
git apply $cvePatches/CVE-2017-16531/^4.13/0001.patch
git apply $cvePatches/CVE-2017-16532/^4.13/0001.patch
git apply $cvePatches/CVE-2017-16533/^4.13/0001.patch
git apply $cvePatches/CVE-2017-16535/^4.13/0001.patch
git apply $cvePatches/CVE-2017-16537/^4.13/0001.patch
git apply $cvePatches/CVE-2017-16538/^4.13/0001.patch
git apply $cvePatches/CVE-2017-16538/^4.13/0002.patch
git apply $cvePatches/CVE-2017-16643/3.5+/0001.patch
git apply $cvePatches/CVE-2017-16645/ANY/0001.patch
git apply $cvePatches/CVE-2017-16646/ANY/0001.patch
git apply $cvePatches/CVE-2017-16650/ANY/0001.patch
git apply $cvePatches/CVE-2017-16USB/ANY/0001.patch
git apply $cvePatches/CVE-2017-16USB/ANY/0005.patch
git apply $cvePatches/CVE-2017-16USB/ANY/0006.patch
git apply $cvePatches/CVE-2017-16USB/ANY/0009.patch
git apply $cvePatches/CVE-2017-2671/^4.10/0001.patch
git apply $cvePatches/CVE-2017-5669/^4.9/0001.patch
git apply $cvePatches/CVE-2017-5972/ANY/0002.patch
git apply $cvePatches/CVE-2017-5986/^4.9/0001.patch
git apply $cvePatches/CVE-2017-6001/^4.9/0002.patch
git apply $cvePatches/CVE-2017-6345/^4.9/0001.patch
git apply $cvePatches/CVE-2017-6346/3.18/0001.patch
git apply $cvePatches/CVE-2017-6348/^4.9/0001.patch
git apply $cvePatches/CVE-2017-6353/^4.10/0001.patch
git apply $cvePatches/CVE-2017-7371/3.18/0001.patch
git apply $cvePatches/CVE-2017-7372/ANY/0001.patch
git apply $cvePatches/CVE-2017-7472/ANY/0001.patch
git apply $cvePatches/CVE-2017-7487/ANY/0001.patch
git apply $cvePatches/CVE-2017-7616/^4.10/0001.patch
git apply $cvePatches/CVE-2017-7618/^4.10/0002.patch
git apply $cvePatches/CVE-2017-8247/ANY/0001.patch
git apply $cvePatches/CVE-2017-8280/ANY/0001.patch
git apply $cvePatches/CVE-2017-9075/^4.11/0001.patch
git apply $cvePatches/CVE-2017-9242/^4.11/0001.patch
git apply $cvePatches/CVE-2017-9676/3.18/0002.patch
git apply $cvePatches/CVE-2017-9686/ANY/0001.patch
git apply $cvePatches/CVE-2017-9687/3.18/0001.patch
git apply $cvePatches/CVE-2017-9690/3.18/0001.patch
git apply $cvePatches/CVE-2017-9697/3.18/0001.patch
git apply $cvePatches/CVE-2017-9700/ANY/0001.patch
git apply $cvePatches/CVE-2017-9719/3.18/0001.patch
git apply $cvePatches/CVE-2017-9720/3.18/0002.patch
git apply $cvePatches/CVE-2017-9722/3.18/0001.patch
git apply $cvePatches/Untracked/ANY/0002-ozwpan-Use-unsigned-ints-to-prevent-heap-overflow.patch
git apply $cvePatches/Untracked/ANY/0003-tunnels-Don-t-apply-GRO-to-multiple-layers-of-encaps.patch
git apply $cvePatches/Untracked/ANY/0005-tcp-fix-zero-cwnd-in-tcp_cwnd_reduction.patch
git apply $cvePatches/Untracked/ANY/0007-USB-usbip-fix-potential-out-of-bounds-write.patch
git apply $cvePatches/Untracked/ANY/0008-nfsd-check-for-oversized-NFSv2-v3-arguments.patch
cd $base