CVE-2012-6547 json
The __tun_chr_ioctl function in drivers/net/tun.c in the Linux kernel before 3.6 does not initialize a certain structure, which allows loca…
published 2013-03-14 13 y ago modified 2026-06-16 4 mo ago also EUVD-2012-6395
- cvss
- 1.9
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 34%
- public exploits
- 0
- none known
Summary
The __tun_chr_ioctl function in drivers/net/tun.c in the Linux kernel before 3.6 does not initialize a certain structure, which allows local users to obtain sensitive information from kernel stack memory via a crafted application.
Patch / fix
- linux Debian 14, Debian 13, Debian 12 3.2.29-1
debian advisories DEBIAN-CVE-2012-6547
- kernel RHEL 6 2.6.32-358.6.1.el6
- perf RHEL 6 2.6.32-358.6.1.el6
- python-perf RHEL 6 2.6.32-358.6.1.el6
- kernel-kdump RHEL 6 2.6.32-358.6.1.el6
- kernel-firmware RHEL 6 2.6.32-358.6.1.el6
- kernel-bootwrapper RHEL 6 2.6.32-358.6.1.el6
- kernel-debuginfo-common-i686 RHEL 6 2.6.32-358.6.1.el6
- kernel-debuginfo-common-ppc64 RHEL 6 2.6.32-358.6.1.el6
red hat advisories RHSA-2013:0744RHSA-2013:0747
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-6547 updated cvss 1.7
Kernel: net/tun: ioctl() based information leaks
-
Red Hat Enterprise Linux (v. 5 server) kernel 2.6.18-348.4.1.el5, kernel-PAE 2.6.18-348.4.1.el5, kernel-xen 2.6.18-348.4.1.el5, kernel-kdump 2.6.18-348.4.1.el5, kernel-debuginfo-common 2.6.18-348.4.1.el5fixed: vendor fix RHSA-2013:0747
-
Red Hat Enterprise Linux Desktop (v. 6) perf 2.6.32-358.6.1.el6, kernel 2.6.32-358.6.1.el6, python-perf 2.6.32-358.6.1.el6, kernel-kdump 2.6.32-358.6.1.el6, kernel-firmware 2.6.32-358.6.1.el6, kernel-bootwrapper 2.6.32-358.6.1.el6, +4 more Red Hat Enterprise Linux Desktop Optional (v. 6) perf 2.6.32-358.6.1.el6, kernel 2.6.32-358.6.1.el6, python-perf 2.6.32-358.6.1.el6, kernel-kdump 2.6.32-358.6.1.el6, kernel-firmware 2.6.32-358.6.1.el6, kernel-bootwrapper 2.6.32-358.6.1.el6, +4 more Red Hat Enterprise Linux HPC Node (v. 6) perf 2.6.32-358.6.1.el6, kernel 2.6.32-358.6.1.el6, python-perf 2.6.32-358.6.1.el6, kernel-kdump 2.6.32-358.6.1.el6, kernel-firmware 2.6.32-358.6.1.el6, kernel-bootwrapper 2.6.32-358.6.1.el6, +4 more Red Hat Enterprise Linux HPC Node Optional (v. 6) perf 2.6.32-358.6.1.el6, kernel 2.6.32-358.6.1.el6, python-perf 2.6.32-358.6.1.el6, kernel-kdump 2.6.32-358.6.1.el6, kernel-firmware 2.6.32-358.6.1.el6, kernel-bootwrapper 2.6.32-358.6.1.el6, +4 more Red Hat Enterprise Linux Server (v. 6) perf 2.6.32-358.6.1.el6, kernel 2.6.32-358.6.1.el6, python-perf 2.6.32-358.6.1.el6, kernel-kdump 2.6.32-358.6.1.el6, kernel-firmware 2.6.32-358.6.1.el6, kernel-bootwrapper 2.6.32-358.6.1.el6, +4 more Red Hat Enterprise Linux Server Optional (v. 6) perf 2.6.32-358.6.1.el6, kernel 2.6.32-358.6.1.el6, python-perf 2.6.32-358.6.1.el6, kernel-kdump 2.6.32-358.6.1.el6, kernel-firmware 2.6.32-358.6.1.el6, kernel-bootwrapper 2.6.32-358.6.1.el6, +4 morefixed: vendor fix RHSA-2013:0744
+2 more productsfewer
Red Hat Enterprise Linux Workstation (v. 6) perf 2.6.32-358.6.1.el6, kernel 2.6.32-358.6.1.el6, python-perf 2.6.32-358.6.1.el6, kernel-kdump 2.6.32-358.6.1.el6, kernel-firmware 2.6.32-358.6.1.el6, kernel-bootwrapper 2.6.32-358.6.1.el6, +4 more Red Hat Enterprise Linux Workstation Optional (v. 6) perf 2.6.32-358.6.1.el6, kernel 2.6.32-358.6.1.el6, python-perf 2.6.32-358.6.1.el6, kernel-kdump 2.6.32-358.6.1.el6, kernel-firmware 2.6.32-358.6.1.el6, kernel-bootwrapper 2.6.32-358.6.1.el6, +4 more -
Red Hat Enterprise MRG 2 kernel-rt, mrg-rt-release, kernel-rt-trace, kernel-rt-vanilla, kernel-rt-firmwarenot affected: vulnerable code not present
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.40% chance of exploitation in the next 30 days, higher than 34% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 1.9 | AV:L/AC:M/Au:N/C:P/I:N/A:N |
Classification
- Weakness
-
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
- Technology feeds
References
- github.com /torvalds/linux/commit/a117dacde0288f3ec60b6e5bcedae8fa37ee0dfc
-
kernel.org
/pub/linux/kernel/v3.x/patch-3.6.bz2
patch
-
mandriva.com
/security/advisories?name=MDVSA-2013:176
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2013-0744.html
vendor-advisory
-
openwall.com
/lists/oss-security/2013/03/05/13
mailing-list
- git.kernel.org /?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=a117dacde0288f3ec60b6e5bcedae8fa37ee0dfc
Sources
- CVE List CVE-2012-6547
- NVD CVE-2012-6547
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.