summaryrefslogtreecommitdiffstats
path: root/drivers/memstick
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2022-04-27 02:12:26 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-05-09 15:40:31 +0200
commit77acbdc0f314b7040afcc02be267fe71161f4ac7 (patch)
tree22af614a0a36dc42dafea3840ef9b254763f607b /drivers/memstick
parentmisc: rtsx: set NULL intfdata when probe fails (diff)
downloadlinux-77acbdc0f314b7040afcc02be267fe71161f4ac7.tar.xz
linux-77acbdc0f314b7040afcc02be267fe71161f4ac7.zip
lkdtm: cfi: Fix type width for masking PAC bits
The masking for PAC bits wasn't handling 32-bit architectures correctly. Replace the u64 cast with uintptr_t. Link: https://lore.kernel.org/lkml/CAMuHMdVz-J-1ZQ08u0bsQihDkcRmEPrtX5B_oRJ+Ns5jrasnUw@mail.gmail.com Fixes: 2e53b877dc12 ("lkdtm: Add CFI_BACKWARD to test ROP mitigations") Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Arnd Bergmann <arnd@arndb.de> Reported-by: kernel test robot <lkp@intel.com> Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> Tested-by: Geert Uytterhoeven <geert@linux-m68k.org> Tested-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20220427001226.1224704-1-keescook@chromium.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/memstick')
0 files changed, 0 insertions, 0 deletions