What’s Vulnerable › Vulnerabilities
CVE-2010-4158
- Severity: low (CVSS 2.1 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2010-12-30 · updated 2026-06-16
- Weakness: CWE-200
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.
Affected products
- Fedoraproject Fedora: 13
- Linux kernel: before 2.6.36.2 — fixed in 2.6.36.2
- Opensuse: 11.2, 11.3
- SUSE Linux Enterprise Server 15 SP1: 10-sp3, 11-sp1
- SUSE Linux Enterprise Real Time Extension: 11-sp1
- SUSE Linux Enterprise Server: 9, 10-sp3, 11-sp1
- SUSE Linux Enterprise Software Development Kit: 10-sp3
How to fix
Upgrade to a fixed version: Linux kernel 2.6.36.2. Check the vendor advisory for mitigations.
References
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=57fe93b374a6b8711995c2d466c502af9f3a08bb
- http://lists.fedoraproject.org/pipermail/package-announce/2010-December/052513.html
- http://lists.grok.org.uk/pipermail/full-disclosure/2010-November/077321.html
- http://lists.opensuse.org/opensuse-security-announce/2010-12/msg00004.html
- http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00000.html
- http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00001.html
- http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00004.html
- http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00000.html
- http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00002.html
- http://secunia.com/advisories/42745
- http://secunia.com/advisories/42778
- http://secunia.com/advisories/42801
Get alerted when CVE-2010-4158 or the next vulnerability affects your stack