2022-06-02 09:57:10 -04:00
|
|
|
#!/bin/bash
|
|
|
|
cd "$DOS_BUILD_BASE""kernel/oneplus/sm8350"
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/0001-LinuxIncrementals/5.4/5.4.0193-0194.patch --exclude=Makefile
|
2022-06-19 21:21:31 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/0001-LinuxIncrementals/5.4/5.4.0198-0199.patch --exclude=Makefile
|
2022-07-04 17:26:17 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/0001-LinuxIncrementals/5.4/5.4.0202-0203.patch --exclude=Makefile
|
2022-08-26 11:30:00 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/0001-LinuxIncrementals/5.4/5.4.0209-0210.patch --exclude=Makefile
|
2022-06-02 09:57:10 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/0003-syzkaller-Misc/ANY/0008.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/0003-syzkaller-Misc2/ANY/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/0008-Graphene-Kernel_Hardening/ANY/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-3695/ANY/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-0627/ANY/0002.patch
|
2022-06-02 15:18:47 -04:00
|
|
|
#git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-5873/ANY/0001.patch
|
2022-06-02 09:57:10 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-9415/ANY/0005.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-9444/ANY/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-15291/5.4/0008.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-18786/5.4/0004.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-19068/5.4/0006.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-16119/^5.10/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-16119/^5.10/0002.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-16120/^5.7/0002.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-BleedingToothExtras/^5.10/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-3669/^5.14/0001.patch
|
2022-11-11 14:53:06 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-3759/5.4/0003.patch
|
2022-06-09 15:56:22 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-4034/5.4/0007.patch
|
2022-06-02 09:57:10 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-28039/^5.11/0001.patch
|
2022-08-04 10:45:25 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-33655/5.4/0009.patch
|
2022-07-21 20:37:40 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-33655/^5.19/0002.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-33655/^5.19/0003.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-33656/5.4/0006.patch
|
2022-06-02 09:57:10 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-39633/5.4/0006.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-0480/4.9-^5.14/0001.patch
|
2022-07-21 20:37:40 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-0494/5.4/0007.patch
|
2022-06-26 22:12:46 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-1012/5.4/0044.patch
|
2022-06-02 09:57:10 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-1048/5.4/0021.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-1048/5.4/0022.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-1048/5.4/0023.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-1048/5.4/0024.patch
|
2022-06-26 22:12:46 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-1184/5.4/0013.patch
|
2022-07-12 08:37:21 -04:00
|
|
|
#git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-1184/^5.18/0001.patch
|
2022-06-02 09:57:10 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-1652/5.4/0007.patch
|
2022-08-26 11:30:00 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-1679/5.4/0006.patch
|
2022-06-02 09:57:10 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-1729/5.4/0007.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-1734/5.4/0008.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-1836/5.4/0008.patch
|
2022-06-19 21:21:31 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-1966/5.4/0007.patch
|
2022-06-09 15:56:22 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-1974/5.4/0008.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-1975/5.4/0008.patch
|
2022-08-26 11:30:00 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-2153/5.4/0017.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-2153/5.4/0018.patch
|
2022-07-07 20:12:25 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-2318/5.4/0007.patch
|
2022-08-21 10:13:57 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-2503/5.4/0007.patch
|
2022-08-26 11:30:00 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-2586/5.4/0005.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-2588/5.4/0007.patch
|
2022-11-03 11:30:45 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-2602/5.4/0004.patch
|
2022-09-04 13:12:40 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-2991/5.4/0006.patch
|
2022-09-07 09:17:23 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3028/5.4/0007.patch
|
2022-09-04 13:12:40 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3061/^5.18/0001.patch
|
2022-10-03 09:37:54 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3303/5.4/0003.patch
|
2022-10-22 20:54:36 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3521/^6.0/0001.patch
|
2022-11-11 14:53:06 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3524/5.4/0004.patch
|
2022-11-03 11:30:45 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3535/5.4/0005.patch
|
2022-10-22 20:54:36 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3542/3.8-^6.0/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3545/^5.19/0001.patch
|
2022-11-03 11:30:45 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3565/5.4/0007.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3577/5.4/0012.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3577/5.4/0013.patch
|
2022-10-22 20:54:36 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3586/5.4/0007.patch
|
2022-11-03 11:30:45 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3594/5.4/0007.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3621/5.4/0007.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3625/5.4/0004.patch
|
2022-10-22 20:54:36 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3629/5.4/0007.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3633/5.4/0004.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3635/5.4/0007.patch
|
2022-11-03 11:30:45 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3646/5.4/0007.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3649/5.4/0007.patch
|
2022-06-09 15:56:22 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-20148/^5.15/0002.patch
|
2022-10-12 16:33:39 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-20421/5.4/0007.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-20422/5.4/0007.patch
|
2022-08-04 10:45:25 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-21505/5.4/0004.patch
|
2022-07-07 20:12:25 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-26365/5.4/0007.patch
|
2022-06-02 09:57:10 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-27950/^5.16/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-28893/5.4/0004.patch
|
2022-06-19 21:21:31 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-32981/5.4/0007.patch
|
2022-07-07 20:12:25 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-33740/5.4/0007.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-33741/5.4/0007.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-33742/5.4/0007.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-33744/5.4/0007.patch
|
2022-08-04 10:45:25 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-36123/5.4/0007.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-36879/5.4/0007.patch
|
2022-08-26 11:30:00 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-36946/5.4/0007.patch
|
2022-09-25 13:02:11 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-39188/5.4/0009.patch
|
2022-10-03 09:37:54 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-39842/5.4/0007.patch
|
2022-09-15 13:20:12 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-40307/5.4/0006.patch
|
2022-10-22 20:54:36 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-40768/5.4/0004.patch
|
2022-09-25 13:02:11 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-41222/5.4/0003.patch
|
2022-10-22 20:54:36 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-41674/5.4/0004.patch
|
2022-10-12 16:33:39 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-42703/5.4/0007.patch
|
2022-10-22 20:54:36 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-42720/5.4/0004.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-42721/5.4/0004.patch
|
2022-11-11 14:53:06 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-42895/5.4/0007.patch
|
2022-11-03 11:30:45 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-43750/5.4/0007.patch
|
2022-10-13 22:24:35 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-MiscWireless/^6.0/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-MiscWireless/^6.0/0002.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-MiscWireless/^6.0/0004.patch
|
2022-11-11 14:53:06 -05:00
|
|
|
editKernelLocalversion "-dos.p102"
|
2022-06-02 09:57:10 -04:00
|
|
|
cd "$DOS_BUILD_BASE"
|