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
|
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
|
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
|
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-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-03-14 14:16:50 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2023-52601/4.4/0008.patch
|
2024-04-22 08:59:15 -04:00
|
|
|
editKernelLocalversion "-dos.p76"
|
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"
|