Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cve-2015-3290: Check for mishandled modify_ldt() return value
The kernel intentionally prevents modify_ldt() return value sign extension to 64bit long. Some libc versions return the value as is instead of correctly setting errno. Check for incorrect return value handling and rectify the problem if needed. Link: https://lore.kernel.org/ltp/[email protected]/ Reviewed-by: Petr Vorel <[email protected]> Signed-off-by: Martin Doucha <[email protected]>
- Loading branch information