VDB
CVE-2012-2313
CVE-2012-2313
PUBLISHED
Reported by redhat · Published June 13, 2012
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.
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.3.6 |
| linux-hwe | Ubuntu:16.04:LTS | 4.8.0-36.36~16.04.1 |
| linux-flo | Ubuntu:14.04:LTS | 3.4.0-1.3 |
| linux-mako | Ubuntu:14.04:LTS | 3.4.0-3.21 |
| linux-manta | Ubuntu:14.04:LTS | 3.4.0-4.19 |
| linux-aws | Ubuntu:14.04:LTS | 4.4.0-1002.2 |
| linux-snapdragon | Ubuntu:16.04:LTS | 4.4.0-1012.12 |
| linux-lts-vivid | Ubuntu:14.04:LTS | 3.19.0-18.18~14.04.1 |
| linux-lts-xenial | Ubuntu:14.04:LTS | 4.4.0-13.29~14.04.1 |
| linux-goldfish | Ubuntu:16.04:LTS | 3.4.0-4.27 |
| linux | Ubuntu:14.04:LTS | 3.11.0-12.19 |
| linux-goldfish | Ubuntu:14.04:LTS | 3.4.0-1.9 |
1 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| linux | linux_kernel | |
| n/a | n/a | * |
Timeline
- Jun 13, 2012 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Jul 16, 2025 CVE Rejected
- Jul 16, 2025 CVE Updated
- Mar 5, 2026 Distribution Patch (11 in total, the first dated here)
- Mar 5, 2026 Security Advisory (13 in total, the first dated here)
- Oct 27, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2012-2313
vulnetix vdb fixes CVE-2012-2313
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-2313/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [oss-security] 20120504 Re: CVE Request: more tight ioctl permissions in dl2k driver mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- RHSA-2012:1174 vendor-advisoryx_refsource_REDHAT
- 53965 vdb-entryx_refsource_BID
- x_refsource_CONFIRM
- RHSA-2012:1541 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- RHSA-2012:1481 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- RHSA-2012:1589 vendor-advisoryx_refsource_REDHAT
- HPSBGN02970 vendor-advisoryx_refsource_HP
- SUSE-SU-2015:0812 vendor-advisoryx_refsource_SUSE