[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] arinc653: don't leak hypervisor stack contents through XEN_SYSCTL_SCHEDOP_getinfo



arinc653: don't leak hypervisor stack contents through 
XEN_SYSCTL_SCHEDOP_getinfo

Note that due to XSA-77 this is not a security issue.

Reported-by: "æåè(åé)" <shangcong.lsc@xxxxxxxxxxxxxxx>
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

--- a/xen/common/sched_arinc653.c
+++ b/xen/common/sched_arinc653.c
@@ -705,6 +705,7 @@ a653sched_adjust_global(const struct sch
         rc = arinc653_sched_set(ops, &local_sched);
         break;
     case XEN_SYSCTL_SCHEDOP_getinfo:
+        memset(&local_sched, -1, sizeof(local_sched));
         rc = arinc653_sched_get(ops, &local_sched);
         if ( rc )
             break;


Attachment: arinc653-info-leak.patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.