User mode callback function in kernel mode

Why is it advisable to run callback functions in user mode in kernel mode?

+1
source share
1 answer

The only code that must run in kernel mode is the one that was loaded on pages that are protected to restrict access to kernel mode.

If you can execute the kernel mode callback function, this will open the door for all kinds of security holes.

+1
source

Source: https://habr.com/ru/post/1658582/


All Articles