---
title: "CVE-2009-0676\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-2009-0676?format=md
keywords: index, follow
---

# CVE-2009-0676

Publication date 22 February 2009

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

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

Toggle side navigation

## Description

The sock\_getsockopt function in net/core/sock.c in the Linux kernel before
2.6.28.6 does not initialize a certain structure member, which allows local
users to obtain potentially sensitive information from kernel memory via an
SO\_BSDCOMPAT getsockopt request.

### From the Ubuntu Security Team

The getsockopt function did not correctly clear certain parameters. A
local attacker could read leaked kernel memory, leading to a loss of
privacy.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2009-0676?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| linux | 8.10 intrepid | Fixed 2.6.27-11.31 |
| 8.04 LTS hardy | Fixed 2.6.24-23.52 |
| 7.10 gutsy | Not in release |
| 6.06 LTS dapper | Not in release |
| linux-source-2.6.15 | 8.10 intrepid | Not in release |
| 8.04 LTS hardy | Not in release |
| 7.10 gutsy | Not in release |
| 6.06 LTS dapper | Fixed 2.6.15-54.76 |
| linux-source-2.6.22 | 8.10 intrepid | Not in release |
| 8.04 LTS hardy | Not in release |
| 7.10 gutsy | Fixed 2.6.22-16.62 |
| 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-2009-0676?format=md#patch-details)

## Notes

---

### [mdeslaur](https://launchpad.net/~mdeslaur)

PoC: http://patchwork.kernel.org/patch/6816/

### 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=df0bca049d01c0ee94afb7cd5dfd959541e6c8da> |

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-752-1](https://usn.ubuntu.com/USN-752-1)
+ Linux kernel vulnerabilities
+ 7 April 2009

+ [USN-751-1](https://usn.ubuntu.com/USN-751-1)
+ Linux kernel vulnerabilities
+ 6 April 2009

### Other references

* <http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.28.6>
* <https://www.cve.org/CVERecord?id=CVE-2009-0676>
