2021-03-22 19:59:15 -04:00
|
|
|
#!/bin/bash
|
2023-03-08 16:01:37 -05:00
|
|
|
if cd "$DOS_BUILD_BASE""kernel/lge/mako"; then
|
2021-03-22 19:59:15 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/0003-syzkaller-Misc/ANY/0009.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/0003-syzkaller-Misc2/ANY/0001.patch
|
2021-11-28 00:15:22 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/0006-AndroidHardening-Kernel_Hardening/3.10/0007.patch
|
|
|
|
#git apply $DOS_PATCHES_LINUX_CVES/0006-AndroidHardening-Kernel_Hardening/3.10/0008.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/0006-AndroidHardening-Kernel_Hardening/3.10/0010.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/0006-AndroidHardening-Kernel_Hardening/3.10/0017.patch
|
|
|
|
#git apply $DOS_PATCHES_LINUX_CVES/0006-AndroidHardening-Kernel_Hardening/3.18/0043.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/0006-AndroidHardening-Kernel_Hardening/3.18/0046.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/0006-AndroidHardening-Kernel_Hardening/3.18/0050.patch
|
2021-03-22 19:59:15 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/0006-AndroidHardening-Kernel_Hardening/ANY/0001.patch
|
2023-01-24 18:20:37 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/0008-Graphene-Kernel_Hardening-misc/4.4/0016.patch
|
|
|
|
#git apply $DOS_PATCHES_LINUX_CVES/0008-Graphene-Kernel_Hardening-slub/4.4/0002.patch
|
2023-02-11 19:40:15 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/0009-rfc4941bis/ANY/0008.patch
|
2023-07-14 17:35:48 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/0010-ksm_deferred_timers/3.4/0001.patch
|
2021-03-22 19:59:15 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/0090-Unknown/ANY/0001.patch
|
2024-07-01 10:29:34 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-20022/3.10/0003.patch
|
2021-11-28 00:15:22 -05:00
|
|
|
#git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-18193/3.18/0002.patch
|
|
|
|
#git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-17972/3.18/0004.patch
|
2021-03-22 19:59:15 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-2054/ANY/0003.patch
|
2024-02-27 02:32:37 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-25160/3.18/0002.patch
|
2021-12-02 02:40:41 -05:00
|
|
|
#git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-0305/4.4/0005.patch
|
|
|
|
#git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-0429/4.4/0011.patch
|
|
|
|
#git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-8992/4.4/0005.patch
|
|
|
|
#git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-14305/4.4/0003.patch
|
2022-07-06 17:47:08 -04:00
|
|
|
#git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-24588/4.4/0019.patch
|
2021-12-02 02:40:41 -05:00
|
|
|
#git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-3428/4.4/0013.patch
|
2023-12-20 11:35:01 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-44879/4.4/0007.patch
|
2024-03-02 10:26:57 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-46932/4.4/0004.patch
|
2024-03-05 11:51:57 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47086/4.4/0004.patch
|
2024-03-21 14:15:44 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47114/4.4/0004.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47118/3.18/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47122/3.18/0001.patch
|
2024-03-27 22:09:06 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47149/3.18/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47153/3.18/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47173/3.18/0001.patch
|
2024-04-16 08:16:05 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47181/4.4/0004.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47207/4.4/0004.patch
|
2024-05-26 18:29:35 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47236/3.18/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47249/3.18/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47250/3.18/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47269/3.18/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47276/3.18/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47284/3.18/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47294/4.4/0004.patch
|
2024-05-26 18:51:19 -04:00
|
|
|
#git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47320/4.4/0004.patch
|
2024-05-26 18:29:35 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47323/4.4/0004.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47324/4.4/0004.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47330/4.4/0004.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47334/4.4/0004.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47340/4.4/0004.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47343/4.4/0004.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47345/4.4/0004.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47353/4.4/0004.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47355/4.4/0004.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47356/4.4/0004.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47357/4.4/0004.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47418/4.4/0004.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47451/^5.15/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47456/4.4/0004.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47468/4.4/0004.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47478/4.4/0004.patch
|
2024-05-28 10:30:50 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47518/4.4/0004.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47520/4.4/0004.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47521/4.4/0004.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47547/4.4/0004.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47566/4.4/0004.patch
|
2024-06-20 15:27:41 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47589/4.4/0004.patch
|
2023-02-01 12:25:25 -05:00
|
|
|
#git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-40768/4.4/0008.patch
|
2023-03-14 12:20:40 -04:00
|
|
|
#git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-47929/4.4/0007.patch
|
2024-05-05 11:59:46 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-48701/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-48702/4.4/0001.patch
|
2024-05-26 18:29:35 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-48710/4.4/0001.patch
|
2023-04-23 22:41:48 -04:00
|
|
|
#git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-0458/4.4/0001.patch
|
2023-03-14 12:20:40 -04:00
|
|
|
#git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-1073/4.4/0007.patch
|
2023-09-05 20:15:46 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-1989/^6.3/0002.patch
|
2023-06-16 10:25:38 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-3141/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-3159/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-3161/4.4/0001.patch
|
2023-09-17 01:04:06 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-3212/4.4/0008.patch
|
2023-12-20 11:35:01 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-3567/4.4/0008.patch
|
2023-09-17 01:04:06 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-3772/4.4/0008.patch
|
2023-08-17 17:18:10 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-4385/4.4/0001.patch
|
2023-08-27 17:13:50 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-4459/4.4/0001.patch
|
2023-11-16 22:30:58 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-4623/4.4/0008.patch
|
2024-01-04 14:57:44 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-7192/4.4/0001.patch
|
2023-11-16 22:30:58 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-31085/4.4/0008.patch
|
2023-05-12 22:01:03 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-32269/4.4/0001.patch
|
2023-10-15 20:38:09 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-39192/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-39193/4.4/0001.patch
|
2023-11-05 18:19:56 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-45862/4.4/0001.patch
|
2024-01-04 14:57:44 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-51780/4.4/0009.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-51782/4.4/0009.patch
|
2024-03-14 14:16:50 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-52436/4.4/0008.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-52449/4.4/0008.patch
|
2024-03-02 10:26:57 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-52475/4.4/0001.patch
|
2024-03-04 14:36:37 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-52566/4.4/0001.patch
|
2024-03-14 14:16:50 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-52594/4.4/0008.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-52599/4.4/0008.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-52602/4.4/0008.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-52603/4.4/0008.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-52604/4.4/0008.patch
|
2024-05-26 18:29:35 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-52699/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-52703/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-52705/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-52774/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-52804/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-52805/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-52809/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-52813/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-52843/4.4/0001.patch
|
2024-05-28 10:30:50 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-52880/^6.5/0002.patch
|
2024-02-19 22:35:04 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-24855/^6.4/0001.patch
|
2024-04-16 08:16:05 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-25739/4.4/0001.patch
|
2024-03-14 14:16:50 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-26625/4.4/0008.patch
|
2024-04-06 19:59:27 -04:00
|
|
|
#git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-26675/4.4/0001.patch
|
2024-04-04 12:25:53 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-26697/4.4/0001.patch
|
2024-04-22 08:59:15 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-26851/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-26894/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-26901/4.4/0001.patch
|
2024-05-03 08:50:50 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-26955/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-26956/4.4/0001.patch
|
2024-05-08 14:09:13 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-26981/4.4/0008.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-26994/4.4/0008.patch
|
2024-05-03 08:50:50 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-27009/^6.9/0001.patch
|
2024-06-20 15:27:41 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-27401/4.4/0008.patch
|
2024-05-19 12:35:34 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-27410/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-27419/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-27420/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-27421/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-27426/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-27427/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-27428/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-27429/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-27430/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-35821/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-35828/4.4/0001.patch
|
2024-05-26 18:29:35 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-35886/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-35930/4.4/0001.patch
|
2024-06-20 15:27:41 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-36016/4.4/0008.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-36902/4.4/0008.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-36919/4.4/0008.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-36946/4.4/0008.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-36960/4.4/0008.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-36964/4.4/0008.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-38578/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-38587/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-38589/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-38599/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-38607/4.4/0001.patch
|
2024-06-27 00:15:41 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-38659/^6.9/0001.patch
|
2024-07-06 12:47:56 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-39480/^6.9/0001.patch
|
2024-03-14 14:16:50 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-52601/4.4/0008.patch
|
2024-05-19 12:35:34 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-27424/4.4/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-27425/4.4/0001.patch
|
2024-07-06 12:47:56 -04:00
|
|
|
editKernelLocalversion "-dos.p154"
|
2023-03-08 16:01:37 -05:00
|
|
|
else echo "kernel_lge_mako is unavailable, not patching.";
|
|
|
|
fi;
|
2021-03-22 19:59:15 -04:00
|
|
|
cd "$DOS_BUILD_BASE"
|