https://github.com/torvalds/linux
Revision 3321c07ae5068568cd61ac9f4ba749006a7185c9 authored by Peter Huewe on 15 September 2011, 17:47:42 UTC, committed by James Morris on 22 September 2011, 23:46:41 UTC
Since the buffer might contain security related data it might be a good idea to
zero the buffer after we have copied it to userspace.

This got assigned CVE-2011-1162.

Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Cc: Stable Kernel <stable@kernel.org>
Signed-off-by: James Morris <jmorris@namei.org>
1 parent 6b07d30
History
Tip revision: 3321c07ae5068568cd61ac9f4ba749006a7185c9 authored by Peter Huewe on 15 September 2011, 17:47:42 UTC
TPM: Zero buffer after copying to userspace
Tip revision: 3321c07
File Mode Size
Makefile -rw-r--r-- 394 bytes
compat.c -rw-r--r-- 17.0 KB
compat_mq.c -rw-r--r-- 4.1 KB
ipc_sysctl.c -rw-r--r-- 6.0 KB
ipcns_notifier.c -rw-r--r-- 2.2 KB
mq_sysctl.c -rw-r--r-- 2.7 KB
mqueue.c -rw-r--r-- 30.5 KB
msg.c -rw-r--r-- 20.9 KB
msgutil.c -rw-r--r-- 2.8 KB
namespace.c -rw-r--r-- 4.3 KB
sem.c -rw-r--r-- 40.4 KB
shm.c -rw-r--r-- 29.1 KB
syscall.c -rw-r--r-- 2.3 KB
util.c -rw-r--r-- 22.8 KB
util.h -rw-r--r-- 5.3 KB

back to top