CVE-2012-4542
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. Limited direct impact.
- Exploit odds
- 0.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.3% in the next 30 days (EPSS).
- Severity: 4.6 MEDIUM (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 0.3% · EPSS, next 30 days
- Weakness
- CWE-264
- Record status
- Modified
Affected
- Linux Kernel ≤ 3.8.0
- Linux Kernel 3.0
- Linux Kernel 3.0.1
- Linux Kernel 3.0.2
- Linux Kernel 3.0.3
- Linux Kernel 3.0.4
- Linux Kernel 3.0.5
- Linux Kernel 3.0.6
Attack profile CVSS 2.0 · 4.6
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:L/AC:L/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-4542.md and follow it. Check whether this project is affected by CVE-2012-4542. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- http://marc.info/?l=linux-kernel&m=135903967015813&w=2
- http://marc.info/?l=linux-kernel&m=135904012416042&w=2
- http://rhn.redhat.com/errata/RHSA-2013-0496.html
- http://rhn.redhat.com/errata/RHSA-2013-0579.html
- http://rhn.redhat.com/errata/RHSA-2013-0882.html
- http://rhn.redhat.com/errata/RHSA-2013-0928.html
- https://bugzilla.redhat.com/show_bug.cgi?id=875360
- https://oss.oracle.com/git/?p=redpatch.git%3Ba=commit%3Bh=76a274e17114abf1a77de6b651424648ce9e10c8
- http://marc.info/?l=linux-kernel&m=135903967015813&w=2
- http://marc.info/?l=linux-kernel&m=135904012416042&w=2
- http://rhn.redhat.com/errata/RHSA-2013-0496.html
- http://rhn.redhat.com/errata/RHSA-2013-0579.html
- http://rhn.redhat.com/errata/RHSA-2013-0882.html
- http://rhn.redhat.com/errata/RHSA-2013-0928.html
- https://bugzilla.redhat.com/show_bug.cgi?id=875360
- https://oss.oracle.com/git/?p=redpatch.git%3Ba=commit%3Bh=76a274e17114abf1a77de6b651424648ce9e10c8