diff options
| author | 2019-04-06 08:52:11 -0700 | |
|---|---|---|
| committer | 2019-04-07 10:38:31 -0700 | |
| commit | 2bf8496f6e9b7e9a557f65eb95eab16fea7958c7 (patch) | |
| tree | 057dce6a506b6507436b2d8225198a0e269df0e8 /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | Linux 5.1-rc2 (diff) | |
| download | linux-dev-2bf8496f6e9b7e9a557f65eb95eab16fea7958c7.tar.xz linux-dev-2bf8496f6e9b7e9a557f65eb95eab16fea7958c7.zip | |
lkdtm/usercopy: Moves the KERNEL_DS test to non-canonical
The prior implementation of the KERNEL_DS fault checking would work on
any unmapped kernel address, but this was narrowed to the non-canonical
range instead. This adjusts the LKDTM test to match.
Fixes: 00c42373d397 ("x86-64: add warning for non-canonical user access address dereferences")
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
