Public Date:
875360: CVE-2012-4542 kernel: block: default SCSI command filter does not accomodate commands overlap across device classes

The MITRE CVE dictionary describes this issue as:

block/scsi_ioctl.c in the Linux kernel through 3.8 does not properly consider the SCSI device class during authorization of SCSI commands, which allows local users to bypass intended access restrictions via an SG_IO ioctl call that leverages overlapping opcodes.

Find out more about CVE-2012-4542 from the MITRE CVE dictionary dictionary and NIST NVD.


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.

CVSS v2 metrics

Base Score 4.9
Base Metrics AV:A/AC:M/Au:S/C:P/I:P/A:P
Access Vector Adjacent Network
Access Complexity Medium
Authentication Single
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Red Hat Security Errata

Platform Errata Release Date
RHEV Hypervisor for RHEL-6 (rhev-hypervisor6) RHSA-2013:0579 2013-02-28
Red Hat Enterprise Linux Extended Update Support 6.2 (kernel) RHSA-2013:0882 2013-05-30
Red Hat MRG Grid for RHEL 6 Server v.2 (kernel-rt) RHSA-2013:0622 2013-03-11
Red Hat Enterprise Linux 6 (kernel) RHSA-2013:0496 2013-02-20
Red Hat Enterprise Linux Extended Update Support 6.3 (kernel) RHSA-2013:0928 2013-06-11

Affected Packages State

Platform Package State
Red Hat Enterprise Linux 7 kernel Will not fix
Red Hat Enterprise Linux 5 kernel Will not fix
Unless explicitly stated as not affected, all previous versions of packages in any minor update stream of a product listed here should be assumed vulnerable, although may not have been subject to full analysis.


This issue was discovered by Paolo Bonzini of Red Hat.
Last Modified

CVE description copyright © 2017, The MITRE Corporation