Bug 875360 (CVE-2012-4542) - CVE-2012-4542 kernel: block: default SCSI command filter does not accomodate commands overlap across device classes
Summary: CVE-2012-4542 kernel: block: default SCSI command filter does not accomodate ...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2012-4542
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: 875361 878123 878124 878126 878127 878128 919346 953626 1021797
Blocks: 875363
TreeView+ depends on / blocked
 
Reported: 2012-11-10 19:36 UTC by Petr Matousek
Modified: 2023-05-11 20:47 UTC (History)
25 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-16 06:37:37 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0496 0 normal SHIPPED_LIVE Important: Red Hat Enterprise Linux 6 kernel update 2013-02-20 21:40:54 UTC
Red Hat Product Errata RHSA-2013:0579 0 normal SHIPPED_LIVE Important: rhev-hypervisor6 security, bug fix, and enhancement update 2013-02-28 23:55:03 UTC
Red Hat Product Errata RHSA-2013:0622 0 normal SHIPPED_LIVE Important: kernel-rt security and bug fix update 2013-03-11 22:36:36 UTC
Red Hat Product Errata RHSA-2013:0882 0 normal SHIPPED_LIVE Important: kernel security and bug fix update 2013-05-30 22:29:49 UTC
Red Hat Product Errata RHSA-2013:0928 0 normal SHIPPED_LIVE Important: kernel security and bug fix update 2013-06-11 21:37:17 UTC

Description Petr Matousek 2012-11-10 19:36:12 UTC
The default SCSI command filter does not accomodate commands that overlap across device classes.

An privileged guest user could potentially use this flaw to write arbitrary data to a LUN that is passed-through as read-only.

Acknowledgements:

This issue was discovered by Paolo Bonzini of Red Hat.

Comment 2 Paolo Bonzini 2012-11-16 18:00:51 UTC
The full list of overlapping commands:

- READ SUBCHANNEL <-> UNMAP (destructive, but no control on written data)

- GET PERFORMANCE <-> ERASE (not really a problem, no one supports ERASE anyway)

- READ DISC INFORMATION <-> XPWRITE (not commonly implemented but most dangerous)

Comment 5 Petr Matousek 2013-01-24 15:51:13 UTC
Proposed upstream patch:
  https://lkml.org/lkml/2013/1/24/279

Comment 8 errata-xmlrpc 2013-02-21 06:56:49 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2013:0496 https://rhn.redhat.com/errata/RHSA-2013-0496.html

Comment 13 errata-xmlrpc 2013-02-28 18:59:22 UTC
This issue has been addressed in following products:

  RHEV-H and Agents for RHEL-6

Via RHSA-2013:0579 https://rhn.redhat.com/errata/RHSA-2013-0579.html

Comment 14 errata-xmlrpc 2013-03-11 18:39:41 UTC
This issue has been addressed in following products:

  MRG for RHEL-6 v.2

Via RHSA-2013:0622 https://rhn.redhat.com/errata/RHSA-2013-0622.html

Comment 22 errata-xmlrpc 2013-05-30 18:31:39 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6.2 EUS - Server Only

Via RHSA-2013:0882 https://rhn.redhat.com/errata/RHSA-2013-0882.html

Comment 23 errata-xmlrpc 2013-06-11 17:38:42 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6.3 EUS - Server Only

Via RHSA-2013:0928 https://rhn.redhat.com/errata/RHSA-2013-0928.html

Comment 24 Petr Matousek 2015-10-16 06:37:37 UTC
Statement:

This issue does affect the Linux kernel packages as shipped with Red Hat Enterprise Linux 7. Due to the lack of upstream patches and the Moderate impact, we are not planning to address this issue in Red Hat Enterprise Linux 7.


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