xen/netfront: fix leaking data in shared pages
authorRoger Pau Monne <roger.pau@citrix.com>
Wed, 6 Apr 2022 15:38:04 +0000 (17:38 +0200)
committerJuergen Gross <jgross@suse.com>
Fri, 1 Jul 2022 08:00:14 +0000 (10:00 +0200)
commit307c8de2b02344805ebead3440d8feed28f2f010
tree528e53d9d27eea583793dd2a9c7e7057c3e8ebd7
parent2f446ffe9d737e9a844b97887919c4fda18246e7
xen/netfront: 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-33740, 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/net/xen-netfront.c