Revision 1d6a821277aaa0cdd666278aaff93298df313d41 authored by Marc Zyngier on 15 February 2016, 17:04:04 UTC, committed by Marc Zyngier on 24 February 2016, 11:53:09 UTC
On an MMIO access, we always copy the on-stack buffer info the shared "run" structure, even if this is a read access. This ends up leaking up to 8 bytes of uninitialized memory into userspace, depending on the size of the access. An obvious fix for this one is to only perform the copy if this is an actual write. Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
1 parent 236cf17
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 380 bytes |
aes_s390.c | -rw-r--r-- | 24.2 KB |
crypt_s390.h | -rw-r--r-- | 15.4 KB |
des_s390.c | -rw-r--r-- | 16.5 KB |
ghash_s390.c | -rw-r--r-- | 3.4 KB |
prng.c | -rw-r--r-- | 23.0 KB |
sha.h | -rw-r--r-- | 1.0 KB |
sha1_s390.c | -rw-r--r-- | 2.8 KB |
sha256_s390.c | -rw-r--r-- | 3.7 KB |
sha512_s390.c | -rw-r--r-- | 4.1 KB |
sha_common.c | -rw-r--r-- | 2.6 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...