Bug 971146 (CVE-2013-2140) - CVE-2013-2140 kernel: xen: blkback: insufficient permission checks for BLKIF_OP_DISCARD
Summary: CVE-2013-2140 kernel: xen: blkback: insufficient permission checks for BLKIF_...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2013-2140
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 971148
Blocks: 971153
TreeView+ depends on / blocked
 
Reported: 2013-06-05 19:44 UTC by Petr Matousek
Modified: 2019-09-29 13:05 UTC (History)
32 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-05 19:47:00 UTC


Attachments (Terms of Use)

Description Petr Matousek 2013-06-05 19:44:23 UTC
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 19:47:00 UTC
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 19:47:59 UTC
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.