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

# CVE-2010-3301

Publication date 15 September 2010

Last updated 24 July 2024

---

Ubuntu priority

**High**

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

Toggle side navigation

## Description

The IA32 system call emulation functionality in arch/x86/ia32/ia32entry.S
in the Linux kernel before 2.6.36-rc4-git2 on the x86\_64 platform does not
zero extend the %eax register after the 32-bit entry path to ptrace is
used, which allows local users to gain privileges by triggering an
out-of-bounds access to the system call table using the %rax register.
NOTE: this vulnerability exists because of a CVE-2007-4573 regression.

### From the Ubuntu Security Team

Ben Hawkes discovered that the Linux kernel did not correctly filter
registers on 64bit kernels when performing 32bit system calls. On a 64bit
system, a local attacker could manipulate 32bit system calls to gain root
privileges.

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| linux | 10.10 maverick | Fixed 2.6.35-22.32 |
| 10.04 LTS lucid | Fixed 2.6.32-24.43 |
| 9.10 karmic | Fixed 2.6.31-22.65 |
| 9.04 jaunty | Fixed 2.6.28-19.65 |
| 8.04 LTS hardy | Not affected |
| 6.06 LTS dapper | Not in release |
| linux-ec2 | 10.10 maverick | Not affected |
| 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 |
| 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 | Not affected |

---

* [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-3301?format=md#patch-details)

## Notes

---

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

only exploitable on x86\_64, regression of CVE-2007-4573
was originally fixed in 2.6.22, but regressed after this commit:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.35.y.git;a=commitdiff;h=d4d67150165df8bf1cc05e532f6efca96f907cab

---

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

Which was 2.6.27 upstream, the original fix was in 2.6.23

---

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

it was later discovered that the Xen kernels (linux-ec2) needed an additional patch.

### 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=commitdiff;h=36d001c70d8a0144ac1d038f6876c484849a74de> * Upstream:   <http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=eefdca043e8391dcd719711716492063030b55ac> * Jaunty:   <http://chinstrap.ubuntu.com/~smb/CVEs/CVE-2010-3301/patches/jaunty/linux/0001-x86-64-compat-Test-rax-for-the-syscall-number-not-eax.txt> * Jaunty:   <http://chinstrap.ubuntu.com/~smb/CVEs/CVE-2010-3301/patches/jaunty/linux/0002-x86-64-compat-Retruncate-rax-after-ia32-syscall-entry-.txt> * Karmic:   <http://chinstrap.ubuntu.com/~smb/CVEs/CVE-2010-3301/patches/karmic/linux/0001-x86-64-compat-Test-rax-for-the-syscall-number-not-eax.txt> * Karmic:   <http://chinstrap.ubuntu.com/~smb/CVEs/CVE-2010-3301/patches/karmic/linux/0002-x86-64-compat-Retruncate-rax-after-ia32-syscall-entry-.txt> * Lucid:   <http://chinstrap.ubuntu.com/~smb/CVEs/CVE-2010-3301/patches/lucid/linux/0001-x86-64-compat-Test-rax-for-the-syscall-number-not-eax.txt> * Lucid:   <http://chinstrap.ubuntu.com/~smb/CVEs/CVE-2010-3301/patches/lucid/linux/0002-x86-64-compat-Retruncate-rax-after-ia32-syscall-entry-.txt> |

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-988-1](https://usn.ubuntu.com/USN-988-1)
+ Linux kernel vulnerabilities
+ 17 September 2010

+ [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-1074-2](https://usn.ubuntu.com/USN-1074-2)
+ Linux kernel vulnerabilities
+ 28 February 2011

### Other references

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