VDB
CVE-2012-4542
CVE-2012-4542
PUBLISHED
Reported by redhat · Published February 28, 2013
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 3.8.0 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Feb 28, 2013 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Aug 6, 2024 CVE Updated
- Mar 19, 2026 PoC Published
- Jun 1, 2026 Security Advisory
- Oct 26, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2012-4542
vulnetix vdb fixes CVE-2012-4542
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2012-4542/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2013:0496 vendor-advisoryx_refsource_REDHAT
- RHSA-2013:0882 vendor-advisoryx_refsource_REDHAT
- RHSA-2013:0928 vendor-advisoryx_refsource_REDHAT
- [linux-kernel] 20130124 [PATCH 00/13] Corrections and customization of the SG_IO command whitelist (CVE-2012-4542) mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- [linux-kernel] 20130124 [PATCH 04/13] sg_io: resolve conflicts between commands assigned to multiple classes (CVE-2012-4542) mailing-listx_refsource_MLIST
- RHSA-2013:0579 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM