Update CVE pathcers against new patches

This commit is contained in:
Tad 2017-11-07 20:00:37 -05:00
parent 7da9d77ed3
commit 8ed308c888
22 changed files with 750 additions and 744 deletions

View File

@ -1,64 +0,0 @@
From a1b9bc540f4af79bd23e01ec08429e0efa4d2f7b Mon Sep 17 00:00:00 2001
From: Qidan He <i@flanker017.me>
Date: Thu, 13 Oct 2016 16:27:46 -0700
Subject: [PATCH] net: ping: Fix stack buffer overflow in ping_common_sendmsg()
In ping_common_sendmsg(), when len < icmph_len, memcpy_fromiovec()
will access invalid memory because msg->msg_iov only has 1 element
and memcpy_fromiovec() attempts to increment it. KASAN report:
BUG: KASAN: stack-out-of-bounds in memcpy_fromiovec+0x60/0x114 at addr ffffffc071077da0
Read of size 8 by task trinity-c2/9623
page:ffffffbe034b9a08 count:0 mapcount:0 mapping: (null) index:0x0
flags: 0x0()
page dumped because: kasan: bad access detected
CPU: 0 PID: 9623 Comm: trinity-c2 Tainted: G BU 3.18.0-dirty #15
Hardware name: Google Tegra210 Smaug Rev 1,3+ (DT)
Call trace:
[<ffffffc000209c98>] dump_backtrace+0x0/0x1ac arch/arm64/kernel/traps.c:90
[<ffffffc000209e54>] show_stack+0x10/0x1c arch/arm64/kernel/traps.c:171
[< inline >] __dump_stack lib/dump_stack.c:15
[<ffffffc000f18dc4>] dump_stack+0x7c/0xd0 lib/dump_stack.c:50
[< inline >] print_address_description mm/kasan/report.c:147
[< inline >] kasan_report_error mm/kasan/report.c:236
[<ffffffc000373dcc>] kasan_report+0x380/0x4b8 mm/kasan/report.c:259
[< inline >] check_memory_region mm/kasan/kasan.c:264
[<ffffffc00037352c>] __asan_load8+0x20/0x70 mm/kasan/kasan.c:507
[<ffffffc0005b9624>] memcpy_fromiovec+0x5c/0x114 lib/iovec.c:15
[< inline >] memcpy_from_msg include/linux/skbuff.h:2667
[<ffffffc000ddeba0>] ping_common_sendmsg+0x50/0x108 net/ipv4/ping.c:674
[<ffffffc000dded30>] ping_v4_sendmsg+0xd8/0x698 net/ipv4/ping.c:714
[<ffffffc000dc91dc>] inet_sendmsg+0xe0/0x12c net/ipv4/af_inet.c:749
[< inline >] __sock_sendmsg_nosec net/socket.c:624
[< inline >] __sock_sendmsg net/socket.c:632
[<ffffffc000cab61c>] sock_sendmsg+0x124/0x164 net/socket.c:643
[< inline >] SYSC_sendto net/socket.c:1797
[<ffffffc000cad270>] SyS_sendto+0x178/0x1d8 net/socket.c:1761
Memory state around the buggy address:
ffffffc071077c80: f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 00 f1 f1
ffffffc071077d00: f1 f1 04 f4 f4 f4 f2 f2 f2 f2 04 f4 f4 f4 f2 f2
>ffffffc071077d80: f2 f2 00 00 f4 f4 f2 f2 f2 f2 00 00 00 00 00 00
^
ffffffc071077e00: 00 f4 f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 00
ffffffc071077e80: 00 00 00 00 00 00 f3 f3 f3 f3 00 00 00 00 00 00
Bug: 31349935
Change-Id: Ib7385fc26dfe7e07e9bab42a10ff65a37cbaab54
Signed-off-by: Siqi Lin <siqilin@google.com>
---
net/ipv4/ping.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ipv4/ping.c b/net/ipv4/ping.c
index f8c8f60ad7e25..aaa70dd666674 100644
--- a/net/ipv4/ping.c
+++ b/net/ipv4/ping.c
@@ -651,7 +651,7 @@ int ping_common_sendmsg(int family, struct msghdr *msg, size_t len,
void *user_icmph, size_t icmph_len) {
u8 type, code;
- if (len > 0xFFFF)
+ if (len > 0xFFFF || len < icmph_len)
return -EMSGSIZE;
/*

View File

@ -1078,7 +1078,6 @@ CVE-2016-8394
CVE-2016-8399 CVE-2016-8399
Pulled Pulled
Link - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0eab121ef8750a5c8637d51534d5e9143fb0633f Link - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0eab121ef8750a5c8637d51534d5e9143fb0633f
Link - https://github.com/aosp-mirror/kernel_msm/commit/a1b9bc540f4af79bd23e01ec08429e0efa4d2f7b
CVE-2016-8401 CVE-2016-8401
Pulled Pulled
Link - https://github.com/aosp-mirror/kernel_msm/commit/44a8e527e156245eff04ff36f426cb1ba8d23e34 Link - https://github.com/aosp-mirror/kernel_msm/commit/44a8e527e156245eff04ff36f426cb1ba8d23e34

View File

@ -1,9 +1,13 @@
#!/bin/bash #!/bin/bash
cd $base"kernel/asus/msm8916" cd $base"kernel/asus/msm8916"
git apply $cvePatches/CVE-2016-10233/3.10/1.patch git apply --whitespace=fix $cvePatches/CVE-2012-6703/ANY/0001.patch
git apply $cvePatches/CVE-2016-6672/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-1583/ANY/0001.patch
git apply $cvePatches/CVE-2016-8394/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6672/ANY/0001.patch
git apply $cvePatches/CVE-2017-0648/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6693/ANY/0001.patch
git apply $cvePatches/CVE-2017-0750/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6696/ANY/0001.patch
git apply $cvePatches/LVT-2017-0003/3.10/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-8394/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-8481/ANY/0003.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0648/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0750/ANY/0001.patch
git apply --whitespace=fix $cvePatches/LVT-2017-0003/3.10/0001.patch
cd $base cd $base

View File

@ -1,8 +1,10 @@
#!/bin/bash #!/bin/bash
cd $base"kernel/fairphone/msm8974" cd $base"kernel/fairphone/msm8974"
git apply $cvePatches/CVE-2016-3672/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2012-6703/ANY/0001.patch
git apply $cvePatches/CVE-2017-0430/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-0801/ANY/0001.patch
git apply $cvePatches/CVE-2017-0750/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-1583/ANY/0001.patch
git apply $cvePatches/CVE-2017-0786/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0430/ANY/0001.patch
git apply $cvePatches/CVE-2017-6348/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0750/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0786/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-6348/^4.9/0001.patch
cd $base cd $base

View File

@ -1,68 +1,85 @@
#!/bin/bash #!/bin/bash
cd $base"kernel/google/marlin" cd $base"kernel/google/marlin"
git apply $cvePatches/CVE-2014-9900/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2012-6703/ANY/0001.patch
git apply $cvePatches/CVE-2015-2041/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2014-9900/ANY/0001.patch
git apply $cvePatches/CVE-2015-7515/^4.4/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-2041/^3.19/0002.patch
git apply $cvePatches/CVE-2015-8966/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-7515/^4.4/0002.patch
git apply $cvePatches/CVE-2016-10088/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-8966/3.15+/0001.patch
git apply $cvePatches/CVE-2016-10153/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-10044/ANY/0001.patch
git apply $cvePatches/CVE-2016-10231/ANY/1.patch git apply --whitespace=fix $cvePatches/CVE-2016-10088/ANY/0001.patch
git apply $cvePatches/CVE-2016-2187/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-1583/ANY/0001.patch
git apply $cvePatches/CVE-2016-2544/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2187/ANY/0001.patch
git apply $cvePatches/CVE-2016-2549/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2544/ANY/0001.patch
git apply $cvePatches/CVE-2016-2847/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2549/^4.4/0001.patch
git apply $cvePatches/CVE-2016-3136/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2847/ANY/0001.patch
git apply $cvePatches/CVE-2016-3137/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3136/ANY/0001.patch
git apply $cvePatches/CVE-2016-3140/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3137/ANY/0001.patch
git apply $cvePatches/CVE-2016-3156/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3140/ANY/0001.patch
git apply $cvePatches/CVE-2016-3865/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3156/ANY/0001.patch
git apply $cvePatches/CVE-2016-3865/ANY/1.patch git apply --whitespace=fix $cvePatches/CVE-2016-3672/ANY/0001.patch
git apply $cvePatches/CVE-2016-3906/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3857/ANY/0001.patch
git apply $cvePatches/CVE-2016-5342/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3865/ANY/0001.patch
git apply $cvePatches/CVE-2016-5345/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3865/ANY/0002.patch
git apply $cvePatches/CVE-2016-5854/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3906/ANY/0001.patch
git apply $cvePatches/CVE-2016-5856/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-5342/ANY/0001.patch
git apply $cvePatches/CVE-2016-5857/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-5345/ANY/0001.patch
git apply $cvePatches/CVE-2016-5867/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-5854/ANY/0001.patch
git apply $cvePatches/CVE-2016-5870/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-5856/ANY/0001.patch
git apply $cvePatches/CVE-2016-6672/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-5857/ANY/0001.patch
git apply $cvePatches/CVE-2016-7042/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-5858/ANY/0001.patch
git apply $cvePatches/CVE-2016-8418/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-5867/3.18/0002.patch
git apply $cvePatches/CVE-2016-8483/3.18/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-5870/ANY/0001.patch
git apply $cvePatches/CVE-2016-9191/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6672/ANY/0001.patch
git apply $cvePatches/CVE-2016-9604/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6693/ANY/0001.patch
git apply $cvePatches/CVE-2017-0510/3.18/1.patch git apply --whitespace=fix $cvePatches/CVE-2016-6694/ANY/0001.patch
git apply $cvePatches/CVE-2017-0537/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6695/ANY/0001.patch
git apply $cvePatches/CVE-2017-0622/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6696/ANY/0001.patch
git apply $cvePatches/CVE-2017-0627/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-7042/ANY/0001.patch
git apply $cvePatches/CVE-2017-0749/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-8418/ANY/0001.patch
git apply $cvePatches/CVE-2017-0750/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-8483/ANY/0001.patch
git apply $cvePatches/CVE-2017-1000365/3.18/1.patch git apply --whitespace=fix $cvePatches/CVE-2016-9604/ANY/0001.patch
git apply $cvePatches/CVE-2017-10998/3.18/1.patch git apply --whitespace=fix $cvePatches/CVE-2017-0510/3.18/0003.patch
git apply $cvePatches/CVE-2017-11001/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0524/ANY/0001.patch
git apply $cvePatches/CVE-2017-11002/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0537/ANY/0001.patch
git apply $cvePatches/CVE-2017-12146/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0622/3.18/0001.patch
git apply $cvePatches/CVE-2017-15265/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0627/ANY/0001.patch
git apply $cvePatches/CVE-2017-2671/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0749/ANY/0001.patch
git apply $cvePatches/CVE-2017-5669/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0750/ANY/0001.patch
git apply $cvePatches/CVE-2017-5986/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-1000365/3.18/0002.patch
git apply $cvePatches/CVE-2017-6345/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-1000380/^4.11/0001.patch
git apply $cvePatches/CVE-2017-6346/3.18/1.patch git apply --whitespace=fix $cvePatches/CVE-2017-10998/ANY/0001.patch
git apply $cvePatches/CVE-2017-6348/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-11001/ANY/0001.patch
git apply $cvePatches/CVE-2017-6353/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-11002/ANY/0002.patch
git apply $cvePatches/CVE-2017-6951/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-11025/ANY/0001.patch
git apply $cvePatches/CVE-2017-7371/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-11032/ANY/0001.patch
git apply $cvePatches/CVE-2017-7372/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-11046/ANY/0001.patch
git apply $cvePatches/CVE-2017-7472/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-11048/ANY/0001.patch
git apply $cvePatches/CVE-2017-7487/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-11057/ANY/0001.patch
git apply $cvePatches/CVE-2017-7616/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-11067/ANY/0001.patch
git apply $cvePatches/CVE-2017-7618/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-11600/ANY/0001.patch
git apply $cvePatches/CVE-2017-8247/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-12146/ANY/0001.patch
git apply $cvePatches/CVE-2017-8280/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-15265/^4.14/0001.patch
git apply $cvePatches/CVE-2017-9075/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-2671/^4.10/0001.patch
git apply $cvePatches/CVE-2017-9242/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-5669/^4.9/0001.patch
git apply $cvePatches/CVE-2017-9676/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-5986/^4.9/0001.patch
git apply $cvePatches/CVE-2017-9686/3.18/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-6001/ANY/0001.patch
git apply $cvePatches/CVE-2017-9687/3.18/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-6345/^4.9/0001.patch
git apply $cvePatches/CVE-2017-9697/3.18/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-6348/^4.9/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-6353/^4.10/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7187/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7371/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7372/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7472/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7487/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7616/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7618/^4.10/0002.patch
git apply --whitespace=fix $cvePatches/CVE-2017-8247/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-8280/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-9075/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-9242/^4.11/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-9676/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-9686/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-9697/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-9719/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-9720/ANY/0001.patch
cd $base cd $base

View File

@ -1,17 +1,20 @@
#!/bin/bash #!/bin/bash
cd $base"kernel/google/msm" cd $base"kernel/google/msm"
git apply $cvePatches/CVE-2014-9781/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2012-6703/ANY/0001.patch
git apply $cvePatches/CVE-2015-1593/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2013-4738/ANY/0002.patch
git apply $cvePatches/CVE-2016-3859/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2014-9781/ANY/0001.patch
git apply $cvePatches/CVE-2016-8402/3.4/1.patch git apply --whitespace=fix $cvePatches/CVE-2015-1593/ANY/0001.patch
git apply $cvePatches/CVE-2016-8404/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-1583/ANY/0001.patch
git apply $cvePatches/CVE-2017-0648/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3857/ANY/0001.patch
git apply $cvePatches/CVE-2017-0710/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3894/ANY/0001.patch
git apply $cvePatches/CVE-2017-0750/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-8402/3.4/0001.patch
git apply $cvePatches/CVE-2017-0751/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-8404/ANY/0001.patch
git apply $cvePatches/CVE-2017-0786/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0648/ANY/0001.patch
git apply $cvePatches/CVE-2017-13080/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0710/ANY/0001.patch
git apply $cvePatches/CVE-2017-13080-Extra/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0750/ANY/0001.patch
git apply $cvePatches/CVE-2017-13080-Extra/ANY/1.patch git apply --whitespace=fix $cvePatches/CVE-2017-0751/ANY/0001.patch
git apply $cvePatches/CVE-2017-15265/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0786/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-13080/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-15265/^4.14/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7187/ANY/0001.patch
cd $base cd $base

View File

@ -1,28 +1,33 @@
#!/bin/bash #!/bin/bash
cd $base"kernel/htc/flounder" cd $base"kernel/htc/flounder"
git apply $cvePatches/CVE-2014-9892/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2012-6703/ANY/0001.patch
git apply $cvePatches/CVE-2014-9900/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2014-9892/ANY/0001.patch
git apply $cvePatches/CVE-2015-4177/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2014-9900/ANY/0001.patch
git apply $cvePatches/CVE-2015-7515/^4.4/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-7515/^4.4/0002.patch
git apply $cvePatches/CVE-2015-8944/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-8944/ANY/0001.patch
git apply $cvePatches/CVE-2016-2475/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-8955/ANY/0001.patch
git apply $cvePatches/CVE-2016-8453/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-0819/ANY/0001.patch
git apply $cvePatches/CVE-2016-8464/3.10/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-1583/ANY/0001.patch
git apply $cvePatches/CVE-2016-8650/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2475/ANY/0001.patch
git apply $cvePatches/CVE-2016-9604/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-8453/ANY/0001.patch
git apply $cvePatches/CVE-2017-0449/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-8464/3.10/0001.patch
git apply $cvePatches/CVE-2017-0537/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-8650/ANY/0001.patch
git apply $cvePatches/CVE-2017-0750/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-9604/ANY/0001.patch
git apply $cvePatches/CVE-2017-1000365/3.10/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0449/ANY/0001.patch
git apply $cvePatches/CVE-2017-10996/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0537/ANY/0001.patch
git apply $cvePatches/CVE-2017-15265/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0750/ANY/0001.patch
git apply $cvePatches/CVE-2017-2671/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0794/ANY/0001.patch
git apply $cvePatches/CVE-2017-5669/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-1000365/3.10/0001.patch
git apply $cvePatches/CVE-2017-5970/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-1000380/^4.11/0001.patch
git apply $cvePatches/CVE-2017-6345/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-10996/ANY/0001.patch
git apply $cvePatches/CVE-2017-6348/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-15265/^4.14/0001.patch
git apply $cvePatches/CVE-2017-6951/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-2671/^4.10/0001.patch
git apply $cvePatches/CVE-2017-7472/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-5669/^4.9/0001.patch
git apply $cvePatches/CVE-2017-9242/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-5970/ANY/0001.patch
git apply $cvePatches/LVT-2017-0003/3.10/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-6345/^4.9/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-6348/^4.9/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-6951/^3.14/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7472/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-9242/^4.11/0001.patch
git apply --whitespace=fix $cvePatches/LVT-2017-0003/3.10/0001.patch
cd $base cd $base

View File

@ -1,12 +1,15 @@
#!/bin/bash #!/bin/bash
cd $base"kernel/htc/msm8974" cd $base"kernel/htc/msm8974"
git apply $cvePatches/CVE-2014-1739/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2012-6703/ANY/0001.patch
git apply $cvePatches/CVE-2014-9715/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2014-1739/ANY/0001.patch
git apply $cvePatches/CVE-2014-9781/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2014-9715/^3.14/0002.patch
git apply $cvePatches/CVE-2015-1593/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2014-9781/ANY/0001.patch
git apply $cvePatches/CVE-2016-2443/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-1593/ANY/0001.patch
git apply $cvePatches/CVE-2016-8404/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-1583/ANY/0001.patch
git apply $cvePatches/CVE-2017-0750/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2443/ANY/0001.patch
git apply $cvePatches/CVE-2017-0786/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-8404/ANY/0001.patch
git apply $cvePatches/CVE-2017-15265/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0610/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0750/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0786/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-15265/^4.14/0001.patch
cd $base cd $base

View File

@ -1,115 +1,73 @@
#!/bin/bash #!/bin/bash
cd $base"kernel/htc/msm8994" cd $base"kernel/htc/msm8994"
git apply $cvePatches/CVE-2014-9781/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6693/ANY/0001.patch
git apply $cvePatches/CVE-2014-9903/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6696/ANY/0001.patch
git apply $cvePatches/CVE-2014-9904/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-8401/ANY/0001.patch
git apply $cvePatches/CVE-2015-8019/3.10/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-8404/ANY/0001.patch
git apply $cvePatches/CVE-2015-8942/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-8413/ANY/0001.patch
git apply $cvePatches/CVE-2015-8964/3.10/1.patch git apply --whitespace=fix $cvePatches/CVE-2016-8417/ANY/0001.patch
git apply $cvePatches/CVE-2015-8967/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-8444/ANY/0001.patch
git apply $cvePatches/CVE-2016-0758/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-8450/ANY/0001.patch
git apply $cvePatches/CVE-2016-10200/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-8477/3.10/0001.patch
git apply $cvePatches/CVE-2016-10230/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-8480/3.10/0001.patch
git apply $cvePatches/CVE-2016-10231/ANY/1.patch git apply --whitespace=fix $cvePatches/CVE-2016-8481/ANY/0001.patch
git apply $cvePatches/CVE-2016-10233/3.10/1.patch git apply --whitespace=fix $cvePatches/CVE-2016-8650/ANY/0001.patch
git apply $cvePatches/CVE-2016-2185/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-9604/ANY/0001.patch
git apply $cvePatches/CVE-2016-2186/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-9754/ANY/0001.patch
git apply $cvePatches/CVE-2016-2187/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-9793/ANY/0001.patch
git apply $cvePatches/CVE-2016-2544/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-9794/ANY/0001.patch
git apply $cvePatches/CVE-2016-3134/3.10/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0404/^3.18/0001.patch
git apply $cvePatches/CVE-2016-3136/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0427/3.10/0001.patch
git apply $cvePatches/CVE-2016-3137/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0445/ANY/0001.patch
git apply $cvePatches/CVE-2016-3140/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0452/ANY/0001.patch
git apply $cvePatches/CVE-2016-3672/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0457/3.10/0002.patch
git apply $cvePatches/CVE-2016-3689/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0516/ANY/0001.patch
git apply $cvePatches/CVE-2016-3809/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0520/ANY/0001.patch
git apply $cvePatches/CVE-2016-3857/3.10/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0524/ANY/0001.patch
git apply $cvePatches/CVE-2016-3865/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0537/ANY/0001.patch
git apply $cvePatches/CVE-2016-3865/ANY/1.patch git apply --whitespace=fix $cvePatches/CVE-2017-0576/ANY/0001.patch
git apply $cvePatches/CVE-2016-3906/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0604/ANY/0001.patch
git apply $cvePatches/CVE-2016-3907/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0606/ANY/0001.patch
git apply $cvePatches/CVE-2016-3934/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0607/ANY/0001.patch
git apply $cvePatches/CVE-2016-5345/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0610/ANY/0001.patch
git apply $cvePatches/CVE-2016-5346/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0611/ANY/0001.patch
git apply $cvePatches/CVE-2016-5347/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0620/ANY/0001.patch
git apply $cvePatches/CVE-2016-5853/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0621/ANY/0001.patch
git apply $cvePatches/CVE-2016-5867/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0627/ANY/0001.patch
git apply $cvePatches/CVE-2016-5870/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0631/ANY/0001.patch
git apply $cvePatches/CVE-2016-6672/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0648/ANY/0001.patch
git apply $cvePatches/CVE-2016-6738/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0710/ANY/0001.patch
git apply $cvePatches/CVE-2016-6751/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0746/ANY/0001.patch
git apply $cvePatches/CVE-2016-6753/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0748/ANY/0001.patch
git apply $cvePatches/CVE-2016-7915/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0750/ANY/0001.patch
git apply $cvePatches/CVE-2016-8399/ANY/1.patch git apply --whitespace=fix $cvePatches/CVE-2017-0751/ANY/0001.patch
git apply $cvePatches/CVE-2016-8401/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0794/ANY/0001.patch
git apply $cvePatches/CVE-2016-8404/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-1000365/3.10/0001.patch
git apply $cvePatches/CVE-2016-8413/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-1000380/^4.11/0001.patch
git apply $cvePatches/CVE-2016-8417/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-10999/ANY/0001.patch
git apply $cvePatches/CVE-2016-8444/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-11024/ANY/0001.patch
git apply $cvePatches/CVE-2016-8450/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-11046/ANY/0001.patch
git apply $cvePatches/CVE-2016-8479/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-11048/ANY/0001.patch
git apply $cvePatches/CVE-2016-8483/3.10/1.patch git apply --whitespace=fix $cvePatches/CVE-2017-11056/ANY/0001.patch
git apply $cvePatches/CVE-2016-8650/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-11059/ANY/0001.patch
git apply $cvePatches/CVE-2016-9604/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-15265/^4.14/0001.patch
git apply $cvePatches/CVE-2016-9754/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-2618/3.10/0001.patch
git apply $cvePatches/CVE-2016-9793/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-2671/^4.10/0001.patch
git apply $cvePatches/CVE-2017-0403/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-5669/^4.9/0001.patch
git apply $cvePatches/CVE-2017-0404/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-5970/ANY/0001.patch
git apply $cvePatches/CVE-2017-0427/3.10/1.patch git apply --whitespace=fix $cvePatches/CVE-2017-6074/ANY/0001.patch
git apply $cvePatches/CVE-2017-0436/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-6345/^4.9/0001.patch
git apply $cvePatches/CVE-2017-0446/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-6348/^4.9/0001.patch
git apply $cvePatches/CVE-2017-0452/ANY/1.patch git apply --whitespace=fix $cvePatches/CVE-2017-6951/^3.14/0001.patch
git apply $cvePatches/CVE-2017-0457/3.10/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-7187/ANY/0001.patch
git apply $cvePatches/CVE-2017-0457/3.10/1.patch git apply --whitespace=fix $cvePatches/CVE-2017-7308/ANY/0003.patch
git apply $cvePatches/CVE-2017-0459/3.10/1.patch git apply --whitespace=fix $cvePatches/CVE-2017-7369/3.10/0001.patch
git apply $cvePatches/CVE-2017-0460/3.10/1.patch git apply --whitespace=fix $cvePatches/CVE-2017-7472/ANY/0001.patch
git apply $cvePatches/CVE-2017-0463/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-8246/3.10/0001.patch
git apply $cvePatches/CVE-2017-0510/ANY/2.patch git apply --whitespace=fix $cvePatches/CVE-2017-8261/ANY/0001.patch
git apply $cvePatches/CVE-2017-0516/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-8265/ANY/0001.patch
git apply $cvePatches/CVE-2017-0520/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-8280/ANY/0001.patch
git apply $cvePatches/CVE-2017-0523/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-9242/^4.11/0001.patch
git apply $cvePatches/CVE-2017-0537/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-9706/ANY/0001.patch
git apply $cvePatches/CVE-2017-0576/ANY/0.patch git apply --whitespace=fix $cvePatches/LVT-2017-0003/3.10/0001.patch
git apply $cvePatches/CVE-2017-0604/ANY/0.patch
git apply $cvePatches/CVE-2017-0606/ANY/0.patch
git apply $cvePatches/CVE-2017-0607/ANY/0.patch
git apply $cvePatches/CVE-2017-0611/ANY/0.patch
git apply $cvePatches/CVE-2017-0620/ANY/0.patch
git apply $cvePatches/CVE-2017-0621/ANY/0.patch
git apply $cvePatches/CVE-2017-0627/ANY/0.patch
git apply $cvePatches/CVE-2017-0631/ANY/0.patch
git apply $cvePatches/CVE-2017-0648/ANY/0.patch
git apply $cvePatches/CVE-2017-0710/ANY/0.patch
git apply $cvePatches/CVE-2017-0746/ANY/0.patch
git apply $cvePatches/CVE-2017-0748/ANY/0.patch
git apply $cvePatches/CVE-2017-0750/ANY/0.patch
git apply $cvePatches/CVE-2017-0751/ANY/0.patch
git apply $cvePatches/CVE-2017-1000365/3.10/0.patch
git apply $cvePatches/CVE-2017-10999/ANY/0.patch
git apply $cvePatches/CVE-2017-11046/3.10/0.patch
git apply $cvePatches/CVE-2017-11048/3.10/0.patch
git apply $cvePatches/CVE-2017-11056/3.10/0.patch
git apply $cvePatches/CVE-2017-11059/3.10/0.patch
git apply $cvePatches/CVE-2017-15265/ANY/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-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
git apply $cvePatches/CVE-2017-7373/3.10/1.patch
git apply $cvePatches/CVE-2017-7472/ANY/0.patch
git apply $cvePatches/CVE-2017-8242/ANY/0.patch
git apply $cvePatches/CVE-2017-8246/3.10/0.patch
git apply $cvePatches/CVE-2017-8251/3.10/0.patch
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-9242/ANY/0.patch
git apply $cvePatches/CVE-2017-9706/3.10/0.patch
git apply $cvePatches/LVT-2017-0003/3.10/0.patch
cd $base cd $base

View File

@ -1,61 +1,72 @@
#!/bin/bash #!/bin/bash
cd $base"kernel/huawei/angler" cd $base"kernel/huawei/angler"
git apply $cvePatches/CVE-2014-8160/^3.18/0.patch git apply --whitespace=fix $cvePatches/CVE-2012-6703/ANY/0001.patch
git apply $cvePatches/CVE-2014-8173/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2014-8160/^3.18/0002.patch
git apply $cvePatches/CVE-2014-9781/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2014-9781/ANY/0001.patch
git apply $cvePatches/CVE-2015-2041/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-0573/ANY/0001.patch
git apply $cvePatches/CVE-2015-4170/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-2041/^3.19/0002.patch
git apply $cvePatches/CVE-2015-4177/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-5366/3.10/0001.patch
git apply $cvePatches/CVE-2015-7515/^4.4/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-7515/^4.4/0002.patch
git apply $cvePatches/CVE-2015-7550/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-7550/^4.3/0001.patch
git apply $cvePatches/CVE-2016-0805/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-0805/ANY/0001.patch
git apply $cvePatches/CVE-2016-10231/ANY/1.patch git apply --whitespace=fix $cvePatches/CVE-2016-0843/ANY/0001.patch
git apply $cvePatches/CVE-2016-10233/3.10/1.patch git apply --whitespace=fix $cvePatches/CVE-2016-1583/ANY/0001.patch
git apply $cvePatches/CVE-2016-2063/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2063/ANY/0001.patch
git apply $cvePatches/CVE-2016-2185/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2185/ANY/0001.patch
git apply $cvePatches/CVE-2016-2186/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2186/ANY/0001.patch
git apply $cvePatches/CVE-2016-2187/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2187/ANY/0001.patch
git apply $cvePatches/CVE-2016-2384/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2384/^4.5/0001.patch
git apply $cvePatches/CVE-2016-2475/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2438/ANY/0001.patch
git apply $cvePatches/CVE-2016-2544/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2469/3.10/0001.patch
git apply $cvePatches/CVE-2016-2545/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2475/ANY/0001.patch
git apply $cvePatches/CVE-2016-2547/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2544/ANY/0001.patch
git apply $cvePatches/CVE-2016-2549/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2545/^4.4/0001.patch
git apply $cvePatches/CVE-2016-3070/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2549/^4.4/0001.patch
git apply $cvePatches/CVE-2016-3134/3.10/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3070/ANY/0001.patch
git apply $cvePatches/CVE-2016-3136/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3136/ANY/0001.patch
git apply $cvePatches/CVE-2016-3137/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3137/ANY/0001.patch
git apply $cvePatches/CVE-2016-3138/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3138/ANY/0001.patch
git apply $cvePatches/CVE-2016-3140/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3140/ANY/0001.patch
git apply $cvePatches/CVE-2016-3672/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3689/ANY/0001.patch
git apply $cvePatches/CVE-2016-3689/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3857/ANY/0001.patch
git apply $cvePatches/CVE-2016-3857/3.10/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3865/ANY/0001.patch
git apply $cvePatches/CVE-2016-5342/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3894/ANY/0001.patch
git apply $cvePatches/CVE-2016-5345/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-5342/ANY/0001.patch
git apply $cvePatches/CVE-2016-5859/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-5345/ANY/0001.patch
git apply $cvePatches/CVE-2016-5867/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-5858/ANY/0001.patch
git apply $cvePatches/CVE-2016-5870/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-5859/3.10/0001.patch
git apply $cvePatches/CVE-2016-6672/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-5867/3.10/0001.patch
git apply $cvePatches/CVE-2016-8404/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-5868/3.10/0001.patch
git apply $cvePatches/CVE-2016-9604/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-5870/ANY/0001.patch
git apply $cvePatches/CVE-2017-0436/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6672/ANY/0001.patch
git apply $cvePatches/CVE-2017-0510/3.10/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6693/ANY/0001.patch
git apply $cvePatches/CVE-2017-0516/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6694/ANY/0001.patch
git apply $cvePatches/CVE-2017-0523/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6695/ANY/0001.patch
git apply $cvePatches/CVE-2017-0537/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6696/ANY/0001.patch
git apply $cvePatches/CVE-2017-0648/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-8404/ANY/0001.patch
git apply $cvePatches/CVE-2017-1000365/3.10/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-8481/ANY/0001.patch
git apply $cvePatches/CVE-2017-15265/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-9604/ANY/0001.patch
git apply $cvePatches/CVE-2017-2618/3.10/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0510/3.10/0002.patch
git apply $cvePatches/CVE-2017-2671/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0516/ANY/0001.patch
git apply $cvePatches/CVE-2017-5669/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0524/ANY/0001.patch
git apply $cvePatches/CVE-2017-5967/3.10/1.patch git apply --whitespace=fix $cvePatches/CVE-2017-0537/ANY/0001.patch
git apply $cvePatches/CVE-2017-6345/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0648/ANY/0001.patch
git apply $cvePatches/CVE-2017-6348/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0824/ANY/0001.patch
git apply $cvePatches/CVE-2017-6951/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-1000365/3.10/0001.patch
git apply $cvePatches/CVE-2017-7472/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-1000380/^4.11/0001.patch
git apply $cvePatches/CVE-2017-7487/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-11024/ANY/0001.patch
git apply $cvePatches/CVE-2017-8280/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-15265/^4.14/0001.patch
git apply $cvePatches/CVE-2017-9242/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-2618/3.10/0001.patch
git apply $cvePatches/LVT-2017-0003/3.10/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-2671/^4.10/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-5669/^4.9/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-6001/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-6345/^4.9/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-6348/^4.9/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-6951/^3.14/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7187/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7472/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7487/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-8280/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-9242/^4.11/0001.patch
git apply --whitespace=fix $cvePatches/LVT-2017-0003/3.10/0001.patch
cd $base cd $base

View File

@ -1,56 +1,65 @@
#!/bin/bash #!/bin/bash
cd $base"kernel/lge/bullhead" cd $base"kernel/lge/bullhead"
git apply $cvePatches/CVE-2014-8160/^3.18/0.patch git apply --whitespace=fix $cvePatches/CVE-2012-6703/ANY/0001.patch
git apply $cvePatches/CVE-2014-8173/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2014-8160/^3.18/0002.patch
git apply $cvePatches/CVE-2014-9781/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2014-9781/ANY/0001.patch
git apply $cvePatches/CVE-2015-2041/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-0573/ANY/0001.patch
git apply $cvePatches/CVE-2015-4170/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-2041/^3.19/0002.patch
git apply $cvePatches/CVE-2015-4177/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-5366/3.10/0001.patch
git apply $cvePatches/CVE-2015-7515/^4.4/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-7515/^4.4/0002.patch
git apply $cvePatches/CVE-2015-7550/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-7550/^4.3/0001.patch
git apply $cvePatches/CVE-2016-0805/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-0805/ANY/0001.patch
git apply $cvePatches/CVE-2016-10231/ANY/1.patch git apply --whitespace=fix $cvePatches/CVE-2016-0843/ANY/0001.patch
git apply $cvePatches/CVE-2016-10233/3.10/1.patch git apply --whitespace=fix $cvePatches/CVE-2016-1583/ANY/0001.patch
git apply $cvePatches/CVE-2016-2063/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2063/ANY/0001.patch
git apply $cvePatches/CVE-2016-2185/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2185/ANY/0001.patch
git apply $cvePatches/CVE-2016-2186/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2186/ANY/0001.patch
git apply $cvePatches/CVE-2016-2187/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2187/ANY/0001.patch
git apply $cvePatches/CVE-2016-2384/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2384/^4.5/0001.patch
git apply $cvePatches/CVE-2016-2544/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2438/ANY/0001.patch
git apply $cvePatches/CVE-2016-2545/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2469/3.10/0001.patch
git apply $cvePatches/CVE-2016-2547/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2544/ANY/0001.patch
git apply $cvePatches/CVE-2016-2549/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2545/^4.4/0001.patch
git apply $cvePatches/CVE-2016-3070/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2549/^4.4/0001.patch
git apply $cvePatches/CVE-2016-3134/3.10/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3070/ANY/0001.patch
git apply $cvePatches/CVE-2016-3136/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3136/ANY/0001.patch
git apply $cvePatches/CVE-2016-3137/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3137/ANY/0001.patch
git apply $cvePatches/CVE-2016-3140/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3140/ANY/0001.patch
git apply $cvePatches/CVE-2016-3672/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3689/ANY/0001.patch
git apply $cvePatches/CVE-2016-3689/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3857/ANY/0001.patch
git apply $cvePatches/CVE-2016-3857/3.10/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3865/ANY/0002.patch
git apply $cvePatches/CVE-2016-5345/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3894/ANY/0001.patch
git apply $cvePatches/CVE-2016-5859/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-5345/ANY/0001.patch
git apply $cvePatches/CVE-2016-5867/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-5858/ANY/0001.patch
git apply $cvePatches/CVE-2016-5870/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-5859/3.10/0001.patch
git apply $cvePatches/CVE-2016-8404/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-5867/3.10/0001.patch
git apply $cvePatches/CVE-2016-9604/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-5870/ANY/0001.patch
git apply $cvePatches/CVE-2017-0436/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6693/ANY/0001.patch
git apply $cvePatches/CVE-2017-0510/3.10/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6694/ANY/0001.patch
git apply $cvePatches/CVE-2017-0516/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6695/ANY/0001.patch
git apply $cvePatches/CVE-2017-0523/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6696/ANY/0001.patch
git apply $cvePatches/CVE-2017-0537/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-7913/ANY/0001.patch
git apply $cvePatches/CVE-2017-0648/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-8404/ANY/0001.patch
git apply $cvePatches/CVE-2017-1000365/3.10/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-8481/ANY/0001.patch
git apply $cvePatches/CVE-2017-15265/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-9604/ANY/0001.patch
git apply $cvePatches/CVE-2017-2618/3.10/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0510/3.10/0002.patch
git apply $cvePatches/CVE-2017-2671/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0516/ANY/0001.patch
git apply $cvePatches/CVE-2017-5669/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0537/ANY/0001.patch
git apply $cvePatches/CVE-2017-5967/3.10/1.patch git apply --whitespace=fix $cvePatches/CVE-2017-0648/ANY/0001.patch
git apply $cvePatches/CVE-2017-6345/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-1000365/3.10/0001.patch
git apply $cvePatches/CVE-2017-6348/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-1000380/^4.11/0001.patch
git apply $cvePatches/CVE-2017-6951/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-11024/ANY/0001.patch
git apply $cvePatches/CVE-2017-7472/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-15265/^4.14/0001.patch
git apply $cvePatches/CVE-2017-7487/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-2618/3.10/0001.patch
git apply $cvePatches/CVE-2017-9242/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-2671/^4.10/0001.patch
git apply $cvePatches/LVT-2017-0003/3.10/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-5669/^4.9/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-6001/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-6345/^4.9/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-6348/^4.9/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-6951/^3.14/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7187/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7472/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7487/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-9242/^4.11/0001.patch
git apply --whitespace=fix $cvePatches/LVT-2017-0003/3.10/0001.patch
cd $base cd $base

View File

@ -1,22 +1,28 @@
#!/bin/bash #!/bin/bash
cd $base"kernel/lge/hammerhead" cd $base"kernel/lge/hammerhead"
git apply $cvePatches/CVE-2014-9881/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2012-6703/ANY/0001.patch
git apply $cvePatches/CVE-2015-1593/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2014-9881/ANY/0001.patch
git apply $cvePatches/CVE-2016-5829/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2014-9882/ANY/0001.patch
git apply $cvePatches/CVE-2016-8650/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-1593/ANY/0001.patch
git apply $cvePatches/CVE-2016-9604/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-1583/ANY/0001.patch
git apply $cvePatches/CVE-2017-0611/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3894/ANY/0001.patch
git apply $cvePatches/CVE-2017-0710/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-5829/ANY/0001.patch
git apply $cvePatches/CVE-2017-0750/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-8650/ANY/0001.patch
git apply $cvePatches/CVE-2017-0751/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-9604/ANY/0001.patch
git apply $cvePatches/CVE-2017-0786/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0611/ANY/0001.patch
git apply $cvePatches/CVE-2017-2671/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0710/ANY/0001.patch
git apply $cvePatches/CVE-2017-5970/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0750/ANY/0001.patch
git apply $cvePatches/CVE-2017-6074/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0751/ANY/0001.patch
git apply $cvePatches/CVE-2017-6345/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0786/ANY/0001.patch
git apply $cvePatches/CVE-2017-6348/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-2671/^4.10/0001.patch
git apply $cvePatches/CVE-2017-6951/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-5970/ANY/0001.patch
git apply $cvePatches/CVE-2017-7487/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-6074/ANY/0001.patch
git apply $cvePatches/CVE-2017-8247/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-6345/^4.9/0001.patch
git apply $cvePatches/CVE-2017-9242/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-6348/^4.9/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-6951/^3.14/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7308/ANY/0003.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7487/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-8247/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-9242/^4.11/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-9684/ANY/0001.patch
cd $base cd $base

View File

@ -1,6 +1,11 @@
#!/bin/bash #!/bin/bash
cd $base"kernel/lge/mako" cd $base"kernel/lge/mako"
git apply $cvePatches/CVE-2016-8402/3.4/1.patch git apply --whitespace=fix $cvePatches/CVE-2012-6703/ANY/0001.patch
git apply $cvePatches/CVE-2016-8404/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2013-4738/ANY/0002.patch
git apply $cvePatches/CVE-2016-9793/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-1583/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-3857/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-3894/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-8402/3.4/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-8404/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-9793/ANY/0001.patch
cd $base cd $base

View File

@ -1,58 +1,64 @@
#!/bin/bash #!/bin/bash
cd $base"kernel/moto/shamu" cd $base"kernel/moto/shamu"
git apply $cvePatches/CVE-2014-8160/^3.18/0.patch git apply --whitespace=fix $cvePatches/CVE-2012-6703/ANY/0001.patch
git apply $cvePatches/CVE-2014-8173/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2014-8160/^3.18/0002.patch
git apply $cvePatches/CVE-2014-9420/3.2-^3.18/1.patch git apply --whitespace=fix $cvePatches/CVE-2014-9420/ANY/0001.patch
git apply $cvePatches/CVE-2014-9683/3.2-^3.18/1.patch git apply --whitespace=fix $cvePatches/CVE-2014-9683/^3.18/0002.patch
git apply $cvePatches/CVE-2014-9715/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2014-9715/^3.14/0002.patch
git apply $cvePatches/CVE-2014-9781/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2014-9781/ANY/0001.patch
git apply $cvePatches/CVE-2015-1593/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-1593/ANY/0001.patch
git apply $cvePatches/CVE-2015-2041/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-2041/^3.19/0002.patch
git apply $cvePatches/CVE-2015-4170/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-7515/^4.4/0002.patch
git apply $cvePatches/CVE-2015-4177/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-7550/^4.3/0001.patch
git apply $cvePatches/CVE-2015-7515/^4.4/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-8955/ANY/0001.patch
git apply $cvePatches/CVE-2015-7550/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-8967/ANY/0001.patch
git apply $cvePatches/CVE-2015-8967/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-0758/ANY/0001.patch
git apply $cvePatches/CVE-2016-0758/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-1583/ANY/0001.patch
git apply $cvePatches/CVE-2016-10233/3.10/1.patch git apply --whitespace=fix $cvePatches/CVE-2016-2185/ANY/0001.patch
git apply $cvePatches/CVE-2016-2185/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2186/ANY/0001.patch
git apply $cvePatches/CVE-2016-2186/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2187/ANY/0001.patch
git apply $cvePatches/CVE-2016-2187/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2475/ANY/0001.patch
git apply $cvePatches/CVE-2016-2475/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2544/ANY/0001.patch
git apply $cvePatches/CVE-2016-2544/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2545/^4.4/0001.patch
git apply $cvePatches/CVE-2016-2545/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2549/^4.4/0001.patch
git apply $cvePatches/CVE-2016-2549/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3070/ANY/0001.patch
git apply $cvePatches/CVE-2016-3070/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3136/ANY/0001.patch
git apply $cvePatches/CVE-2016-3134/3.10/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3137/ANY/0001.patch
git apply $cvePatches/CVE-2016-3136/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3138/ANY/0001.patch
git apply $cvePatches/CVE-2016-3137/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3140/ANY/0001.patch
git apply $cvePatches/CVE-2016-3138/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3689/ANY/0001.patch
git apply $cvePatches/CVE-2016-3140/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3857/ANY/0001.patch
git apply $cvePatches/CVE-2016-3689/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3865/ANY/0001.patch
git apply $cvePatches/CVE-2016-3857/3.10/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3865/ANY/0002.patch
git apply $cvePatches/CVE-2016-3865/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3894/ANY/0001.patch
git apply $cvePatches/CVE-2016-3865/ANY/1.patch git apply --whitespace=fix $cvePatches/CVE-2016-5342/ANY/0001.patch
git apply $cvePatches/CVE-2016-5342/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-5870/ANY/0001.patch
git apply $cvePatches/CVE-2016-5870/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6672/ANY/0001.patch
git apply $cvePatches/CVE-2016-6672/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6695/ANY/0001.patch
git apply $cvePatches/CVE-2016-8404/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-7913/ANY/0001.patch
git apply $cvePatches/CVE-2016-8464/3.10/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-8404/ANY/0001.patch
git apply $cvePatches/CVE-2016-8650/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-8464/3.10/0001.patch
git apply $cvePatches/CVE-2016-9604/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-8650/ANY/0001.patch
git apply $cvePatches/CVE-2017-0404/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-9604/ANY/0001.patch
git apply $cvePatches/CVE-2017-0537/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0404/^3.18/0001.patch
git apply $cvePatches/CVE-2017-0627/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0524/ANY/0001.patch
git apply $cvePatches/CVE-2017-0648/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0537/ANY/0001.patch
git apply $cvePatches/CVE-2017-0750/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0627/ANY/0001.patch
git apply $cvePatches/CVE-2017-1000365/3.10/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0648/ANY/0001.patch
git apply $cvePatches/CVE-2017-2618/3.10/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0750/ANY/0001.patch
git apply $cvePatches/CVE-2017-2671/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0824/ANY/0001.patch
git apply $cvePatches/CVE-2017-5669/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-1000365/3.10/0001.patch
git apply $cvePatches/CVE-2017-6345/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-1000380/^4.11/0001.patch
git apply $cvePatches/CVE-2017-6348/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-11024/ANY/0001.patch
git apply $cvePatches/CVE-2017-6951/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-2618/3.10/0001.patch
git apply $cvePatches/CVE-2017-7472/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-2671/^4.10/0001.patch
git apply $cvePatches/CVE-2017-7487/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-5669/^4.9/0001.patch
git apply $cvePatches/CVE-2017-8269/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-6345/^4.9/0001.patch
git apply $cvePatches/CVE-2017-9242/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-6348/^4.9/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-6951/^3.14/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7187/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7472/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7487/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-8269/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-9242/^4.11/0001.patch
cd $base cd $base

View File

@ -1,28 +1,39 @@
#!/bin/bash #!/bin/bash
cd $base"kernel/motorola/msm8916" cd $base"kernel/motorola/msm8916"
git apply $cvePatches/CVE-2014-9420/3.2-^3.18/1.patch git apply --whitespace=fix $cvePatches/CVE-2012-6703/ANY/0001.patch
git apply $cvePatches/CVE-2014-9781/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2014-9420/ANY/0001.patch
git apply $cvePatches/CVE-2015-1593/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2014-9781/ANY/0001.patch
git apply $cvePatches/CVE-2015-7515/^4.4/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-1593/ANY/0001.patch
git apply $cvePatches/CVE-2015-8967/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-7515/^4.4/0002.patch
git apply $cvePatches/CVE-2016-10231/ANY/1.patch git apply --whitespace=fix $cvePatches/CVE-2015-8950/ANY/0001.patch
git apply $cvePatches/CVE-2016-10233/3.10/1.patch git apply --whitespace=fix $cvePatches/CVE-2015-8955/ANY/0001.patch
git apply $cvePatches/CVE-2016-3134/3.10/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-8967/ANY/0001.patch
git apply $cvePatches/CVE-2016-3137/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-1583/ANY/0001.patch
git apply $cvePatches/CVE-2016-3672/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3137/ANY/0001.patch
git apply $cvePatches/CVE-2016-3857/3.10/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3857/ANY/0001.patch
git apply $cvePatches/CVE-2016-3865/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3865/ANY/0001.patch
git apply $cvePatches/CVE-2016-3865/ANY/1.patch git apply --whitespace=fix $cvePatches/CVE-2016-3865/ANY/0002.patch
git apply $cvePatches/CVE-2016-3902/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3892/ANY/0001.patch
git apply $cvePatches/CVE-2016-5859/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3894/ANY/0001.patch
git apply $cvePatches/CVE-2016-5867/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3902/ANY/0001.patch
git apply $cvePatches/CVE-2016-6672/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-5858/ANY/0001.patch
git apply $cvePatches/CVE-2017-0457/3.10/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-5858/ANY/0002.patch
git apply $cvePatches/CVE-2017-0457/3.10/1.patch git apply --whitespace=fix $cvePatches/CVE-2016-5859/3.10/0001.patch
git apply $cvePatches/CVE-2017-0648/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-5867/3.10/0001.patch
git apply $cvePatches/CVE-2017-0750/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6672/ANY/0001.patch
git apply $cvePatches/CVE-2017-15265/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6693/ANY/0001.patch
git apply $cvePatches/CVE-2017-6345/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6694/ANY/0001.patch
git apply $cvePatches/CVE-2017-6348/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6695/ANY/0001.patch
git apply $cvePatches/LVT-2017-0003/3.10/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6696/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-8481/ANY/0003.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0457/3.10/0002.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0524/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0648/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0750/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0794/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-11024/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-15265/^4.14/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-6345/^4.9/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-6348/^4.9/0001.patch
git apply --whitespace=fix $cvePatches/LVT-2017-0003/3.10/0001.patch
cd $base cd $base

View File

@ -1,96 +1,96 @@
#!/bin/bash #!/bin/bash
cd $base"kernel/motorola/msm8992" cd $base"kernel/motorola/msm8992"
git apply --whitespace=fix $cvePatches/CVE-2012-6703/ANY/0001.patch git apply $cvePatches/CVE-2012-6703/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2014-9781/ANY/0001.patch git apply $cvePatches/CVE-2014-9781/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2015-0573/ANY/0001.patch git apply $cvePatches/CVE-2015-0573/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2015-8019/3.10/0001.patch git apply $cvePatches/CVE-2015-8019/3.10/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2015-8955/ANY/0001.patch git apply $cvePatches/CVE-2015-8955/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-0758/ANY/0001.patch git apply $cvePatches/CVE-2016-0758/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-0843/ANY/0001.patch git apply $cvePatches/CVE-2016-0843/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-10200/ANY/0001.patch git apply $cvePatches/CVE-2016-10200/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-10230/ANY/0001.patch git apply $cvePatches/CVE-2016-10230/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-10232/3.10/0001.patch git apply $cvePatches/CVE-2016-10232/3.10/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-1583/ANY/0001.patch git apply $cvePatches/CVE-2016-1583/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-2063/ANY/0001.patch git apply $cvePatches/CVE-2016-2063/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-3070/ANY/0001.patch git apply $cvePatches/CVE-2016-3070/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-3857/ANY/0001.patch git apply $cvePatches/CVE-2016-3857/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-3865/ANY/0001.patch git apply $cvePatches/CVE-2016-3865/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-3865/ANY/0002.patch git apply $cvePatches/CVE-2016-3865/ANY/0002.patch
git apply --whitespace=fix $cvePatches/CVE-2016-3867/3.10/0001.patch git apply $cvePatches/CVE-2016-3867/3.10/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-3892/ANY/0001.patch git apply $cvePatches/CVE-2016-3892/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-3894/ANY/0001.patch git apply $cvePatches/CVE-2016-3894/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-3902/ANY/0001.patch git apply $cvePatches/CVE-2016-3902/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-3907/3.10/0002.patch git apply $cvePatches/CVE-2016-3907/3.10/0002.patch
git apply --whitespace=fix $cvePatches/CVE-2016-3938/ANY/0001.patch git apply $cvePatches/CVE-2016-3938/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-5853/3.10/0001.patch git apply $cvePatches/CVE-2016-5853/3.10/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-5858/ANY/0001.patch git apply $cvePatches/CVE-2016-5858/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-5858/ANY/0002.patch git apply $cvePatches/CVE-2016-5858/ANY/0002.patch
git apply --whitespace=fix $cvePatches/CVE-2016-5859/3.10/0001.patch git apply $cvePatches/CVE-2016-5859/3.10/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-5867/3.10/0001.patch git apply $cvePatches/CVE-2016-5867/3.10/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-5868/3.10/0001.patch git apply $cvePatches/CVE-2016-5868/3.10/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-6672/ANY/0001.patch git apply $cvePatches/CVE-2016-6672/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-6693/ANY/0001.patch git apply $cvePatches/CVE-2016-6693/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-6696/ANY/0001.patch git apply $cvePatches/CVE-2016-6696/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-6751/ANY/0001.patch git apply $cvePatches/CVE-2016-6751/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-6753/ANY/0001.patch git apply $cvePatches/CVE-2016-6753/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-7913/ANY/0001.patch git apply $cvePatches/CVE-2016-7913/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-8417/ANY/0001.patch git apply $cvePatches/CVE-2016-8417/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-8444/ANY/0001.patch git apply $cvePatches/CVE-2016-8444/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-8477/3.10/0001.patch git apply $cvePatches/CVE-2016-8477/3.10/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-8481/ANY/0001.patch git apply $cvePatches/CVE-2016-8481/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-8650/ANY/0001.patch git apply $cvePatches/CVE-2016-8650/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-9604/ANY/0001.patch git apply $cvePatches/CVE-2016-9604/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0404/^3.18/0001.patch git apply $cvePatches/CVE-2017-0404/^3.18/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0427/3.10/0001.patch git apply $cvePatches/CVE-2017-0427/3.10/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0452/ANY/0001.patch git apply $cvePatches/CVE-2017-0452/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0454/3.10/0001.patch git apply $cvePatches/CVE-2017-0454/3.10/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0457/3.10/0002.patch git apply $cvePatches/CVE-2017-0457/3.10/0002.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0460/3.10/0001.patch git apply $cvePatches/CVE-2017-0460/3.10/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0516/ANY/0001.patch git apply $cvePatches/CVE-2017-0516/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0524/ANY/0001.patch git apply $cvePatches/CVE-2017-0524/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0537/ANY/0001.patch git apply $cvePatches/CVE-2017-0537/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0604/ANY/0001.patch git apply $cvePatches/CVE-2017-0604/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0606/ANY/0001.patch git apply $cvePatches/CVE-2017-0606/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0610/ANY/0001.patch git apply $cvePatches/CVE-2017-0610/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0611/ANY/0001.patch git apply $cvePatches/CVE-2017-0611/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0627/ANY/0001.patch git apply $cvePatches/CVE-2017-0627/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0631/ANY/0001.patch git apply $cvePatches/CVE-2017-0631/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0648/ANY/0001.patch git apply $cvePatches/CVE-2017-0648/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0710/ANY/0001.patch git apply $cvePatches/CVE-2017-0710/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0746/ANY/0001.patch git apply $cvePatches/CVE-2017-0746/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0748/ANY/0001.patch git apply $cvePatches/CVE-2017-0748/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0750/ANY/0001.patch git apply $cvePatches/CVE-2017-0750/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0751/ANY/0001.patch git apply $cvePatches/CVE-2017-0751/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0794/ANY/0001.patch git apply $cvePatches/CVE-2017-0794/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-1000365/3.10/0001.patch git apply $cvePatches/CVE-2017-1000365/3.10/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-1000380/^4.11/0001.patch git apply $cvePatches/CVE-2017-1000380/^4.11/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-10997/3.10/0001.patch git apply $cvePatches/CVE-2017-10997/3.10/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-10998/ANY/0001.patch git apply $cvePatches/CVE-2017-10998/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-11024/ANY/0001.patch git apply $cvePatches/CVE-2017-11024/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-11048/ANY/0001.patch git apply $cvePatches/CVE-2017-11048/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-11056/ANY/0001.patch git apply $cvePatches/CVE-2017-11056/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-11059/ANY/0001.patch git apply $cvePatches/CVE-2017-11059/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-15265/^4.14/0001.patch git apply $cvePatches/CVE-2017-15265/^4.14/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-2618/3.10/0001.patch git apply $cvePatches/CVE-2017-2618/3.10/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-2671/^4.10/0001.patch git apply $cvePatches/CVE-2017-2671/^4.10/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-5669/^4.9/0001.patch git apply $cvePatches/CVE-2017-5669/^4.9/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-5970/ANY/0001.patch git apply $cvePatches/CVE-2017-5970/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-6074/ANY/0001.patch git apply $cvePatches/CVE-2017-6074/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-6345/^4.9/0001.patch git apply $cvePatches/CVE-2017-6345/^4.9/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-6348/^4.9/0001.patch git apply $cvePatches/CVE-2017-6348/^4.9/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-6951/^3.14/0001.patch git apply $cvePatches/CVE-2017-6951/^3.14/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7187/ANY/0001.patch git apply $cvePatches/CVE-2017-7187/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7308/ANY/0003.patch git apply $cvePatches/CVE-2017-7308/ANY/0003.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7369/3.10/0001.patch git apply $cvePatches/CVE-2017-7369/3.10/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7472/ANY/0001.patch git apply $cvePatches/CVE-2017-7472/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7487/ANY/0001.patch git apply $cvePatches/CVE-2017-7487/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-8236/3.10/0001.patch git apply $cvePatches/CVE-2017-8236/3.10/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-8247/ANY/0001.patch git apply $cvePatches/CVE-2017-8247/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-8261/ANY/0001.patch git apply $cvePatches/CVE-2017-8261/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-8265/ANY/0001.patch git apply $cvePatches/CVE-2017-8265/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-8280/ANY/0001.patch git apply $cvePatches/CVE-2017-8280/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-9075/ANY/0001.patch git apply $cvePatches/CVE-2017-9075/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-9242/^4.11/0001.patch git apply $cvePatches/CVE-2017-9242/^4.11/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-9724/ANY/0001.patch git apply $cvePatches/CVE-2017-9724/ANY/0001.patch
git apply --whitespace=fix $cvePatches/LVT-2017-0003/3.10/0001.patch git apply $cvePatches/LVT-2017-0003/3.10/0001.patch
cd $base cd $base

View File

@ -1,9 +1,13 @@
#!/bin/bash #!/bin/bash
cd $base"kernel/nextbit/msm8992" cd $base"kernel/nextbit/msm8992"
git apply $cvePatches/CVE-2014-9904/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2012-6703/ANY/0001.patch
git apply $cvePatches/CVE-2016-6672/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2014-9904/ANY/0001.patch
git apply $cvePatches/CVE-2017-0648/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-1583/ANY/0001.patch
git apply $cvePatches/CVE-2017-0750/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6672/ANY/0001.patch
git apply $cvePatches/CVE-2017-6345/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6693/ANY/0001.patch
git apply $cvePatches/LVT-2017-0003/3.10/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6696/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0648/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0750/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-6345/^4.9/0001.patch
git apply --whitespace=fix $cvePatches/LVT-2017-0003/3.10/0001.patch
cd $base cd $base

View File

@ -1,22 +1,29 @@
#!/bin/bash #!/bin/bash
cd $base"kernel/oneplus/msm8974" cd $base"kernel/oneplus/msm8974"
git apply $cvePatches/CVE-2014-9781/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2012-6703/ANY/0001.patch
git apply $cvePatches/CVE-2014-9876/3.4/1.patch git apply --whitespace=fix $cvePatches/CVE-2014-9781/ANY/0001.patch
git apply $cvePatches/CVE-2014-9880/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2014-9880/ANY/0001.patch
git apply $cvePatches/CVE-2016-2443/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-0801/ANY/0001.patch
git apply $cvePatches/CVE-2016-3672/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-1583/ANY/0001.patch
git apply $cvePatches/CVE-2016-6672/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2443/ANY/0001.patch
git apply $cvePatches/CVE-2016-8404/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6672/ANY/0001.patch
git apply $cvePatches/CVE-2017-0510/3.4/3.patch git apply --whitespace=fix $cvePatches/CVE-2016-8404/ANY/0001.patch
git apply $cvePatches/CVE-2017-0648/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0510/3.4/0001.patch
git apply $cvePatches/CVE-2017-0750/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0524/ANY/0001.patch
git apply $cvePatches/CVE-2017-0751/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0610/ANY/0001.patch
git apply $cvePatches/CVE-2017-0786/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0648/ANY/0001.patch
git apply $cvePatches/CVE-2017-11000/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0750/ANY/0001.patch
git apply $cvePatches/CVE-2017-13080/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0751/ANY/0001.patch
git apply $cvePatches/CVE-2017-15265/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0786/ANY/0001.patch
git apply $cvePatches/CVE-2017-7487/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-1000380/^4.11/0001.patch
git apply $cvePatches/CVE-2017-8247/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-11000/ANY/0001.patch
git apply $cvePatches/CVE-2017-9242/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-11048/ANY/0001.patch
git apply $cvePatches/CVE-2017-9725/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-11059/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-13080/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-15265/^4.14/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7487/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-8247/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-9242/^4.11/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-9684/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-9706/ANY/0001.patch
cd $base cd $base

View File

@ -1,23 +1,34 @@
#!/bin/bash #!/bin/bash
cd $base"kernel/samsung/jf" cd $base"kernel/samsung/jf"
git apply $cvePatches/CVE-2016-10233/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2012-6703/ANY/0001.patch
git apply $cvePatches/CVE-2016-2185/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-0801/ANY/0001.patch
git apply $cvePatches/CVE-2016-2186/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-10233/ANY/0001.patch
git apply $cvePatches/CVE-2016-2475/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-1583/ANY/0001.patch
git apply $cvePatches/CVE-2016-3854/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2185/ANY/0001.patch
git apply $cvePatches/CVE-2016-6672/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2186/ANY/0001.patch
git apply $cvePatches/CVE-2016-8402/3.4/1.patch git apply --whitespace=fix $cvePatches/CVE-2016-2475/ANY/0001.patch
git apply $cvePatches/CVE-2016-8404/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3854/ANY/0001.patch
git apply $cvePatches/CVE-2017-0430/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3857/ANY/0001.patch
git apply $cvePatches/CVE-2017-0573/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3865/ANY/0001.patch
git apply $cvePatches/CVE-2017-0648/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3894/ANY/0001.patch
git apply $cvePatches/CVE-2017-0706/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6672/ANY/0001.patch
git apply $cvePatches/CVE-2017-0710/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6791/ANY/0001.patch
git apply $cvePatches/CVE-2017-0750/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-8402/3.4/0001.patch
git apply $cvePatches/CVE-2017-0751/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-8404/ANY/0001.patch
git apply $cvePatches/CVE-2017-0786/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0430/ANY/0001.patch
git apply $cvePatches/CVE-2017-0791/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0524/ANY/0001.patch
git apply $cvePatches/CVE-2017-15265/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0571/ANY/0001.patch
git apply $cvePatches/CVE-2017-5970/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0573/ANY/0001.patch
git apply $cvePatches/CVE-2017-7487/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0648/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0706/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0710/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0750/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0751/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0786/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0791/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-1000380/^4.11/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-10663/ANY/0002.patch
git apply --whitespace=fix $cvePatches/CVE-2017-15265/^4.14/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-5970/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7487/ANY/0001.patch
cd $base cd $base

View File

@ -1,5 +1,8 @@
#!/bin/bash #!/bin/bash
cd $base"kernel/samsung/msm8974" cd $base"kernel/samsung/msm8974"
git apply $cvePatches/CVE-2016-2475/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2012-6703/ANY/0001.patch
git apply $cvePatches/CVE-2017-0750/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-1583/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-2475/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-4578/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0750/ANY/0001.patch
cd $base cd $base

View File

@ -1,27 +1,33 @@
#!/bin/bash #!/bin/bash
cd $base"kernel/samsung/smdk4412" cd $base"kernel/samsung/smdk4412"
git apply $cvePatches/CVE-2014-1739/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2014-1739/ANY/0001.patch
git apply $cvePatches/CVE-2014-4656/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2014-4656/ANY/0001.patch
git apply $cvePatches/CVE-2014-9420/^3.18/0.patch git apply --whitespace=fix $cvePatches/CVE-2014-9420/ANY/0001.patch
git apply $cvePatches/CVE-2014-9781/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2014-9781/ANY/0001.patch
git apply $cvePatches/CVE-2014-9870/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2014-9870/ANY/0001.patch
git apply $cvePatches/CVE-2014-9900/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2014-9895/ANY/0001.patch
git apply $cvePatches/CVE-2015-8944/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2014-9900/ANY/0001.patch
git apply $cvePatches/CVE-2016-2185/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-6640/ANY/0001.patch
git apply $cvePatches/CVE-2016-2186/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-8944/ANY/0001.patch
git apply $cvePatches/CVE-2016-2544/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-0819/ANY/0001.patch
git apply $cvePatches/CVE-2016-6753/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2185/ANY/0001.patch
git apply $cvePatches/CVE-2016-9604/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2186/ANY/0001.patch
git apply $cvePatches/CVE-2017-0403/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2544/ANY/0001.patch
git apply $cvePatches/CVE-2017-0404/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3857/ANY/0001.patch
git apply $cvePatches/CVE-2017-0430/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6753/ANY/0001.patch
git apply $cvePatches/CVE-2017-0648/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-8463/ANY/0001.patch
git apply $cvePatches/CVE-2017-0706/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-9604/ANY/0001.patch
git apply $cvePatches/CVE-2017-0786/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0404/^3.18/0001.patch
git apply $cvePatches/CVE-2017-10662/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0430/ANY/0001.patch
git apply $cvePatches/CVE-2017-15265/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0648/ANY/0001.patch
git apply $cvePatches/CVE-2017-6074/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0706/ANY/0001.patch
git apply $cvePatches/CVE-2017-6345/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0786/ANY/0001.patch
git apply $cvePatches/CVE-2017-6348/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-1000380/^4.11/0001.patch
git apply $cvePatches/CVE-2017-7487/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-15265/^4.14/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-6074/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-6345/^4.9/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-6348/^4.9/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7187/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7308/ANY/0003.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7487/ANY/0001.patch
cd $base cd $base

View File

@ -1,69 +1,69 @@
#!/bin/bash #!/bin/bash
cd $base"kernel/samsung/universal8890" cd $base"kernel/samsung/universal8890"
git apply $cvePatches/CVE-2014-9900/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2012-6703/ANY/0001.patch
git apply $cvePatches/CVE-2014-9940/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2014-9900/ANY/0001.patch
git apply $cvePatches/CVE-2015-2041/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2014-9940/ANY/0001.patch
git apply $cvePatches/CVE-2015-4177/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-2041/^3.19/0002.patch
git apply $cvePatches/CVE-2015-7515/^4.4/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-7515/^4.4/0002.patch
git apply $cvePatches/CVE-2015-7550/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-7550/^4.3/0001.patch
git apply $cvePatches/CVE-2015-8019/3.18/1.patch git apply --whitespace=fix $cvePatches/CVE-2015-8019/3.18/0002.patch
git apply $cvePatches/CVE-2015-8575/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-8575/ANY/0001.patch
git apply $cvePatches/CVE-2015-8785/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-8785/ANY/0001.patch
git apply $cvePatches/CVE-2015-8962/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-8839/ANY/0002.patch
git apply $cvePatches/CVE-2015-8966/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-8962/ANY/0001.patch
git apply $cvePatches/CVE-2015-9004/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-8966/3.15+/0001.patch
git apply $cvePatches/CVE-2016-10088/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2015-9004/ANY/0001.patch
git apply $cvePatches/CVE-2016-10153/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-0819/ANY/0001.patch
git apply $cvePatches/CVE-2016-10200/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-10044/ANY/0001.patch
git apply $cvePatches/CVE-2016-2185/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-10044/ANY/0002.patch
git apply $cvePatches/CVE-2016-2186/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-10088/ANY/0001.patch
git apply $cvePatches/CVE-2016-2187/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-10200/ANY/0001.patch
git apply $cvePatches/CVE-2016-3136/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2185/ANY/0001.patch
git apply $cvePatches/CVE-2016-3137/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2186/ANY/0001.patch
git apply $cvePatches/CVE-2016-3140/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-2187/ANY/0001.patch
git apply $cvePatches/CVE-2016-3156/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3136/ANY/0001.patch
git apply $cvePatches/CVE-2016-3672/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3137/ANY/0001.patch
git apply $cvePatches/CVE-2016-3689/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3140/ANY/0001.patch
git apply $cvePatches/CVE-2016-3775/3.18/1.patch git apply --whitespace=fix $cvePatches/CVE-2016-3156/ANY/0001.patch
git apply $cvePatches/CVE-2016-4794/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3689/ANY/0001.patch
git apply $cvePatches/CVE-2016-4794/ANY/1.patch git apply --whitespace=fix $cvePatches/CVE-2016-3775/3.18/0004.patch
git apply $cvePatches/CVE-2016-6828/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-3857/ANY/0001.patch
git apply $cvePatches/CVE-2016-7042/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-4794/3.18+/0001.patch
git apply $cvePatches/CVE-2016-7912/3.18/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-4794/3.18+/0002.patch
git apply $cvePatches/CVE-2016-7917/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-6828/ANY/0001.patch
git apply $cvePatches/CVE-2016-8399/ANY/1.patch git apply --whitespace=fix $cvePatches/CVE-2016-7042/ANY/0001.patch
git apply $cvePatches/CVE-2016-8468/3.18/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-7913/ANY/0001.patch
git apply $cvePatches/CVE-2016-8650/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-7917/ANY/0001.patch
git apply $cvePatches/CVE-2016-9191/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-8399/ANY/0001.patch
git apply $cvePatches/CVE-2016-9604/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-8468/3.18/0001.patch
git apply $cvePatches/CVE-2016-9754/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-8650/ANY/0001.patch
git apply $cvePatches/CVE-2016-9793/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-9604/ANY/0001.patch
git apply $cvePatches/CVE-2017-0403/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-9754/ANY/0001.patch
git apply $cvePatches/CVE-2017-0404/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2016-9793/ANY/0001.patch
git apply $cvePatches/CVE-2017-0510/3.18/1.patch git apply --whitespace=fix $cvePatches/CVE-2016-9794/ANY/0001.patch
git apply $cvePatches/CVE-2017-0523/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0404/^3.18/0001.patch
git apply $cvePatches/CVE-2017-0537/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0510/3.18/0003.patch
git apply $cvePatches/CVE-2017-0627/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0523/3.18/0001.patch
git apply $cvePatches/CVE-2017-0710/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0537/ANY/0001.patch
git apply $cvePatches/CVE-2017-0749/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0627/ANY/0001.patch
git apply $cvePatches/CVE-2017-0750/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0710/ANY/0001.patch
git apply $cvePatches/CVE-2017-10996/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0749/ANY/0001.patch
git apply $cvePatches/CVE-2017-2671/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-0750/ANY/0001.patch
git apply $cvePatches/CVE-2017-5669/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-1000380/^4.11/0001.patch
git apply $cvePatches/CVE-2017-5970/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-10996/ANY/0001.patch
git apply $cvePatches/CVE-2017-5986/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-11600/ANY/0001.patch
git apply $cvePatches/CVE-2017-6345/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-2671/^4.10/0001.patch
git apply $cvePatches/CVE-2017-6346/3.18/1.patch git apply --whitespace=fix $cvePatches/CVE-2017-5669/^4.9/0001.patch
git apply $cvePatches/CVE-2017-6348/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-5970/ANY/0001.patch
git apply $cvePatches/CVE-2017-6353/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-5986/^4.9/0001.patch
git apply $cvePatches/CVE-2017-6951/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-6001/ANY/0001.patch
git apply $cvePatches/CVE-2017-7308/3.18/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-6345/^4.9/0001.patch
git apply $cvePatches/CVE-2017-7308/3.18/1.patch git apply --whitespace=fix $cvePatches/CVE-2017-6348/^4.9/0001.patch
git apply $cvePatches/CVE-2017-7308/3.18/2.patch git apply --whitespace=fix $cvePatches/CVE-2017-6353/^4.10/0001.patch
git apply $cvePatches/CVE-2017-7472/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-7187/ANY/0001.patch
git apply $cvePatches/CVE-2017-7487/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-7308/ANY/0003.patch
git apply $cvePatches/CVE-2017-7495/3.18/1.patch git apply --whitespace=fix $cvePatches/CVE-2017-7472/ANY/0001.patch
git apply $cvePatches/CVE-2017-7495/3.18/2.patch git apply --whitespace=fix $cvePatches/CVE-2017-7487/ANY/0001.patch
git apply $cvePatches/CVE-2017-7616/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-7616/ANY/0001.patch
git apply $cvePatches/CVE-2017-7618/ANY/0.patch git apply --whitespace=fix $cvePatches/CVE-2017-7618/^4.10/0002.patch
cd $base cd $base