CVE-2010-4158

Linux Kernel < 2.6.36.2 - Information Disclosure via Uninitialized Stack Memory in Socket Filter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2010-4158. PoCs published by Dan Rosenberg.

AI-analyzed exploit summary This exploit leverages a Linux kernel information disclosure vulnerability (CVE-2010-4158) by using BPF filters to read uninitialized kernel stack bytes via UDP socket operations. It demonstrates the flaw by extracting a specific byte from the kernel stack.

Description

The sk_run_filter function in net/core/filter.c in the Linux kernel before 2.6.36.2 does not check whether a certain memory location has been initialized before executing a (1) BPF_S_LD_MEM or (2) BPF_S_LDX_MEM instruction, which allows local users to obtain potentially sensitive information from kernel stack memory via a crafted socket filter.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Dan Rosenberg · clocallinux
https://www.exploit-db.com/exploits/34987

This exploit leverages a Linux kernel information disclosure vulnerability (CVE-2010-4158) by using BPF filters to read uninitialized kernel stack bytes via UDP socket operations. It demonstrates the flaw by extracting a specific byte from the kernel stack.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (versions affected by CVE-2010-4158)
No auth needed
Prerequisites: Local access to the target system · Ability to create raw sockets
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (37)

Core 37
Core References
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00004.html
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/42778
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/42801
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/520102/100/0/threaded
Third Party Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2011-0017.html
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/46397
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00001.html
Third Party Advisory vendor-advisory x_refsource_fedora
http://lists.fedoraproject.org/pipermail/package-announce/2010-December/052513.html
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00000.html
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/42932
Third Party Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2011-0007.html
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2011/0124
Mailing List, Patch, Third Party Advisory mailing-list x_refsource_mlist
http://www.spinics.net/lists/netdev/msg146361.html
Exploit, Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/514845
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00000.html
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2010-12/msg00004.html
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2010/3321
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2011/0298
Third Party Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2010-0958.html
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/42963
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/44758
Third Party Advisory x_refsource_confirm
http://www.vmware.com/security/advisories/VMSA-2011-0012.html
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/42884
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2011/0375
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/42890
Issue Tracking, Patch, Third Party Advisory x_refsource_confirm
https://bugzilla.redhat.com/show_bug.cgi?id=651698
Third Party Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2011-0162.html
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2011/0012
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00002.html
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2011/0168
Third Party Advisory vendor-advisory x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2011:029
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/42745
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/43291
Exploit, Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/514705
Third Party Advisory mailing-list x_refsource_fulldisc
http://lists.grok.org.uk/pipermail/full-disclosure/2010-November/077321.html

Scores

EPSS 0.0087
EPSS Percentile 53.9%

Details

CWE
CWE-200
Status published
Products (11)
fedoraproject/fedora 13
linux/linux_kernel < 2.6.36.2
opensuse/opensuse 11.2
opensuse/opensuse 11.3
suse/linux_enterprise_desktop 10 sp3
suse/linux_enterprise_desktop 11 sp1
suse/linux_enterprise_real_time_extension 11 sp1
suse/linux_enterprise_server 9
suse/linux_enterprise_server 10 sp3
suse/linux_enterprise_server 11 sp1
... and 1 more
Published Dec 30, 2010
Tracked Since Feb 18, 2026