Skip to content
Fencer Intel
high 7.2

CVE-2012-2136 json

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, wh…

published 2012-08-09 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-2136

cvss
7.2
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 46%
public exploits
0
none known

Summary

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.

Patch / fix

  • linux linux_kernel 3.0.37, 3.2.23, 3.4.5
  • linux Debian 14, Debian 13, Debian 12 3.2.20-1

debian advisories DEBIAN-CVE-2012-2136

  • kernel RHEL 6 2.6.32-220.23.1.el6
  • perf RHEL 6 2.6.32-220.23.1.el6
  • python-perf RHEL 6 2.6.32-220.23.1.el6
  • kernel-kdump RHEL 6 2.6.32-220.23.1.el6
  • kernel-firmware RHEL 6 2.6.32-220.23.1.el6
  • kernel-bootwrapper RHEL 6 2.6.32-220.23.1.el6
  • kernel-debuginfo-common-i686 RHEL 6 2.6.32-220.23.1.el6
  • kernel-debuginfo-common-ppc64 RHEL 6 2.6.32-220.23.1.el6

red hat advisories RHSA-2012:0743RHSA-2012:1087RHSA-2012:0690

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-2136 updated cvss 6.2

kernel: net: insufficient data_len validation in sock_alloc_send_pskb()

  • Red Hat Enterprise Linux (v. 5 server) kernel 2.6.18-308.8.1.el5, kernel-PAE 2.6.18-308.8.1.el5, kernel-xen 2.6.18-308.8.1.el5, kernel-kdump 2.6.18-308.8.1.el5, kernel-debuginfo-common 2.6.18-308.8.1.el5 Red Hat Enterprise Linux Desktop (v. 5 client) kernel 2.6.18-308.8.1.el5, kernel-PAE 2.6.18-308.8.1.el5, kernel-xen 2.6.18-308.8.1.el5, kernel-debuginfo-common 2.6.18-308.8.1.el5
    fixed: vendor fix RHSA-2012:0690
  • Red Hat Enterprise Linux Desktop (v. 6) perf 2.6.32-220.23.1.el6, kernel 2.6.32-220.23.1.el6, kernel-firmware 2.6.32-220.23.1.el6, kernel-debuginfo-common-i686 2.6.32-220.23.1.el6, kernel-debuginfo-common-x86_64 2.6.32-220.23.1.el6 Red Hat Enterprise Linux Desktop Optional (v. 6) kernel 2.6.32-220.23.1.el6, python-perf 2.6.32-220.23.1.el6, kernel-debuginfo-common-i686 2.6.32-220.23.1.el6, kernel-debuginfo-common-x86_64 2.6.32-220.23.1.el6
    fixed: vendor fix RHSA-2012:0743
  • Red Hat Enterprise Linux EUS (v. 5.6 server) kernel 2.6.18-238.40.1.el5, kernel-PAE 2.6.18-238.40.1.el5, kernel-xen 2.6.18-238.40.1.el5, kernel-kdump 2.6.18-238.40.1.el5, kernel-debuginfo-common 2.6.18-238.40.1.el5
    fixed: vendor fix RHSA-2012:1087
  • Red Hat Enterprise Linux HPC Node (v. 6) perf 2.6.32-220.23.1.el6, kernel 2.6.32-220.23.1.el6, kernel-firmware 2.6.32-220.23.1.el6, kernel-debuginfo-common-x86_64 2.6.32-220.23.1.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) kernel 2.6.32-220.23.1.el6, python-perf 2.6.32-220.23.1.el6, kernel-debuginfo-common-x86_64 2.6.32-220.23.1.el6 Red Hat Enterprise Linux Server (v. 6) perf 2.6.32-220.23.1.el6, kernel 2.6.32-220.23.1.el6, kernel-kdump 2.6.32-220.23.1.el6, kernel-firmware 2.6.32-220.23.1.el6, kernel-bootwrapper 2.6.32-220.23.1.el6, kernel-debuginfo-common-i686 2.6.32-220.23.1.el6, +3 more Red Hat Enterprise Linux Server Optional (v. 6) kernel 2.6.32-220.23.1.el6, python-perf 2.6.32-220.23.1.el6, kernel-debuginfo-common-i686 2.6.32-220.23.1.el6, kernel-debuginfo-common-ppc64 2.6.32-220.23.1.el6, kernel-debuginfo-common-s390x 2.6.32-220.23.1.el6, kernel-debuginfo-common-x86_64 2.6.32-220.23.1.el6 Red Hat Enterprise Linux Workstation (v. 6) perf 2.6.32-220.23.1.el6, kernel 2.6.32-220.23.1.el6, kernel-firmware 2.6.32-220.23.1.el6, kernel-debuginfo-common-i686 2.6.32-220.23.1.el6, kernel-debuginfo-common-x86_64 2.6.32-220.23.1.el6 Red Hat Enterprise Linux Workstation Optional (v. 6) kernel 2.6.32-220.23.1.el6, python-perf 2.6.32-220.23.1.el6, kernel-debuginfo-common-i686 2.6.32-220.23.1.el6, kernel-debuginfo-common-x86_64 2.6.32-220.23.1.el6
    fixed: vendor fix RHSA-2012:0743
  • Red Hat Enterprise MRG 2 kernel-rt, mrg-rt-release, kernel-rt-trace, kernel-rt-vanilla, kernel-rt-firmware
    not 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.56% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • github.com https://github.com/torvalds/linux/commit/cc9b17ad29ecaa20bfe426a8d4dbfb94b13ff1cc referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 7.2 AV:L/AC:L/Au:N/C:C/I:C/A:C

Classification

Weakness
  • CWE-20 Improper Input Validation
Technology feeds

References

Sources

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.