summaryrefslogtreecommitdiffstats
path: root/sound/usb
diff options
context:
space:
mode:
authorKees Cook2017-12-19 22:52:23 +0100
committerLinus Torvalds2017-12-20 02:04:43 +0100
commit10a7e9d849150a2879efc0b04d8a51068c9dd0c5 (patch)
treefa44e287635811bbc18ee4c722c3c32c9cf78ce5 /sound/usb
parentMerge tag 'for-linus-20171218' of git://git.infradead.org/linux-mtd (diff)
downloadkernel-qcow2-linux-10a7e9d849150a2879efc0b04d8a51068c9dd0c5.tar.gz
kernel-qcow2-linux-10a7e9d849150a2879efc0b04d8a51068c9dd0c5.tar.xz
kernel-qcow2-linux-10a7e9d849150a2879efc0b04d8a51068c9dd0c5.zip
Do not hash userspace addresses in fault handlers
The hashing of %p was designed to restrict kernel addresses. There is no reason to hash the userspace values seen during a segfault report, so switch these to %px. (Some architectures already use %lx.) Fixes: ad67b74d2469d9b8 ("printk: hash addresses printed with %p") Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'sound/usb')
0 files changed, 0 insertions, 0 deletions