xen/blkfront: fix leaking data in shared pages
authorRoger Pau Monne <roger.pau@citrix.com>
Fri, 1 Jul 2022 06:23:54 +0000 (08:23 +0200)
committerJuergen Gross <jgross@suse.com>
Fri, 1 Jul 2022 06:23:54 +0000 (08:23 +0200)
commit2f446ffe9d737e9a844b97887919c4fda18246e7
tree0607aec81ba0807181d8101a5ed135ad344c90e4
parenta175eca0f3d747599f1fdfac04cc9195b71ec996
xen/blkfront: fix leaking data in shared pages

When allocating pages to be used for shared communication with the
backend always zero them, this avoids leaking unintended data present
on the pages.

This is CVE-2022-26365, part of XSA-403.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
drivers/block/xen-blkfront.c