]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
xen/blkfront: fix leaking data in shared pages
authorRoger Pau Monne <roger.pau@citrix.com>
Wed, 30 Mar 2022 07:03:48 +0000 (09:03 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 26 Aug 2022 08:54:23 +0000 (10:54 +0200)
commitf45c9f2c9b4db4886f8ae9abb36261fa3c37b659
tree4f90bbd46fd8b168a5ebf096430647d915248d0a
parentb3271d496847d955c3c88d9197edf975493498ca
xen/blkfront: fix leaking data in shared pages

BugLink: https://bugs.launchpad.net/bugs/1986728
commit 2f446ffe9d737e9a844b97887919c4fda18246e7 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/block/xen-blkfront.c