CVE-2010-4158
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…
Check your servers for CVE-2010-4158
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2010-4158 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.87%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 56.4% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2010-4158 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2010-4158RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2010-4158Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2010-4158
trivy image --scanners vuln IMAGE | grep CVE-2010-4158
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- SUSE-SA:2011:004 lists.opensuse.org · vendor advisory
- 42778 secunia.com · third party advisory
- 42801 secunia.com · third party advisory
- RHSA-2011:0017 redhat.com · vendor advisory
- 46397 secunia.com · third party advisory
- SUSE-SA:2011:002 lists.opensuse.org · vendor advisory
- FEDORA-2010-18983 lists.fedoraproject.org · vendor advisory
- SUSE-SA:2011:001 lists.opensuse.org · vendor advisory
- 42932 secunia.com · third party advisory
- RHSA-2011:0007 redhat.com · vendor advisory
- SUSE-SA:2011:007 lists.opensuse.org · vendor advisory
- SUSE-SA:2010:060 lists.opensuse.org · vendor advisory
13 more
- RHSA-2010:0958 redhat.com · vendor advisory
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.36.2 kernel.org
- 42963 secunia.com · third party advisory
- http://www.vmware.com/security/advisories/VMSA-2011-0012.html vmware.com
- 42884 secunia.com · third party advisory
- 42890 secunia.com · third party advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=651698 bugzilla.redhat.com
- RHSA-2011:0162 redhat.com · vendor advisory
- SUSE-SA:2011:008 lists.opensuse.org · vendor advisory
- MDVSA-2011:029 mandriva.com · vendor advisory
- 42745 secunia.com · third party advisory
- 43291 secunia.com · third party advisory
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=57fe93b374a6b8711995c2d466c502af9f3a08bb git.kernel.org
Other references
- 20111013 VMSA-2011-0012 VMware ESXi and ESX updates to third party libraries and ESX Service Console securityfocus.com · mailing list
- ADV-2011-0124 vupen.com · vdb entry
- [netdev] 20101109 [PATCH] Prevent reading uninitialized memory with socket filters spinics.net · mailing list
- 20101118 Re: Kernel 0-day securityfocus.com · mailing list
- ADV-2010-3321 vupen.com · vdb entry
- ADV-2011-0298 vupen.com · vdb entry
- 44758 securityfocus.com · vdb entry
- ADV-2011-0375 vupen.com · vdb entry
- ADV-2011-0012 vupen.com · vdb entry
- ADV-2011-0168 vupen.com · vdb entry
- 20101109 Kernel 0-day securityfocus.com · mailing list
- 20101109 Kernel 0-day lists.grok.org.uk · mailing list
Source: the record CVE-2010-4158 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse