From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: [PATCH] CVE fix for xen-blkback allowing DISCARD operations on read-only disks. Date: Wed, 5 Jun 2013 15:54:54 -0400 Message-ID: <1370462095-16516-1-git-send-email-konrad.wilk@oracle.com> Return-path: Sender: linux-kernel-owner@vger.kernel.org To: axboe@kernel.dk, linux-kernel@vger.kernel.org Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Please put the following patch: [PATCH] xen/blkback: Check device permissions before allowing in your tree for Linus. It fixes CVE-2013-2140. The bug is that if a system admin provides a disk (which supports the discard aka TRIM or SCSI UNMAP) to a guest as read-only - there are no checks done. Which means that the OS can destroy the data. The likehood of somebody using 'ro' disks I think is small - but there is probably one person who does it and would be unhappy that a guest OS can destroy the underlaying data.