svn commit: r343262 - head/sys/amd64/linux
Ed Maste
emaste at FreeBSD.org
Mon Jan 21 16:25:42 UTC 2019
Author: emaste
Date: Mon Jan 21 16:25:40 2019
New Revision: 343262
URL: https://svnweb.freebsd.org/changeset/base/343262
Log:
linuxulator: fix stack memory disclosure in linux_sigaltstack
admbugs: 765
Reported by: Vlad Tsyrklevich <vlad at tsyrklevich.net>
Reviewed by: andrew
MFC after: 1 day
Security: Kernel memory disclosure
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/amd64/linux/linux_machdep.c
Modified: head/sys/amd64/linux/linux_machdep.c
==============================================================================
--- head/sys/amd64/linux/linux_machdep.c Mon Jan 21 16:21:03 2019 (r343261)
+++ head/sys/amd64/linux/linux_machdep.c Mon Jan 21 16:25:40 2019 (r343262)
@@ -201,6 +201,7 @@ linux_sigaltstack(struct thread *td, struct linux_siga
l_stack_t lss;
int error;
+ memset(&lss, 0, sizeof(lss));
LINUX_CTR2(sigaltstack, "%p, %p", uap->uss, uap->uoss);
if (uap->uss != NULL) {
More information about the svn-src-all
mailing list