summaryrefslogtreecommitdiffstats
path: root/include/xen/interface
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2013-01-16 17:33:52 +0100
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2013-06-07 23:05:55 +0200
commit604c499cbbcc3d5fe5fb8d53306aa0fae1990109 (patch)
treeab604a42d397957a3aeb55c343d59648d6332c30 /include/xen/interface
parentxen/blkback: Use physical sector size for setup (diff)
downloadlinux-604c499cbbcc3d5fe5fb8d53306aa0fae1990109.tar.xz
linux-604c499cbbcc3d5fe5fb8d53306aa0fae1990109.zip
xen/blkback: Check device permissions before allowing OP_DISCARD
We need to make sure that the device is not RO or that the request is not past the number of sectors we want to issue the DISCARD operation for. This fixes CVE-2013-2140. Cc: stable@vger.kernel.org Acked-by: Jan Beulich <JBeulich@suse.com> Acked-by: Ian Campbell <Ian.Campbell@citrix.com> [v1: Made it pr_warn instead of pr_debug] Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'include/xen/interface')
0 files changed, 0 insertions, 0 deletions