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

# CVE-2009-2584

Publication date 23 July 2009

Last updated 4 July 2026

---

Ubuntu priority

**Medium**

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

Toggle side navigation

## Description

Off-by-one error in the options\_write function in
drivers/misc/sgi-gru/gruprocfs.c in the SGI GRU driver in the Linux kernel
2.6.30.2 and earlier on ia64 and x86 platforms might allow local users to
overwrite arbitrary memory locations and gain privileges via a crafted
count argument, which triggers a stack-based buffer overflow.

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| linux | 9.04 jaunty | Fixed 2.6.28-16.55 |
| 8.10 intrepid | Fixed 2.6.27-15.43 |
| 8.04 LTS hardy | Not affected |
| 6.06 LTS dapper | Not in release |
| linux-source-2.6.15 | 9.04 jaunty | Not in release |
| 8.10 intrepid | 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-2009-2584?format=md#patch-details)

## Notes

---

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

may only be vulnerable on particular SGI hardware
PoC: http://grsecurity.net/~spender/exploit\_demo.c

### 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 | * Introduced by   [1da177e](https://git.kernel.org/linus/1da177e4c3f41524e886b7f1b8a0c1fc7321cac2),   fixed by   [d39b7dd](https://git.kernel.org/linus/d39b7dd1dcbf394a1cb897457c862dafe9a20ac5) |

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-852-1](https://usn.ubuntu.com/USN-852-1)
+ Linux kernel vulnerabilities
+ 22 October 2009

### Other references

* <http://xorl.wordpress.com/2009/07/21/linux-kernel-sgi-gru-driver-off-by-one-overwrite/>
* <https://www.cve.org/CVERecord?id=CVE-2009-2584>
