nuta / resea

A microkernel-based hackable operating system.
Other
522 stars 29 forks source link

kernel/x64: Reject user non-canonical RIP address #15

Closed nuta closed 4 years ago

nuta commented 4 years ago

IRET/SYSRET instructions cause #GP if the RIP address is not canonical and thus it leads to a kernel panic.