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 |
---|---|---|
Kconfig | -rw-r--r-- | 516 bytes |
Makefile | -rw-r--r-- | 166 bytes |
af_phonet.c | -rw-r--r-- | 12.7 KB |
datagram.c | -rw-r--r-- | 4.7 KB |
pep-gprs.c | -rw-r--r-- | 6.8 KB |
pep.c | -rw-r--r-- | 30.2 KB |
pn_dev.c | -rw-r--r-- | 9.9 KB |
pn_netlink.c | -rw-r--r-- | 7.4 KB |
socket.c | -rw-r--r-- | 17.8 KB |
sysctl.c | -rw-r--r-- | 2.8 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...