kernel: block: default SCSI command filter does not accomodate commands overlap across device classes
Published Feb 28, 2013
4.6
MEDIUMCVSS 2.0
EPSS 0.35%
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.
Affected products
No data.
- ≤ 3.8.0
- 3.0
- 3.0
- 3.0
- 3.0
- 3.0
- 3.0
- 3.0
- 3.0.1
- 3.0.2
- 3.0.3
- 3.0.4
- 3.0.5
- 3.0.6
- 3.0.7
- 3.0.8
- 3.0.9
- 3.0.10
- 3.0.11
- 3.0.12
- 3.0.13
- 3.0.14
- 3.0.15
- 3.0.16
- 3.0.17
- 3.0.18
- 3.0.19
- 3.0.20
- 3.0.21
- 3.0.22
- 3.0.23
- 3.0.24
- 3.0.25
- 3.0.26
- 3.0.27
- 3.0.28
- 3.0.29
- 3.0.30
- 3.0.31
- 3.0.32
- 3.0.33
- 3.0.34
- 3.0.35
- 3.0.36
- 3.0.37
- 3.0.38
- 3.0.39
- 3.0.40
- 3.0.41
- 3.0.42
- 3.0.43
- 3.0.44
- 3.1
- 3.1
- 3.1
- 3.1
- 3.1
- 3.1.1
- 3.1.2
- 3.1.3
- 3.1.4
- 3.1.5
- 3.1.6
- 3.1.7
- 3.1.8
- 3.1.9
- 3.1.10
- 3.2
- 3.2
- 3.2
- 3.2
- 3.2
- 3.2
- 3.2
- 3.2.1
- 3.2.2
- 3.2.3
- 3.2.4
- 3.2.5
- 3.2.6
- 3.2.7
- 3.2.8
- 3.2.9
- 3.2.10
- 3.2.11
- 3.2.12
- 3.2.13
- 3.2.14
- 3.2.15
- 3.2.16
- 3.2.17
- 3.2.18
- 3.2.19
- 3.2.20
- 3.2.21
- 3.2.22
- 3.2.23
- 3.2.24
- 3.2.25
- 3.2.26
- 3.2.27
- 3.2.28
- 3.2.29
- 3.2.30
- 3.3
- 3.3
- 3.3
- 3.3
- 3.3
- 3.3
- 3.3
- 3.3
- 3.3.1
- 3.3.2
- 3.3.3
- 3.3.4
- 3.3.5
- 3.3.6
- 3.3.7
- 3.3.8
- 3.4
- 3.4
- 3.4
- 3.4
- 3.4
- 3.4
- 3.4
- 3.4
- 3.4.1
- 3.4.2
- 3.4.3
- 3.4.4
- 3.4.5
- 3.4.6
- 3.4.7
- 3.4.8
- 3.4.9
- 3.4.10
- 3.4.11
- 3.4.12
- 3.4.13
- 3.4.14
- 3.4.15
- 3.4.16
- 3.4.17
- 3.4.18
- 3.4.19
- 3.4.20
- 3.4.21
- 3.4.22
- 3.4.23
- 3.4.24
- 3.5.1
- 3.5.2
- 3.5.3
- 3.5.4
- 3.5.5
- 3.5.6
- 3.5.7
- 3.6
- 3.6.1
- 3.6.2
- 3.6.3
- 3.6.4
- 3.6.5
- 3.6.6
- 3.6.7
- 3.6.8
- 3.6.9
- 3.6.10
- 3.6.11
- 3.7
- 3.7.1
- 3.7.2
- 3.7.3
- 3.7.4
- 3.7.5
- 3.7.6
- 3.7.7
- 3.7.8
- 3.7.9
- 3.7.10
No data.
RHEV 3.X Hypervisor and Agents for RHEL-6
rhev-hypervisor6-0:6.4-20130221.0.el6
Fixed · RHSA-2013:0579
Red Hat Enterprise Linux 6
kernel-0:2.6.32-358.el6
Fixed · RHSA-2013:0496
Red Hat Enterprise Linux 6.2 EUS - Server and Compute Node Only
kernel-0:2.6.32-220.38.1.el6
Fixed · RHSA-2013:0882
Red Hat Enterprise Linux 6.3 EUS - Server and Compute Node Only
kernel-0:2.6.32-279.31.1.el6
Fixed · RHSA-2013:0928
Red Hat Enterprise MRG 2
kernel-rt-0:3.6.11-rt30.25.el6rt
Fixed · RHSA-2013:0622
Red Hat Enterprise Linux 5
kernel
Affected
Red Hat Enterprise Linux 7
kernel
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| RHEV 3.X Hypervisor and Agents for RHEL-6 | rhev-hypervisor6-0:6.4-20130221.0.el6 | Fixed | RHSA-2013:0579 |
| Red Hat Enterprise Linux 6 | kernel-0:2.6.32-358.el6 | Fixed | RHSA-2013:0496 |
| Red Hat Enterprise Linux 6.2 EUS - Server and Compute Node Only | kernel-0:2.6.32-220.38.1.el6 | Fixed | RHSA-2013:0882 |
| Red Hat Enterprise Linux 6.3 EUS - Server and Compute Node Only | kernel-0:2.6.32-279.31.1.el6 | Fixed | RHSA-2013:0928 |
| Red Hat Enterprise MRG 2 | kernel-rt-0:3.6.11-rt30.25.el6rt | Fixed | RHSA-2013:0622 |
| Red Hat Enterprise Linux 5 | kernel | Affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat 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.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:L/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (11 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.35% (0.00349) | 26.14th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.35% (0.00349) | 26.56th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.05% (0.00051) | 12.91th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00042) | 5.07th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00042) | 5.63th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.10% (0.01104) | 54.09th | v2 (v2022.01.01) |
| Feb 13, 2023 | 1.10% (0.01104) | 53.53th | v2 (v2022.01.01) |
| Feb 3, 2023 | 1.55% (0.01547) | 74.40th | v2 (v2022.01.01) |
| Sep 17, 2022 | 1.10% (0.01104) | 52.45th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.10% (0.01104) | 50.41th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.10% (0.01104) | 28.85th | v2 (v2022.01.01) |
References (11)
- http://marc.info/?l=linux-kernel&m=135903967015813&w=2 mailing-listx_refsource_MLIST
- http://marc.info/?l=linux-kernel&m=135904012416042&w=2 mailing-listx_refsource_MLIST
- http://rhn.redhat.com/errata/RHSA-2013-0496.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2013-0579.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2013-0882.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2013-0928.html vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2012-4542 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=875360 x_refsource_CONFIRMIssue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2012-4542
- https://oss.oracle.com/git/?p=redpatch.git%3Ba=commit%3Bh=76a274e17114abf1a77de6b651424648ce9e10c8 x_refsource_CONFIRM
- https://www.cve.org/CVERecord?id=CVE-2012-4542
| Link | Providers | Tags |
|---|---|---|
| http://marc.info/?l=linux-kernel&m=135903967015813&w=2 | mailing-listx_refsource_MLIST | |
| http://marc.info/?l=linux-kernel&m=135904012416042&w=2 | mailing-listx_refsource_MLIST | |
| http://rhn.redhat.com/errata/RHSA-2013-0496.html | vendor-advisoryx_refsource_REDHAT | |
| http://rhn.redhat.com/errata/RHSA-2013-0579.html | vendor-advisoryx_refsource_REDHAT | |
| http://rhn.redhat.com/errata/RHSA-2013-0882.html | vendor-advisoryx_refsource_REDHAT | |
| http://rhn.redhat.com/errata/RHSA-2013-0928.html | vendor-advisoryx_refsource_REDHAT | |
| https://access.redhat.com/security/cve/CVE-2012-4542 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=875360 | x_refsource_CONFIRMIssue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2012-4542 | ||
| https://oss.oracle.com/git/?p=redpatch.git%3Ba=commit%3Bh=76a274e17114abf1a77de6b651424648ce9e10c8 | x_refsource_CONFIRM | |
| https://www.cve.org/CVERecord?id=CVE-2012-4542 |
Change history (0)
No recorded changes yet.