Cloudanix VulnDB

CVE-2005-3660

None

CVSS

—

EPSS

0.4%

Published

Dec 22, 2005

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A problem in older Linux systems lets someone who can already run programs on the computer crash the whole machine by filling up its memory.

Exploitation
Local Privilege
Attacker needs
Local User
Complexity
Low
Impact
Denial Of Service
Component
OS kernel
Class
Denial of service
Remediation
Upgrade
Effort
Medium
Patch risk
Medium

What it actually does

Local process can exhaust kernel memory and trigger a panic by allocating many connected file descriptors or socketpairs with oversized transfer buffers, then becoming a zombie or closing descriptors while leaving references.

Why it matters to the business

Unprivileged local users can crash Linux systems running the 2.4 or 2.6 kernel series, causing unplanned downtime and loss of availability on servers and workstations.

How an attack unfolds

An attacker with local shell access compiles or runs a program that rapidly creates large numbers of socketpairs, sets maximum buffer sizes, then either exits the process into zombie state or closes only one end of each pair, preventing the kernel from reclaiming memory and leading to exhaustion and panic.

How to fix it

Upgrade the Linux kernel to a version that contains the fix for this memory-accounting flaw; apply the latest distribution kernel packages and reboot.

How to confirm the fix worked

Confirm the running kernel version is newer than the vulnerable 2.4/2.6 releases listed in the advisory; test that repeated socketpair creation no longer leads to exhaustion on a non-production system.

Typical attack path

  1. Obtain local shell or code execution on an affected Linux host
  2. Execute code that opens thousands of connected socketpairs or file descriptors with large SO_SNDBUF/RCVBUF values
  3. Cause the creating process to become a zombie or close descriptors without releasing all references
  4. Trigger memory exhaustion followed by kernel panic

How to detect it

Review system logs for repeated kernel oops or panic entries mentioning socket or file-descriptor exhaustion; look for processes that remain in zombie state while holding large numbers of open sockets.

What your security team should do

  • Prioritize kernel updates on all internet-facing or multi-user Linux systems
  • Restrict local account creation and monitor for unexpected high file-descriptor usage
  • Remove or isolate any remaining 2.4/2.6 kernel deployments

The record

Linux kernel 2.4 and 2.6 allows attackers to cause a denial of service (memory exhaustion and panic) by creating a large number of connected file descriptors or socketpairs and setting a large data transfer buffer, then preventing Linux from being able to finish the transfer by causing the process to become a zombie, or closing the file descriptor without closing an associated reference.

Affected packages

Ecosystem Package Introduced Fixed
Debian:10 linux 0 No fix
Debian:11 linux 0 No fix
Debian:12 linux 0 No fix
Debian:13 linux 0 No fix

Related vulnerabilities