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

# CVE-2010-4072

Publication date 29 November 2010

Last updated 24 July 2024

---

Ubuntu priority

**Low**

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

Toggle side navigation

## Description

The copy\_shmid\_to\_user function in ipc/shm.c in the Linux kernel before
2.6.37-rc1 does not initialize a certain structure, which allows local
users to obtain potentially sensitive information from kernel stack memory
via vectors related to the shmctl system call and the "old shm interface."

### From the Ubuntu Security Team

Kees Cook and Vasiliy Kulikov discovered that the shm interface did not
clear kernel memory correctly. A local attacker could exploit this to read
kernel stack memory, leading to a loss of privacy.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| linux | 10.10 maverick | Fixed 2.6.35-24.42 |
| 10.04 LTS lucid | Fixed 2.6.32-27.49 |
| 9.10 karmic | Fixed 2.6.31-22.70 |
| 9.04 jaunty | Ignored end of life |
| 8.04 LTS hardy | Fixed 2.6.24-28.86 |
| 6.06 LTS dapper | Not in release |
| linux-ec2 | 10.10 maverick | Ignored end of life |
| 10.04 LTS lucid | Fixed 2.6.32-311.23 |
| 9.10 karmic | Fixed 2.6.31-307.23 |
| 9.04 jaunty | Not in release |
| 8.04 LTS hardy | Not in release |
| 6.06 LTS dapper | Not in release |
| linux-fsl-imx51 | 10.10 maverick | Not in release |
| 10.04 LTS lucid | Fixed 2.6.31-608.22 |
| 9.10 karmic | Fixed 2.6.31-112.30 |
| 8.04 LTS hardy | Not in release |
| 6.06 LTS dapper | Not in release |
| linux-lts-backport-maverick | 10.10 maverick | Not in release |
| 10.04 LTS lucid | Fixed 2.6.35-25.44~lucid1 |
| 9.10 karmic | Not in release |
| 9.04 jaunty | Not in release |
| 8.04 LTS hardy | Not in release |
| 6.06 LTS dapper | Not in release |
| linux-mvl-dove | 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 | 10.10 maverick | Not in release |
| 10.04 LTS lucid | Not in release |
| 9.10 karmic | Not in release |
| 9.04 jaunty | Not in release |
| 8.04 LTS hardy | Not in release |
| 6.06 LTS dapper | Fixed 2.6.15-55.91 |
| linux-ti-omap4 | 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-4072?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 | * Proposed:   <http://lkml.org/lkml/2010/10/6/486> * Hardy:   <http://chinstrap.ubuntu.com/~ogasawara/CVEs/CVE-2010-4072/patches/hardy/linux/0001-ipc-shm-fix-information-leak-to-userland.txt> * Karmic:   <http://chinstrap.ubuntu.com/~ogasawara/CVEs/CVE-2010-4072/patches/karmic/linux/0001-ipc-shm-fix-information-leak-to-userland.txt> * Lucid:   <http://chinstrap.ubuntu.com/~ogasawara/CVEs/CVE-2010-4072/patches/lucid/linux/0001-ipc-shm-fix-information-leak-to-userland.txt> * Maverick:   <http://chinstrap.ubuntu.com/~ogasawara/CVEs/CVE-2010-4072/patches/maverick/linux/0001-ipc-shm-fix-information-leak-to-userland.txt> |
| linux-source-2.6.15 | * Dapper:   <http://chinstrap.ubuntu.com/~ogasawara/CVEs/CVE-2010-4072/patches/dapper/linux/0001-ipc-shm-fix-information-leak-to-userland.txt> |

## References

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

### Related Ubuntu Security Notices (USN)

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

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

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

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

+ [USN-1041-1](https://usn.ubuntu.com/USN-1041-1)
+ Linux kernel vulnerabilities
+ 10 January 2011

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

+ [USN-1074-2](https://usn.ubuntu.com/USN-1074-2)
+ Linux kernel vulnerabilities
+ 28 February 2011

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

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2010-4072>
