Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2a00fc0

Browse files
committedJan 19, 2025·
CVE-2023-4206_lts_cos_mitigation_2: Ignore command line kernel base in mitigation exploit
1 parent 4337e13 commit 2a00fc0

File tree

1 file changed

+2
-1
lines changed
  • pocs/linux/kernelctf/CVE-2023-4206_lts_cos_mitigation_2/exploit/mitigation-6.1

1 file changed

+2
-1
lines changed
 

‎pocs/linux/kernelctf/CVE-2023-4206_lts_cos_mitigation_2/exploit/mitigation-6.1/exploit.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,8 @@ void prepare_fake_qdisc(char *buf)
922922

923923
int main(int argc, char **argv)
924924
{
925-
if (argc > 1 && (argv[1][0] == 'f' || argv[1][0] == '0')) {
925+
// Ignore kernel base provided in the command line to work around a repro system issue
926+
if (0 && argc > 1 && (argv[1][0] == 'f' || argv[1][0] == '0')) {
926927
g_kernel_text = strtoull(argv[1], NULL, 16);
927928
} else {
928929
printf("Using default kernel base, your chance is 1/512, good luck!\nTry providing leaked kernel base as argv[1]\n");

0 commit comments

Comments
 (0)
Please sign in to comment.