Bug 971146 - (CVE-2013-2140) CVE-2013-2140 kernel: xen: blkback: insufficient permission checks for BLKIF_OP_DISCARD
CVE-2013-2140 kernel: xen: blkback: insufficient permission checks for BLKIF_...
Status: CLOSED NOTABUG
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20130605,repor...
: Security
Depends On: 971148
Blocks: 971153
  Show dependency treegraph
 
Reported: 2013-06-05 15:44 EDT by Petr Matousek
Modified: 2015-07-31 03:07 EDT (History)
32 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-06-05 15:47:00 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Petr Matousek 2013-06-05 15:44:23 EDT
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. 

A privileged guest user could use this flaw to destroy data on the disk to which he otherwise wouldn't have write access to.

References:

http://seclists.org/oss-sec/2013/q2/488
Comment 1 Petr Matousek 2013-06-05 15:47:00 EDT
Statement:

Not vulnerable.

This issue did not affect the versions of the kernel-xen package as shipped with Red Hat Enterprise Linux 5 as it has no support for BLKIF_OP_DISCARD.

This issue did not affect Red Hat Enterprise Linux 6 and Red Hat Enterprise MRG 2.
Comment 2 Petr Matousek 2013-06-05 15:47:59 EDT
Created kernel tracking bugs for this issue

Affects: fedora-all [bug 971148]

Note You need to log in before you can comment on or make changes to this bug.