Skip to content
Fencer Intel
medium 4.6

CVE-2012-4542 json

block/scsi_ioctl.c in the Linux kernel through 3.8 does not properly consider the SCSI device class during authorization of SCSI commands,…

published 2013-02-28 13 y ago modified 2026-06-16 4 mo ago also EUVD-2012-4470

cvss
4.6
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 28%
public exploits
0
none known

Summary

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.

Patch / fix

  • kernel RHEL 6 2.6.32-358.el6
  • perf RHEL 6 2.6.32-358.el6
  • python-perf RHEL 6 2.6.32-358.el6
  • kernel-kdump RHEL 6 2.6.32-358.el6
  • kernel-firmware RHEL 6 2.6.32-358.el6
  • kernel-bootwrapper RHEL 6 2.6.32-358.el6
  • kernel-debuginfo-common-i686 RHEL 6 2.6.32-358.el6
  • kernel-debuginfo-common-ppc64 RHEL 6 2.6.32-358.el6

red hat advisories RHSA-2013:0882RHSA-2013:0496RHSA-2013:0928RHSA-2013:0579RHSA-2013:0622

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2012-4542 updated cvss 4.9

kernel: block: default SCSI command filter does not accomodate commands overlap across device classes

  • Red Hat Enterprise Linux 5 kernel
    affected: no fix available
  • Red Hat Enterprise Linux 7 perf, kernel, bpftool, python-perf, kernel-kdump, kernel-tools, +3 more
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux Desktop (v. 6) perf 2.6.32-358.el6, kernel 2.6.32-358.el6, kernel-firmware 2.6.32-358.el6, kernel-debuginfo-common-i686 2.6.32-358.el6, kernel-debuginfo-common-x86_64 2.6.32-358.el6 Red Hat Enterprise Linux Desktop Optional (v. 6) kernel 2.6.32-358.el6, python-perf 2.6.32-358.el6, kernel-debuginfo-common-i686 2.6.32-358.el6, kernel-debuginfo-common-x86_64 2.6.32-358.el6 Red Hat Enterprise Linux HPC Node (v. 6) perf 2.6.32-358.el6, kernel 2.6.32-358.el6, kernel-firmware 2.6.32-358.el6, kernel-debuginfo-common-x86_64 2.6.32-358.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) kernel 2.6.32-358.el6, python-perf 2.6.32-358.el6, kernel-debuginfo-common-x86_64 2.6.32-358.el6 Red Hat Enterprise Linux Server (v. 6) perf 2.6.32-358.el6, kernel 2.6.32-358.el6, kernel-kdump 2.6.32-358.el6, kernel-firmware 2.6.32-358.el6, kernel-bootwrapper 2.6.32-358.el6, kernel-debuginfo-common-i686 2.6.32-358.el6, +3 more
    fixed: vendor fix RHSA-2013:0496
  • Red Hat Enterprise Linux Server EUS (v. 6.2) perf 2.6.32-220.38.1.el6, kernel 2.6.32-220.38.1.el6, kernel-kdump 2.6.32-220.38.1.el6, kernel-firmware 2.6.32-220.38.1.el6, kernel-bootwrapper 2.6.32-220.38.1.el6, kernel-debuginfo-common-i686 2.6.32-220.38.1.el6, +3 more
    fixed: vendor fix RHSA-2013:0882
  • Red Hat Enterprise Linux Server EUS (v. 6.3) perf 2.6.32-279.31.1.el6, kernel 2.6.32-279.31.1.el6, kernel-kdump 2.6.32-279.31.1.el6, kernel-firmware 2.6.32-279.31.1.el6, kernel-bootwrapper 2.6.32-279.31.1.el6, kernel-debuginfo-common-i686 2.6.32-279.31.1.el6, +3 more
    fixed: vendor fix RHSA-2013:0928
  • Red Hat Enterprise Linux Server Optional (v. 6) kernel 2.6.32-358.el6, python-perf 2.6.32-358.el6, kernel-debuginfo-common-i686 2.6.32-358.el6, kernel-debuginfo-common-ppc64 2.6.32-358.el6, kernel-debuginfo-common-s390x 2.6.32-358.el6, kernel-debuginfo-common-x86_64 2.6.32-358.el6
    fixed: vendor fix RHSA-2013:0496
  • Red Hat Enterprise Linux Server Optional EUS (v. 6.2) kernel 2.6.32-220.38.1.el6, python-perf 2.6.32-220.38.1.el6, kernel-debuginfo-common-i686 2.6.32-220.38.1.el6, kernel-debuginfo-common-ppc64 2.6.32-220.38.1.el6, kernel-debuginfo-common-s390x 2.6.32-220.38.1.el6, kernel-debuginfo-common-x86_64 2.6.32-220.38.1.el6
    fixed: vendor fix RHSA-2013:0882
  • Red Hat Enterprise Linux Server Optional EUS (v. 6.3) kernel 2.6.32-279.31.1.el6, python-perf 2.6.32-279.31.1.el6, kernel-debuginfo-common-i686 2.6.32-279.31.1.el6, kernel-debuginfo-common-ppc64 2.6.32-279.31.1.el6, kernel-debuginfo-common-s390x 2.6.32-279.31.1.el6, kernel-debuginfo-common-x86_64 2.6.32-279.31.1.el6
    fixed: vendor fix RHSA-2013:0928
show 3 more
  • Red Hat Enterprise Linux Workstation (v. 6) perf 2.6.32-358.el6, kernel 2.6.32-358.el6, kernel-firmware 2.6.32-358.el6, kernel-debuginfo-common-i686 2.6.32-358.el6, kernel-debuginfo-common-x86_64 2.6.32-358.el6 Red Hat Enterprise Linux Workstation Optional (v. 6) kernel 2.6.32-358.el6, python-perf 2.6.32-358.el6, kernel-debuginfo-common-i686 2.6.32-358.el6, kernel-debuginfo-common-x86_64 2.6.32-358.el6
    fixed: vendor fix RHSA-2013:0496
  • Red Hat MRG Realtime for RHEL 6 Server v.2 kernel-rt 3.6.11-rt30.25.el6rt, mrg-rt-release 3.6.11-rt30.25.el6rt, kernel-rt-trace 3.6.11-rt30.25.el6rt, kernel-rt-vanilla 3.6.11-rt30.25.el6rt, kernel-rt-firmware 3.6.11-rt30.25.el6rt, kernel-rt-debuginfo-common-x86_64 3.6.11-rt30.25.el6rt
    fixed: vendor fix RHSA-2013:0622
  • Red Hat RHEV Hypervisor for RHEL-6 rhev-hypervisor6 6.4-20130221.0.el6
    fixed: vendor fix RHSA-2013:0579

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.35% chance of exploitation in the next 30 days, higher than 28% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 4.6 AV:L/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-264 Permissions, Privileges, and Access Controls
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.