You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The check_ptr() function in kernel syscalls do not check the number of bytes that will be written by the kernel. It only check if the address is valid and accessible (that is only the first byte, but not the other bytes).
That is, check_ptr() should take an additional argument: the expected number of bytes that will be written by the kernel and check if the memory range is accessible.
The text was updated successfully, but these errors were encountered:
The
check_ptr()
function in kernel syscalls do not check the number of bytes that will be written by the kernel. It only check if the address is valid and accessible (that is only the first byte, but not the other bytes).That is,
check_ptr()
should take an additional argument: the expected number of bytes that will be written by the kernel and check if the memory range is accessible.The text was updated successfully, but these errors were encountered: