summaryrefslogtreecommitdiffstats
path: root/fs/hostfs/hostfs_kern.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2021-03-26 16:28:57 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-30 14:45:01 +0200
commit47b6b2742ee60334c40d75bfaab49028688f1510 (patch)
treedec4e0add59f1421a1fbc68d57d1f8d759b0d7bc /fs/hostfs/hostfs_kern.c
parent915c5a9ea9e8910d18698d52b19d7ed872e8b2e4 (diff)
downloadlinux-stable-47b6b2742ee60334c40d75bfaab49028688f1510.tar.gz
linux-stable-47b6b2742ee60334c40d75bfaab49028688f1510.tar.bz2
linux-stable-47b6b2742ee60334c40d75bfaab49028688f1510.zip
xen-blkback: don't leak persistent grants from xen_blkbk_map()
commit a846738f8c3788d846ed1f587270d2f2e3d32432 upstream. The fix for XSA-365 zapped too many of the ->persistent_gnt[] entries. Ones successfully obtained should not be overwritten, but instead left for xen_blkbk_unmap_prepare() to pick up and put. This is XSA-371. Signed-off-by: Jan Beulich <jbeulich@suse.com> Cc: stable@vger.kernel.org Reviewed-by: Juergen Gross <jgross@suse.com> Reviewed-by: Wei Liu <wl@xen.org> Signed-off-by: Juergen Gross <jgross@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/hostfs/hostfs_kern.c')
0 files changed, 0 insertions, 0 deletions