---
title: "CVE-2010-4158\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2010-4158?format=md
keywords: index, follow
---

# CVE-2010-4158

Publication date 30 December 2010

Last updated 24 July 2024

---

Ubuntu priority

**Low**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## 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.

### From the Ubuntu Security Team

Dan Rosenberg discovered that the socket filters did not correctly
initialize structure memory. A local attacker could create malicious
filters to read portions of kernel stack memory, leading to a loss of
privacy.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| linux | 11.04 natty | Fixed 2.6.37-5.13 |
| 10.10 maverick | Fixed 2.6.35-25.43 |
| 10.04 LTS lucid | Fixed 2.6.32-30.59 |
| 9.10 karmic | Fixed 2.6.31-23.74 |
| 8.04 LTS hardy | Fixed 2.6.24-29.87 |
| 6.06 LTS dapper | Not in release |
| linux-ec2 | 11.04 natty | Not in release |
| 10.10 maverick | Ignored end of life |
| 10.04 LTS lucid | Fixed 2.6.32-314.27 |
| 9.10 karmic | Fixed 2.6.31-308.28 |
| 8.04 LTS hardy | Not in release |
| 6.06 LTS dapper | Not in release |
| linux-fsl-imx51 | 11.04 natty | Not in release |
| 10.10 maverick | Not in release |
| 10.04 LTS lucid | Fixed 2.6.31-610.27 |
| 9.10 karmic | Ignored end of life |
| 8.04 LTS hardy | Not in release |
| 6.06 LTS dapper | Not in release |
| linux-lts-backport-maverick | 11.04 natty | Not in release |
| 10.10 maverick | Not in release |
| 10.04 LTS lucid | Fixed 2.6.35-25.44~lucid1 |
| 9.10 karmic | Not in release |
| 8.04 LTS hardy | Not in release |
| 6.06 LTS dapper | Not in release |
| linux-lts-backport-natty | 11.04 natty | Not in release |
| 10.10 maverick | Not in release |
| 10.04 LTS lucid | Not affected |
| 8.04 LTS hardy | Not in release |
| linux-mvl-dove | 11.04 natty | Not in release |
| 10.10 maverick | Fixed 2.6.32-416.33 |
| 10.04 LTS lucid | Fixed 2.6.32-216.33 |
| 9.10 karmic | Ignored end of life |
| 8.04 LTS hardy | Not in release |
| 6.06 LTS dapper | Not in release |
| linux-source-2.6.15 | 11.04 natty | Not in release |
| 10.10 maverick | Not in release |
| 10.04 LTS lucid | Not in release |
| 9.10 karmic | Not in release |
| 8.04 LTS hardy | Not in release |
| 6.06 LTS dapper | Fixed 2.6.15-57.94 |
| linux-ti-omap4 | 11.04 natty | Not affected |
| 10.10 maverick | Fixed 2.6.35-903.22 |
| 10.04 LTS lucid | Not in release |
| 9.10 karmic | Not in release |
| 8.04 LTS hardy | Not in release |
| 6.06 LTS dapper | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2010-4158?format=md#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| linux | * Upstream:   <http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=57fe93b374a6b8711995c2d466c502af9f3a08bb> |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-4158)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2010-4158)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2010-4158)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2010-4158)

### Related Ubuntu Security Notices (USN)

+ [USN-1092-1](https://usn.ubuntu.com/USN-1092-1)
+ Linux Kernel vulnerabilities
+ 25 March 2011

+ [USN-1089-1](https://usn.ubuntu.com/USN-1089-1)
+ Linux kernel vulnerabilities
+ 18 March 2011

+ [USN-1105-1](https://usn.ubuntu.com/USN-1105-1)
+ Linux kernel vulnerabilities
+ 5 April 2011

+ [USN-1083-1](https://usn.ubuntu.com/USN-1083-1)
+ Linux kernel vulnerabilities
+ 3 March 2011

+ [USN-1054-1](https://usn.ubuntu.com/USN-1054-1)
+ Linux kernel vulnerabilities
+ 1 February 2011

+ [USN-1204-1](https://usn.ubuntu.com/USN-1204-1)
+ Linux kernel (i.MX51) vulnerabilities
+ 13 September 2011

+ [USN-1119-1](https://usn.ubuntu.com/USN-1119-1)
+ Linux kernel (OMAP4) vulnerabilities
+ 20 April 2011

+ [USN-1086-1](https://usn.ubuntu.com/USN-1086-1)
+ Linux kernel (EC2) vulnerabilities
+ 8 March 2011

+ [USN-1093-1](https://usn.ubuntu.com/USN-1093-1)
+ Linux Kernel vulnerabilities (Marvell Dove)
+ 25 March 2011

### Other references

* <http://www.securityfocus.com/archive/1/514705>
* <https://www.cve.org/CVERecord?id=CVE-2010-4158>
