2022-10-15 14:13:07 -04:00
|
|
|
#!/bin/bash
|
|
|
|
cd "$DOS_BUILD_BASE""kernel/oneplus/sm8350"
|
|
|
|
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
|
|
|
|
#git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-5873/ANY/0001.patch
|
|
|
|
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
|
2022-12-22 09:49:19 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-11146/ANY/0001.patch
|
2022-10-15 14:13:07 -04:00
|
|
|
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-10-15 14:13:07 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-28039/^5.11/0001.patch
|
|
|
|
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-12-22 09:49:19 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-2196/^6.1/0001.patch
|
2022-11-03 11:30:45 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-2602/5.4/0004.patch
|
2022-10-15 14:13:07 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3061/^5.18/0001.patch
|
2022-12-16 21:04:10 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3108/^5.16/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3169/5.4/0004.patch
|
2022-12-22 09:49:19 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3424/^6.1/0001.patch
|
2022-12-05 13:33:08 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3521/5.4/0007.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
|
2022-12-22 09:49:19 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3545/5.4/0004.patch
|
2022-11-21 06:07:45 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3564/5.4/0007.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-3594/5.4/0007.patch
|
2022-12-22 09:49:19 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3623/5.4/0004.patch
|
2022-11-21 06:07:45 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3628/5.4/0007.patch
|
2022-12-22 09:49:19 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3643/5.4/0010.patch
|
2022-11-03 11:30:45 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3649/5.4/0007.patch
|
2022-11-21 06:07:45 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3903/^6.0/0001.patch
|
2022-12-16 21:04:10 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-4139/5.4/0004.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-4378/5.4/0013.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-4378/5.4/0014.patch
|
2022-12-31 21:13:25 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-4662/5.4/0008.patch
|
2022-10-15 14:13:07 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-27950/^5.16/0001.patch
|
2022-12-22 09:49:19 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-36280/^6.1/0001.patch
|
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-41218/^6.1/0001.patch
|
2022-11-21 06:07:45 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-41849/5.4/0007.patch
|
2022-10-15 14:13:07 -04:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-42703/5.4/0007.patch
|
2022-11-11 14:53:06 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-42895/5.4/0007.patch
|
2022-12-16 21:04:10 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-42896/5.4/0004.patch
|
2022-12-22 09:49:19 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-42896-extra/^6.1/0001.patch
|
2022-12-16 21:04:10 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-45934/^6.1/0001.patch
|
2023-01-03 18:36:19 -05:00
|
|
|
git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-OctWirelessASB/ANY/0009.patch
|
|
|
|
editKernelLocalversion "-dos.p54"
|
2022-10-15 14:13:07 -04:00
|
|
|
cd "$DOS_BUILD_BASE"
|