Back
CVE-2012-4542
block/scsi_ioctl.c in the Linux kernel through 3.8 does not properly consider the SCSI device class during authorization of SCSI commands,…
Medium4.6EPSS 0.35%
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 0.35% · top 71% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.6.
Weakness
Affected products
n/a
- affected n/a
References (8)
- RHSA-2013:0496 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2013:0882 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2013:0928 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- [linux-kernel] 20130124 [PATCH 00/13] Corrections and customization of the SG_IO command whitelist (CVE-2012-4542) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=875360 (opens in a new tab)x_refsource_CONFIRMx_transferred
- [linux-kernel] 20130124 [PATCH 04/13] sg_io: resolve conflicts between commands assigned to multiple classes (CVE-2012-4542) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- RHSA-2013:0579 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://oss.oracle.com/git/?p=redpatch.git%3Ba=commit%3Bh=76a274e17114abf1a77de6b651424648ce9e10c8 (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .