The rio_ioctl function in drivers/net/ethernet/dlink/dl2k.c in the Linux kernel before…
Priority LOW 8CWE-264Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- High
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · None · Partial
- Fix status
- Partial Red Hat: 15 fixed, 1 without a fix
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-264.
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.
Why it matters now
EPSS 0.00556 46th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial Red Hat: 6 advisoriesRed Hat: 15 fixed, 1 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 22
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | up to 3.3.6 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:3.3:*:*:*:*:*:*:* | 3.3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:3.3:rc1:*:*:*:*:*:* | 3.3 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:3.3:rc2:*:*:*:*:*:* | 3.3 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:3.3:rc3:*:*:*:*:*:* | 3.3 rc3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:3.3:rc4:*:*:*:*:*:* | 3.3 rc4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:3.3:rc5:*:*:*:*:*:* | 3.3 rc5 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:3.3:rc6:*:*:*:*:*:* | 3.3 rc6 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:3.3:rc7:*:*:*:*:*:* | 3.3 rc7 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:3.3.1:*:*:*:*:*:*:* | 3.3.1 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions up to 3.3.6 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:3.3:*:*:*:*:*:*:* Versions 3.3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:3.3:rc1:*:*:*:*:*:* Versions 3.3 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:3.3:rc2:*:*:*:*:*:* Versions 3.3 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:3.3:rc3:*:*:*:*:*:* Versions 3.3 rc3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:3.3:rc4:*:*:*:*:*:* Versions 3.3 rc4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:3.3:rc5:*:*:*:*:*:* Versions 3.3 rc5 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:3.3:rc6:*:*:*:*:*:* Versions 3.3 rc6 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:3.3:rc7:*:*:*:*:*:* Versions 3.3 rc7 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:3.3.1:*:*:*:*:*:*:* Versions 3.3.1 Vulnerable ·Linux
Show 12 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:3.3.2:*:*:*:*:*:*:* | 3.3.2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:3.3.3:*:*:*:*:*:*:* | 3.3.3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:3.3.4:*:*:*:*:*:*:* | 3.3.4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:3.3.5:*:*:*:*:*:*:* | 3.3.5 | Vulnerable | Linux |
| cpe:2.3:o:novell:suse_linux_enterprise_server:10.0:sp4:*:*:ltss:*:*:* | 10.0 sp4 | Vulnerable | Novell |
| cpe:2.3:o:redhat:enterprise_linux:5:*:server:*:*:*:*:* | 5 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_desktop:5.0:*:client:*:*:*:*:* | 5.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_eus:5.6.z:*:server:*:*:*:*:* | 5.6.z | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_long_life:5.6:*:server:*:*:*:*:* | 5.6 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_aus:6.2:*:*:*:*:*:*:* | 6.2 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_eus:6.1.z:*:*:*:*:*:*:* | 6.1.z | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_eus:6.2.z:*:*:*:*:*:*:* | 6.2.z | Vulnerable | Red Hat |
- cpe:2.3:o:linux:linux_kernel:3.3.2:*:*:*:*:*:*:* Versions 3.3.2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:3.3.3:*:*:*:*:*:*:* Versions 3.3.3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:3.3.4:*:*:*:*:*:*:* Versions 3.3.4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:3.3.5:*:*:*:*:*:*:* Versions 3.3.5 Vulnerable ·Linux
- cpe:2.3:o:novell:suse_linux_enterprise_server:10.0:sp4:*:*:ltss:*:*:* Versions 10.0 sp4 Vulnerable ·Novell
- cpe:2.3:o:redhat:enterprise_linux:5:*:server:*:*:*:*:* Versions 5 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_desktop:5.0:*:client:*:*:*:*:* Versions 5.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_eus:5.6.z:*:server:*:*:*:*:* Versions 5.6.z Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_long_life:5.6:*:server:*:*:*:*:* Versions 5.6 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_aus:6.2:*:*:*:*:*:*:* Versions 6.2 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_eus:6.1.z:*:*:*:*:*:*:* Versions 6.1.z Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_eus:6.2.z:*:*:*:*:*:*:* Versions 6.2.z Vulnerable ·Red Hat
Remediation
Red Hat 6 advisories
- RHSA-2012:1589 Released 2012-12-18 · Red Hat rating Lowkernel security and bug fix update
- Red Hat Enterprise Linux Server EUS (v. 6.1) kernel-2.6.32-131.36.1.el6, kernel-bootwrapper-2.6.32-131.36.1.el6, kernel-debug-2.6.32-131.36.1.el6 +8
- RHSA-2012:1541 Released 2012-12-04 · Red Hat rating Moderatekernel security and bug fix update
- Red Hat Enterprise Linux Server EUS (v. 6.2) kernel-2.6.32-220.30.1.el6, kernel-bootwrapper-2.6.32-220.30.1.el6, kernel-debug-2.6.32-220.30.1.el6 +8
- 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
- RHSA-2012:1481 Released 2012-11-20 · Red Hat rating Lowkernel security and bug fix update
- Red Hat Enterprise Linux EUS (v. 5.6 server) kernel-2.6.18-238.47.1.el5, kernel-2.6.18-238.47.1.el5.ia64, kernel-PAE-2.6.18-238.47.1.el5 +18
Show 3 more Red Hat advisories
- RHSA-2012:1304 Released 2012-09-25 · Red Hat rating Moderatekernel security and bug fix update
- Red Hat Enterprise Linux Desktop (v. 6) kernel-2.6.32-279.9.1.el6, kernel-debug-2.6.32-279.9.1.el6, kernel-debug-devel-2.6.32-279.9.1.el6 +5
- 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
- Red Hat Enterprise Linux HPC Node (v. 6) kernel-2.6.32-279.9.1.el6, kernel-debug-2.6.32-279.9.1.el6, kernel-debug-devel-2.6.32-279.9.1.el6 +5
- 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
- Red Hat Enterprise Linux Server (v. 6) kernel-2.6.32-279.9.1.el6, kernel-bootwrapper-2.6.32-279.9.1.el6, kernel-debug-2.6.32-279.9.1.el6 +8
- 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
- Red Hat Enterprise Linux Workstation (v. 6) kernel-2.6.32-279.9.1.el6, kernel-debug-2.6.32-279.9.1.el6, kernel-debug-devel-2.6.32-279.9.1.el6 +5
- 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
- RHSA-2012:1282 Released 2012-09-19 · Red Hat rating Moderatekernel-rt security, bug fix, and enhancement update
- Red Hat MRG Realtime for RHEL 6 Server v.2 kernel-rt-3.2.23-rt37.56.el6rt, kernel-rt-debug-3.2.23-rt37.56.el6rt, kernel-rt-debug-devel-3.2.23-rt37.56.el6rt +9
- RHSA-2012:1174 Released 2012-08-21 · Red Hat rating Lowkernel security and bug fix update
- Red Hat Enterprise Linux (v. 5 server) kernel-2.6.18-308.13.1.el5, kernel-2.6.18-308.13.1.el5.ia64, kernel-PAE-2.6.18-308.13.1.el5 +18
- 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-PAE-devel-2.6.18-308.13.1.el5 +8
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 4 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2012:1174 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | Fixed | RHSA-2012:1174 |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2012:1304 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2012:1304 |
| Red Hat Enterprise Linux EUS (v. 5.6 server) | Fixed | RHSA-2012:1481 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2012:1304 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2012:1304 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2012:1304 |
| Red Hat Enterprise Linux Server EUS (v. 6.1) | Fixed | RHSA-2012:1589 |
| Red Hat Enterprise Linux Server EUS (v. 6.2) | Fixed | RHSA-2012:1541 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2012:1304 |
| Red Hat Enterprise Linux Server Optional EUS (v. 6.2) | Fixed | RHSA-2012:1541 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2012:1304 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2012:1304 |
| Red Hat MRG Realtime for RHEL 6 Server v.2 | Fixed | RHSA-2012:1282 |
Timeline
- 2026-10-02 Threatist record created from CVE-2012-2313
- 2026-10-03 Alias added: GHSA-gjcc-798m-m76x
References
Other 4
- [oss-security] 20120504 Re: CVE Request: more tight ioctl permissions in dl2k driver
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.3.7
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=1bb57e940e1958e40d51f2078f50c3a96a9b2d75
- https://bugzilla.redhat.com/show_bug.cgi?id=818820
Sources
- CVE-2012-2313 · CVE Program
- CVE-2012-2313 · NVD
- FIRST EPSS
- GHSA-gjcc-798m-m76x · GitHub Advisory Database · CC BY 4.0
- CVE-2012-2313 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences