Revision 1713e5aa05fff3951e747548b373bd2c81be4e7a authored by Marc Zyngier on 16 September 2015, 09:54:37 UTC, committed by Marc Zyngier on 16 September 2015, 13:50:04 UTC
When setting the debug register from userspace, make sure that copy_from_user() is called with its parameters in the expected order. It otherwise doesn't do what you think. Fixes: 84e690bfbed1 ("KVM: arm64: introduce vcpu->arch.debug_ptr") Reported-by: Peter Maydell <peter.maydell@linaro.org> Cc: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
1 parent 43297dd
File | Mode | Size |
---|---|---|
apparmor | ||
integrity | ||
keys | ||
selinux | ||
smack | ||
tomoyo | ||
yama | ||
Kconfig | -rw-r--r-- | 5.7 KB |
Makefile | -rw-r--r-- | 900 bytes |
commoncap.c | -rw-r--r-- | 29.1 KB |
device_cgroup.c | -rw-r--r-- | 21.1 KB |
inode.c | -rw-r--r-- | 6.5 KB |
lsm_audit.c | -rw-r--r-- | 9.5 KB |
min_addr.c | -rw-r--r-- | 1.3 KB |
security.c | -rw-r--r-- | 53.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...