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

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



Hello,

On 6/8/2015 9:24 AM, Jan Beulich wrote:
> 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;
> 
> 

Acked-by Robert VanVossen <robert.vanvossen@xxxxxxxxxxxxxxx>

Thanks,
Robbie VanVossen

_______________________________________________
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®.