CVE-2012-2313 json
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 co…
published 2012-06-13 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-2306
- cvss
- 1.2
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 46%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- linux Debian 14, Debian 13, Debian 12 3.2.19-1
debian advisories DEBIAN-CVE-2012-2313
- kernel RHEL 6 2.6.32-279.9.1.el6
- perf RHEL 6 2.6.32-279.9.1.el6
- python-perf RHEL 6 2.6.32-279.9.1.el6
- kernel-kdump RHEL 6 2.6.32-279.9.1.el6
- kernel-firmware RHEL 6 2.6.32-279.9.1.el6
- kernel-bootwrapper RHEL 6 2.6.32-279.9.1.el6
- kernel-debuginfo-common-i686 RHEL 6 2.6.32-279.9.1.el6
- kernel-debuginfo-common-ppc64 RHEL 6 2.6.32-279.9.1.el6
red hat advisories RHSA-2012:1304RHSA-2012:1589RHSA-2012:1481RHSA-2012:1541RHSA-2012:1282RHSA-2012:1174
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-2313 updated cvss 1.2
kernel: unfiltered netdev rio_ioctl access by users
-
Red Hat Enterprise Linux 4 kernelaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux (v. 5 server) kernel 2.6.18-308.13.1.el5, kernel-PAE 2.6.18-308.13.1.el5, kernel-xen 2.6.18-308.13.1.el5, kernel-kdump 2.6.18-308.13.1.el5, kernel-debuginfo-common 2.6.18-308.13.1.el5 Red Hat Enterprise Linux Desktop (v. 5 client) kernel 2.6.18-308.13.1.el5, kernel-PAE 2.6.18-308.13.1.el5, kernel-xen 2.6.18-308.13.1.el5, kernel-debuginfo-common 2.6.18-308.13.1.el5fixed: vendor fix RHSA-2012:1174
-
Red Hat Enterprise Linux Desktop (v. 6) perf 2.6.32-279.9.1.el6, kernel 2.6.32-279.9.1.el6, kernel-firmware 2.6.32-279.9.1.el6, kernel-debuginfo-common-i686 2.6.32-279.9.1.el6, kernel-debuginfo-common-x86_64 2.6.32-279.9.1.el6 Red Hat Enterprise Linux Desktop Optional (v. 6) kernel 2.6.32-279.9.1.el6, python-perf 2.6.32-279.9.1.el6, kernel-debuginfo-common-i686 2.6.32-279.9.1.el6, kernel-debuginfo-common-x86_64 2.6.32-279.9.1.el6fixed: vendor fix RHSA-2012:1304
-
Red Hat Enterprise Linux EUS (v. 5.6 server) kernel 2.6.18-238.47.1.el5, kernel-PAE 2.6.18-238.47.1.el5, kernel-xen 2.6.18-238.47.1.el5, kernel-kdump 2.6.18-238.47.1.el5, kernel-debuginfo-common 2.6.18-238.47.1.el5fixed: vendor fix RHSA-2012:1481
-
Red Hat Enterprise Linux HPC Node (v. 6) perf 2.6.32-279.9.1.el6, kernel 2.6.32-279.9.1.el6, kernel-firmware 2.6.32-279.9.1.el6, kernel-debuginfo-common-x86_64 2.6.32-279.9.1.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) kernel 2.6.32-279.9.1.el6, python-perf 2.6.32-279.9.1.el6, kernel-debuginfo-common-x86_64 2.6.32-279.9.1.el6 Red Hat Enterprise Linux Server (v. 6) perf 2.6.32-279.9.1.el6, kernel 2.6.32-279.9.1.el6, kernel-kdump 2.6.32-279.9.1.el6, kernel-firmware 2.6.32-279.9.1.el6, kernel-bootwrapper 2.6.32-279.9.1.el6, kernel-debuginfo-common-i686 2.6.32-279.9.1.el6, +3 morefixed: vendor fix RHSA-2012:1304
-
Red Hat Enterprise Linux Server EUS (v. 6.1) perf 2.6.32-131.36.1.el6, kernel 2.6.32-131.36.1.el6, kernel-kdump 2.6.32-131.36.1.el6, kernel-firmware 2.6.32-131.36.1.el6, kernel-bootwrapper 2.6.32-131.36.1.el6, kernel-debuginfo-common-i686 2.6.32-131.36.1.el6, +3 morefixed: vendor fix RHSA-2012:1589
-
Red Hat Enterprise Linux Server EUS (v. 6.2) perf 2.6.32-220.30.1.el6, kernel 2.6.32-220.30.1.el6, kernel-kdump 2.6.32-220.30.1.el6, kernel-firmware 2.6.32-220.30.1.el6, kernel-bootwrapper 2.6.32-220.30.1.el6, kernel-debuginfo-common-i686 2.6.32-220.30.1.el6, +3 morefixed: vendor fix RHSA-2012:1541
-
Red Hat Enterprise Linux Server Optional (v. 6) kernel 2.6.32-279.9.1.el6, python-perf 2.6.32-279.9.1.el6, kernel-debuginfo-common-i686 2.6.32-279.9.1.el6, kernel-debuginfo-common-ppc64 2.6.32-279.9.1.el6, kernel-debuginfo-common-s390x 2.6.32-279.9.1.el6, kernel-debuginfo-common-x86_64 2.6.32-279.9.1.el6fixed: vendor fix RHSA-2012:1304
show 3 moreshow fewer
-
Red Hat Enterprise Linux Server Optional EUS (v. 6.2) kernel 2.6.32-220.30.1.el6, python-perf 2.6.32-220.30.1.el6, kernel-debuginfo-common-i686 2.6.32-220.30.1.el6, kernel-debuginfo-common-ppc64 2.6.32-220.30.1.el6, kernel-debuginfo-common-s390x 2.6.32-220.30.1.el6, kernel-debuginfo-common-x86_64 2.6.32-220.30.1.el6fixed: vendor fix RHSA-2012:1541
-
Red Hat Enterprise Linux Workstation (v. 6) perf 2.6.32-279.9.1.el6, kernel 2.6.32-279.9.1.el6, kernel-firmware 2.6.32-279.9.1.el6, kernel-debuginfo-common-i686 2.6.32-279.9.1.el6, kernel-debuginfo-common-x86_64 2.6.32-279.9.1.el6 Red Hat Enterprise Linux Workstation Optional (v. 6) kernel 2.6.32-279.9.1.el6, python-perf 2.6.32-279.9.1.el6, kernel-debuginfo-common-i686 2.6.32-279.9.1.el6, kernel-debuginfo-common-x86_64 2.6.32-279.9.1.el6fixed: vendor fix RHSA-2012:1304
-
Red Hat MRG Realtime for RHEL 6 Server v.2 rt-firmware 1.0-3.el6_3, kernel-rt 3.2.23-rt37.56.el6rt, mrg-rt-release 3.2.23-rt37.56.el6rt, kernel-rt-trace 3.2.23-rt37.56.el6rt, kernel-rt-vanilla 3.2.23-rt37.56.el6rt, kernel-rt-firmware 3.2.23-rt37.56.el6rt, +1 morefixed: vendor fix RHSA-2012:1282
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.56% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/torvalds/linux/commit/1bb57e940e1958e40d51f2078f50c3a96a9b2d75 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 1.2 | AV:L/AC:H/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-264 Permissions, Privileges, and Access Controls
- Technology feeds
References
-
github.com
/torvalds/linux/commit/1bb57e940e1958e40d51f2078f50c3a96a9b2d75
exploit, patch
-
rhn.redhat.com
/errata/RHSA-2012-1174.html
vendor-advisory, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2012-1541.html
vendor-advisory, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2012-1481.html
vendor-advisory, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2012-1589.html
vendor-advisory, third-party-advisory
-
marc.info
/?l=bugtraq&m=139447903326211&w=2
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2015-04/msg00020.html
vendor-advisory, third-party-advisory
-
openwall.com
/lists/oss-security/2012/05/04/8
mailing-list
-
kernel.org
/pub/linux/kernel/v3.x/ChangeLog-3.3.7
release-notes
-
securityfocus.com
/bid/53965
vdb-entry, third-party-advisory
- git.kernel.org /?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=1bb57e940e1958e40d51f2078f50c3a96a9b2d75
-
bugzilla.redhat.com
/show_bug.cgi?id=818820
issue-tracking
Sources
- CVE List CVE-2012-2313
- NVD CVE-2012-2313
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.