What’s Vulnerable › Vulnerabilities
CVE-2012-2136
- Severity: high (CVSS 7.2 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2012-08-09 · updated 2026-06-16
- Weakness: CWE-20
Description
The sock_alloc_send_pskb function in net/core/sock.c in the Linux kernel before 3.4.5 does not properly validate a certain length value, which allows local users to cause a denial of service (heap-based buffer overflow and system crash) or possibly gain privileges by leveraging access to a TUN/TAP device.
Affected products
- Linux kernel: before 3.0.37; from 3.1 before 3.2.23; from 3.3 before 3.4.5 — fixed in 3.0.37, 3.2.23, 3.4.5
How to fix
Upgrade to a fixed version: Linux kernel 3.0.37, 3.2.23, 3.4.5. Check the vendor advisory for mitigations.
References
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=cc9b17ad29ecaa20bfe426a8d4dbfb94b13ff1cc
- http://rhn.redhat.com/errata/RHSA-2012-0743.html
- http://rhn.redhat.com/errata/RHSA-2012-1087.html
- http://secunia.com/advisories/50807
- http://ubuntu.com/usn/usn-1529-1
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.4.5
- http://www.securityfocus.com/bid/53721
- http://www.ubuntu.com/usn/USN-1535-1
- https://bugzilla.redhat.com/show_bug.cgi?id=816289
- https://github.com/torvalds/linux/commit/cc9b17ad29ecaa20bfe426a8d4dbfb94b13ff1cc
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=cc9b17ad29ecaa20bfe426a8d4dbfb94b13ff1cc
- http://rhn.redhat.com/errata/RHSA-2012-0743.html
Get alerted when CVE-2012-2136 or the next vulnerability affects your stack