CVE-2020-0041
CVE-2020-0041 copied to clipboard
How do we define TASKS_OFFSET, PID_OFFSET...?
Hi! First, thanks for this repo :)
I'm trying to port it on another device (Pixel 4).
I used the x1x5-mroo as a starting point (since the Pixel 4 also uses the kernel 4.14).
I managed to find the offsets (selinux_enforcing
...), but I'm having trouble in the get_task_by_pid
function.
It's rebooting the phone.
I assume the values here must be wrong (TASKS_OFFSET
...), but I don't know how they are defined.
Can you please help me with that?
cc @j4nn @bluefrostsecurity