Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:GA
xen.15897
xsa313-1.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xsa313-1.patch of Package xen.15897
From: Jan Beulich <jbeulich@suse.com> Subject: xenoprof: clear buffer intended to be shared with guests alloc_xenheap_pages() making use of MEMF_no_scrub is fine for Xen internally used allocations, but buffers allocated to be shared with (unpriviliged) guests need to be zapped of their prior content. This is part of XSA-313. Signed-off-by: Jan Beulich <jbeulich@suse.com> Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com> --- a/xen/common/xenoprof.c +++ b/xen/common/xenoprof.c @@ -248,6 +248,9 @@ static int alloc_xenoprof_struct( return -ENOMEM; } + for ( i = 0; i < npages; ++i ) + clear_page(d->xenoprof->rawbuf + i * PAGE_SIZE); + d->xenoprof->npages = npages; d->xenoprof->nbuf = nvcpu; d->xenoprof->bufsize = bufsize;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor