2 ms·
> A bad guess will likely oops the kernel and kill the current process. Why doesn’t jumping to a random address panic the kernel instead of just killing the cu
by saagarjha 7y ago
> A bad guess will likely oops the kernel and kill the current process.
Why doesn’t jumping to a random address panic the kernel instead of just killing the current process?
Also, I wonder if you can protect against this by XORing constants with a key before writing the instruction stream and then undoing that with later (properly aligned) instructions so the BPF code doesn’t break.