From d3fdcdf7c5b5217b74100245434605f561bad308 Mon Sep 17 00:00:00 2001 From: Tavi Date: Mon, 18 Nov 2024 18:57:09 -0500 Subject: [PATCH] Update CVE patchers Signed-off-by: Tavi --- .../android_kernel_google_gs101_private_gs-google.sh | 7 ++++++- .../android_kernel_google_gs201_private_gs-google.sh | 7 ++++++- .../CVE_Patchers/android_kernel_oneplus_sm8350.sh | 5 ++++- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/Scripts/LineageOS-20.0/CVE_Patchers/android_kernel_google_gs101_private_gs-google.sh b/Scripts/LineageOS-20.0/CVE_Patchers/android_kernel_google_gs101_private_gs-google.sh index acce2fea..e59fb59f 100644 --- a/Scripts/LineageOS-20.0/CVE_Patchers/android_kernel_google_gs101_private_gs-google.sh +++ b/Scripts/LineageOS-20.0/CVE_Patchers/android_kernel_google_gs101_private_gs-google.sh @@ -46,6 +46,7 @@ git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47173/5.10/0007.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47209/^5.15/0001.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47381/^5.14/0001.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47391/5.10/0002.patch +git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47469/5.10/0002.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47472/^5.15/0002.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47490/^5.15/0001.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47508/^5.15/0001.patch @@ -785,6 +786,7 @@ git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-37078/5.10/0005.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-37353/5.10/0003.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-37356/5.10/0003.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-38381/5.10/0003.patch +git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-38538/5.10/0006.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-38544/5.10/0004.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-38546/5.10/0002.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-38547/5.10/0002.patch @@ -903,6 +905,7 @@ git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-41068/5.10/0003.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-41070/5.10/0002.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-41072/5.10/0003.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-41078/5.10/0002.patch +git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-41080/5.10/0002.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-41081/5.10/0003.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-41087/5.10/0003.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-41089/5.10/0003.patch @@ -1189,6 +1192,7 @@ git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-50019/^6.12/0001.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-50024/5.10/0002.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-50033/5.10/0002.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-50035/5.10/0002.patch +git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-50036/5.10/0005.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-50039/5.10/0002.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-50040/5.10/0002.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-50044/5.10/0002.patch @@ -1244,6 +1248,7 @@ git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-50236/5.10/0003.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-50237/5.10/0003.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-50251/5.10/0003.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-50262/5.10/0003.patch +git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47195/5.10/0003.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47472/5.10/0007.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47490/5.10/0002.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-48850/5.10/0006.patch @@ -1255,7 +1260,7 @@ git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-27425/5.10/0004.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-35812/5.10/0004.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-42104/5.10/0003.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-49881/5.10/0002.patch -editKernelLocalversion "-dos.p1255" +editKernelLocalversion "-dos.p1260" else echo "kernel_google_gs101_private_gs-google is unavailable, not patching."; fi; cd "$DOS_BUILD_BASE" diff --git a/Scripts/LineageOS-20.0/CVE_Patchers/android_kernel_google_gs201_private_gs-google.sh b/Scripts/LineageOS-20.0/CVE_Patchers/android_kernel_google_gs201_private_gs-google.sh index 5e90d92a..1160dd53 100644 --- a/Scripts/LineageOS-20.0/CVE_Patchers/android_kernel_google_gs201_private_gs-google.sh +++ b/Scripts/LineageOS-20.0/CVE_Patchers/android_kernel_google_gs201_private_gs-google.sh @@ -46,6 +46,7 @@ git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47173/5.10/0007.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47209/^5.15/0001.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47381/^5.14/0001.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47391/5.10/0002.patch +git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47469/5.10/0002.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47472/^5.15/0002.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47490/^5.15/0001.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47508/^5.15/0001.patch @@ -783,6 +784,7 @@ git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-37078/5.10/0005.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-37353/5.10/0003.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-37356/5.10/0003.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-38381/5.10/0003.patch +git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-38538/5.10/0006.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-38544/5.10/0004.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-38546/5.10/0002.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-38547/5.10/0002.patch @@ -901,6 +903,7 @@ git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-41068/5.10/0003.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-41070/5.10/0002.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-41072/5.10/0003.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-41078/5.10/0002.patch +git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-41080/5.10/0002.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-41081/5.10/0003.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-41087/5.10/0003.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-41089/5.10/0003.patch @@ -1187,6 +1190,7 @@ git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-50019/^6.12/0001.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-50024/5.10/0002.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-50033/5.10/0002.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-50035/5.10/0002.patch +git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-50036/5.10/0005.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-50039/5.10/0002.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-50040/5.10/0002.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-50044/5.10/0002.patch @@ -1242,6 +1246,7 @@ git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-50236/5.10/0003.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-50237/5.10/0003.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-50251/5.10/0003.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-50262/5.10/0003.patch +git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47195/5.10/0003.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47472/5.10/0007.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47490/5.10/0002.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-48850/5.10/0006.patch @@ -1253,7 +1258,7 @@ git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-27425/5.10/0004.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-35812/5.10/0004.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-42104/5.10/0003.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-49881/5.10/0002.patch -editKernelLocalversion "-dos.p1253" +editKernelLocalversion "-dos.p1258" else echo "kernel_google_gs201_private_gs-google is unavailable, not patching."; fi; cd "$DOS_BUILD_BASE" diff --git a/Scripts/LineageOS-20.0/CVE_Patchers/android_kernel_oneplus_sm8350.sh b/Scripts/LineageOS-20.0/CVE_Patchers/android_kernel_oneplus_sm8350.sh index 1c81fe1b..7f425151 100644 --- a/Scripts/LineageOS-20.0/CVE_Patchers/android_kernel_oneplus_sm8350.sh +++ b/Scripts/LineageOS-20.0/CVE_Patchers/android_kernel_oneplus_sm8350.sh @@ -33,6 +33,7 @@ git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47266/5.4/0003.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47381/^5.14/0001.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47413/^5.15/0001.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47430/^5.15/0001.patch +git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47469/5.4/0003.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47472/^5.15/0002.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47488/5.3-^5.15/0001.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47490/^5.15/0001.patch @@ -399,6 +400,7 @@ git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-38578/5.4/0006.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-38579/5.4/0005.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-38583/5.4/0005.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-38587/5.4/0006.patch +git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-38588/5.4/0006.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-38589/5.4/0006.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-38596/5.4/0005.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-38598/5.4/0005.patch @@ -761,6 +763,7 @@ git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-50236/5.4/0005.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-50237/5.4/0005.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-50251/5.4/0005.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-50262/5.4/0005.patch +git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47195/5.4/0004.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47472/5.4/0008.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-47490/5.4/0003.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-48783/^5.17/0001.patch @@ -772,7 +775,7 @@ git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-27424/5.4/0006.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-27425/5.4/0006.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-35812/5.4/0006.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2024-42104/5.4/0005.patch -editKernelLocalversion "-dos.p772" +editKernelLocalversion "-dos.p775" else echo "kernel_oneplus_sm8350 is unavailable, not patching."; fi; cd "$DOS_BUILD_BASE"