Skip to content
OpenAdvisories
Unscored Public exploit CVE-2010-4158 EUVD-2010-4134GHSA-9x53-5f6r-73cq

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 be…

Published Dec 30, 2010 · Updated Aug 7, 2024 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 5.0 linux-2.6 2.6.26-26lenny2 DSA-2153-1
Debian 5.0 user-mode-linux 2.6.26-1um-2+26lenny2 DSA-2153-1
ReleasePackageFixed inAdvisory
RHEL 6 perf +14 2.6.32-71.14.1.el6 RHSA-2011:0007
RHEL 5 kernel +12 2.6.18-238.el5 RHSA-2011:0017
RHEL 4 kernel +10 2.6.9-89.35.1.EL RHSA-2011:0162
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat MRG 1 perf +10 2.6.33.7-rt29.47.el5rt RHSA-2010:0958

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 5

References