CVE-2012-4542

Summary

CVECVE-2012-4542
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2013-02-28 19:55:01 UTC
Updated2026-04-29 01:13:23 UTC
Descriptionblock/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.

Risk And Classification

Primary CVSS: v2.0 4.6 from [email protected]

AV:L/AC:L/Au:N/C:P/I:P/A:P

Problem Types: CWE-264 | n/a

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:L/AC:L/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel 3.0 rc1 All All
Operating System Linux Linux Kernel 3.0 rc2 All All
Operating System Linux Linux Kernel 3.0 rc3 All All
Operating System Linux Linux Kernel 3.0 rc4 All All
Operating System Linux Linux Kernel 3.0 rc5 All All
Operating System Linux Linux Kernel 3.0 rc6 All All
Operating System Linux Linux Kernel 3.0 rc7 All All
Operating System Linux Linux Kernel 3.0.1 All All All
Operating System Linux Linux Kernel 3.0.10 All All All
Operating System Linux Linux Kernel 3.0.11 All All All
Operating System Linux Linux Kernel 3.0.12 All All All
Operating System Linux Linux Kernel 3.0.13 All All All
Operating System Linux Linux Kernel 3.0.14 All All All
Operating System Linux Linux Kernel 3.0.15 All All All
Operating System Linux Linux Kernel 3.0.16 All All All
Operating System Linux Linux Kernel 3.0.17 All All All
Operating System Linux Linux Kernel 3.0.18 All All All
Operating System Linux Linux Kernel 3.0.19 All All All
Operating System Linux Linux Kernel 3.0.2 All All All
Operating System Linux Linux Kernel 3.0.20 All All All
Operating System Linux Linux Kernel 3.0.21 All All All
Operating System Linux Linux Kernel 3.0.22 All All All
Operating System Linux Linux Kernel 3.0.23 All All All
Operating System Linux Linux Kernel 3.0.24 All All All
Operating System Linux Linux Kernel 3.0.25 All All All
Operating System Linux Linux Kernel 3.0.26 All All All
Operating System Linux Linux Kernel 3.0.27 All All All
Operating System Linux Linux Kernel 3.0.28 All All All
Operating System Linux Linux Kernel 3.0.29 All All All
Operating System Linux Linux Kernel 3.0.3 All All All
Operating System Linux Linux Kernel 3.0.30 All All All
Operating System Linux Linux Kernel 3.0.31 All All All
Operating System Linux Linux Kernel 3.0.32 All All All
Operating System Linux Linux Kernel 3.0.33 All All All
Operating System Linux Linux Kernel 3.0.34 All All All
Operating System Linux Linux Kernel 3.0.35 All All All
Operating System Linux Linux Kernel 3.0.36 All All All
Operating System Linux Linux Kernel 3.0.37 All All All
Operating System Linux Linux Kernel 3.0.38 All All All
Operating System Linux Linux Kernel 3.0.39 All All All
Operating System Linux Linux Kernel 3.0.4 All All All
Operating System Linux Linux Kernel 3.0.40 All All All
Operating System Linux Linux Kernel 3.0.41 All All All
Operating System Linux Linux Kernel 3.0.42 All All All
Operating System Linux Linux Kernel 3.0.43 All All All
Operating System Linux Linux Kernel 3.0.44 All All All
Operating System Linux Linux Kernel 3.0.5 All All All
Operating System Linux Linux Kernel 3.0.6 All All All
Operating System Linux Linux Kernel 3.0.7 All All All
Operating System Linux Linux Kernel 3.0.8 All All All
Operating System Linux Linux Kernel 3.0.9 All All All
Operating System Linux Linux Kernel 3.1 All All All
Operating System Linux Linux Kernel 3.1 rc1 All All
Operating System Linux Linux Kernel 3.1 rc2 All All
Operating System Linux Linux Kernel 3.1 rc3 All All
Operating System Linux Linux Kernel 3.1 rc4 All All
Operating System Linux Linux Kernel 3.1.1 All All All
Operating System Linux Linux Kernel 3.1.10 All All All
Operating System Linux Linux Kernel 3.1.2 All All All
Operating System Linux Linux Kernel 3.1.3 All All All
Operating System Linux Linux Kernel 3.1.4 All All All
Operating System Linux Linux Kernel 3.1.5 All All All
Operating System Linux Linux Kernel 3.1.6 All All All
Operating System Linux Linux Kernel 3.1.7 All All All
Operating System Linux Linux Kernel 3.1.8 All All All
Operating System Linux Linux Kernel 3.1.9 All All All
Operating System Linux Linux Kernel 3.2 All All All
Operating System Linux Linux Kernel 3.2 rc2 All All
Operating System Linux Linux Kernel 3.2 rc3 All All
Operating System Linux Linux Kernel 3.2 rc4 All All
Operating System Linux Linux Kernel 3.2 rc5 All All
Operating System Linux Linux Kernel 3.2 rc6 All All
Operating System Linux Linux Kernel 3.2 rc7 All All
Operating System Linux Linux Kernel 3.2.1 All All All
Operating System Linux Linux Kernel 3.2.10 All All All
Operating System Linux Linux Kernel 3.2.11 All All All
Operating System Linux Linux Kernel 3.2.12 All All All
Operating System Linux Linux Kernel 3.2.13 All All All
Operating System Linux Linux Kernel 3.2.14 All All All
Operating System Linux Linux Kernel 3.2.15 All All All
Operating System Linux Linux Kernel 3.2.16 All All All
Operating System Linux Linux Kernel 3.2.17 All All All
Operating System Linux Linux Kernel 3.2.18 All All All
Operating System Linux Linux Kernel 3.2.19 All All All
Operating System Linux Linux Kernel 3.2.2 All All All
Operating System Linux Linux Kernel 3.2.20 All All All
Operating System Linux Linux Kernel 3.2.21 All All All
Operating System Linux Linux Kernel 3.2.22 All All All
Operating System Linux Linux Kernel 3.2.23 All All All
Operating System Linux Linux Kernel 3.2.24 All All All
Operating System Linux Linux Kernel 3.2.25 All All All
Operating System Linux Linux Kernel 3.2.26 All All All
Operating System Linux Linux Kernel 3.2.27 All All All
Operating System Linux Linux Kernel 3.2.28 All All All
Operating System Linux Linux Kernel 3.2.29 All All All
Operating System Linux Linux Kernel 3.2.3 All All All
Operating System Linux Linux Kernel 3.2.30 All All All
Operating System Linux Linux Kernel 3.2.4 All All All
Operating System Linux Linux Kernel 3.2.5 All All All
Operating System Linux Linux Kernel 3.2.6 All All All
Operating System Linux Linux Kernel 3.2.7 All All All
Operating System Linux Linux Kernel 3.2.8 All All All
Operating System Linux Linux Kernel 3.2.9 All All All
Operating System Linux Linux Kernel 3.3 All All All
Operating System Linux Linux Kernel 3.3 rc1 All All
Operating System Linux Linux Kernel 3.3 rc2 All All
Operating System Linux Linux Kernel 3.3 rc3 All All
Operating System Linux Linux Kernel 3.3 rc4 All All
Operating System Linux Linux Kernel 3.3 rc5 All All
Operating System Linux Linux Kernel 3.3 rc6 All All
Operating System Linux Linux Kernel 3.3 rc7 All All
Operating System Linux Linux Kernel 3.3.1 All All All
Operating System Linux Linux Kernel 3.3.2 All All All
Operating System Linux Linux Kernel 3.3.3 All All All
Operating System Linux Linux Kernel 3.3.4 All All All
Operating System Linux Linux Kernel 3.3.5 All All All
Operating System Linux Linux Kernel 3.3.6 All All All
Operating System Linux Linux Kernel 3.3.7 All All All
Operating System Linux Linux Kernel 3.3.8 All All All
Operating System Linux Linux Kernel 3.4 All All All
Operating System Linux Linux Kernel 3.4 rc1 All All
Operating System Linux Linux Kernel 3.4 rc2 All All
Operating System Linux Linux Kernel 3.4 rc3 All All
Operating System Linux Linux Kernel 3.4 rc4 All All
Operating System Linux Linux Kernel 3.4 rc5 All All
Operating System Linux Linux Kernel 3.4 rc6 All All
Operating System Linux Linux Kernel 3.4 rc7 All All
Operating System Linux Linux Kernel 3.4.1 All All All
Operating System Linux Linux Kernel 3.4.10 All All All
Operating System Linux Linux Kernel 3.4.11 All All All
Operating System Linux Linux Kernel 3.4.12 All All All
Operating System Linux Linux Kernel 3.4.13 All All All
Operating System Linux Linux Kernel 3.4.14 All All All
Operating System Linux Linux Kernel 3.4.15 All All All
Operating System Linux Linux Kernel 3.4.16 All All All
Operating System Linux Linux Kernel 3.4.17 All All All
Operating System Linux Linux Kernel 3.4.18 All All All
Operating System Linux Linux Kernel 3.4.19 All All All
Operating System Linux Linux Kernel 3.4.2 All All All
Operating System Linux Linux Kernel 3.4.20 All All All
Operating System Linux Linux Kernel 3.4.21 All All All
Operating System Linux Linux Kernel 3.4.22 All All All
Operating System Linux Linux Kernel 3.4.23 All All All
Operating System Linux Linux Kernel 3.4.24 All All All
Operating System Linux Linux Kernel 3.4.3 All All All
Operating System Linux Linux Kernel 3.4.4 All All All
Operating System Linux Linux Kernel 3.4.5 All All All
Operating System Linux Linux Kernel 3.4.6 All All All
Operating System Linux Linux Kernel 3.4.7 All All All
Operating System Linux Linux Kernel 3.4.8 All All All
Operating System Linux Linux Kernel 3.4.9 All All All
Operating System Linux Linux Kernel 3.5.1 All All All
Operating System Linux Linux Kernel 3.5.2 All All All
Operating System Linux Linux Kernel 3.5.3 All All All
Operating System Linux Linux Kernel 3.5.4 All All All
Operating System Linux Linux Kernel 3.5.5 All All All
Operating System Linux Linux Kernel 3.5.6 All All All
Operating System Linux Linux Kernel 3.5.7 All All All
Operating System Linux Linux Kernel 3.6 All All All
Operating System Linux Linux Kernel 3.6.1 All All All
Operating System Linux Linux Kernel 3.6.10 All All All
Operating System Linux Linux Kernel 3.6.11 All All All
Operating System Linux Linux Kernel 3.6.2 All All All
Operating System Linux Linux Kernel 3.6.3 All All All
Operating System Linux Linux Kernel 3.6.4 All All All
Operating System Linux Linux Kernel 3.6.5 All All All
Operating System Linux Linux Kernel 3.6.6 All All All
Operating System Linux Linux Kernel 3.6.7 All All All
Operating System Linux Linux Kernel 3.6.8 All All All
Operating System Linux Linux Kernel 3.6.9 All All All
Operating System Linux Linux Kernel 3.7 All All All
Operating System Linux Linux Kernel 3.7.1 All All All
Operating System Linux Linux Kernel 3.7.10 All All All
Operating System Linux Linux Kernel 3.7.2 All All All
Operating System Linux Linux Kernel 3.7.3 All All All
Operating System Linux Linux Kernel 3.7.4 All All All
Operating System Linux Linux Kernel 3.7.5 All All All
Operating System Linux Linux Kernel 3.7.6 All All All
Operating System Linux Linux Kernel 3.7.7 All All All
Operating System Linux Linux Kernel 3.7.8 All All All
Operating System Linux Linux Kernel 3.7.9 All All All
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
oss.oracle.com - redpatch.git/commit af854a3a-2127-422b-91ae-364da2661108 oss.oracle.com
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
'[PATCH 04/13] sg_io: resolve conflicts between commands assigned to multiple classes (CVE-2012-4542)' - MARC af854a3a-2127-422b-91ae-364da2661108 marc.info
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
Bug 875360 – CVE-2012-4542 kernel: block: default SCSI command filter does not accomodate commands overlap across device classes af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
'[PATCH 00/13] Corrections and customization of the SG_IO command whitelist (CVE-2012-4542)' - MARC af854a3a-2127-422b-91ae-364da2661108 marc.info
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
oss.oracle.com - redpatch.git/commit MITRE oss.oracle.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report