CVE-2012-2313
What it is
The rio_ioctl function in drivers/net/ethernet/dlink/dl2k.c in the Linux kernel before 3.3.7 does not restrict access to the SIOCSMIIREG command, which allows local users to write data to an Ethernet adapter via an ioctl call.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. Limited direct impact.
- Exploit odds
- 0.6% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
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.6% in the next 30 days (EPSS).
- Severity: 1.2 LOW (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.6% · EPSS, next 30 days
- Weakness
- CWE-264
- Record status
- Modified
Affected
- Linux Kernel ≤ 3.3.6
- Linux Kernel 3.3
- Linux Kernel 3.3.1
- Linux Kernel 3.3.2
- Linux Kernel 3.3.3
- Linux Kernel 3.3.4
- Linux Kernel 3.3.5
- Novell Suse Linux Enterprise Server 10.0
Attack profile CVSS 2.0 · 1.2
- Attack vector
- Local
- Complexity
- High
- Authentication
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
Raw vector
AV:L/AC:H/Au:N/C:N/I:N/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-2313.md and follow it. Check whether this project is affected by CVE-2012-2313. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/torvalds/linux/commit/1bb57e940e1958e40d51f2078f50c3a96a9b2d75
- https://github.com/torvalds/linux/commit/1bb57e940e1958e40d51f2078f50c3a96a9b2d75
References
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=1bb57e940e1958e40d51f2078f50c3a96a9b2d75
- http://lists.opensuse.org/opensuse-security-announce/2015-04/msg00020.html
- http://marc.info/?l=bugtraq&m=139447903326211&w=2
- http://rhn.redhat.com/errata/RHSA-2012-1174.html
- http://rhn.redhat.com/errata/RHSA-2012-1481.html
- http://rhn.redhat.com/errata/RHSA-2012-1541.html
- http://rhn.redhat.com/errata/RHSA-2012-1589.html
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.3.7
- http://www.openwall.com/lists/oss-security/2012/05/04/8
- http://www.securityfocus.com/bid/53965
- https://bugzilla.redhat.com/show_bug.cgi?id=818820
- https://github.com/torvalds/linux/commit/1bb57e940e1958e40d51f2078f50c3a96a9b2d75
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=1bb57e940e1958e40d51f2078f50c3a96a9b2d75
- http://lists.opensuse.org/opensuse-security-announce/2015-04/msg00020.html
- http://marc.info/?l=bugtraq&m=139447903326211&w=2
- http://rhn.redhat.com/errata/RHSA-2012-1174.html
- http://rhn.redhat.com/errata/RHSA-2012-1481.html
- http://rhn.redhat.com/errata/RHSA-2012-1541.html
- http://rhn.redhat.com/errata/RHSA-2012-1589.html
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.3.7
- http://www.openwall.com/lists/oss-security/2012/05/04/8
- http://www.securityfocus.com/bid/53965
- https://bugzilla.redhat.com/show_bug.cgi?id=818820
- https://github.com/torvalds/linux/commit/1bb57e940e1958e40d51f2078f50c3a96a9b2d75