CVE-2005-3660
NoneCVSS
—
EPSS
0.4%
Published
Dec 22, 2005
CISA due date
—
Cloudanix analysis
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
- Obtain local shell or code execution on an affected Linux host
- Execute code that opens thousands of connected socketpairs or file descriptors with large SO_SNDBUF/RCVBUF values
- Cause the creating process to become a zombie or close descriptors without releasing all references
- 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
- CVE-2023-52340 The IPv6 implementation in the Linux kernel before 6.3 has a net/ipv6/route.c max_size… Also affects linux
- CVE-2024-39292 In the Linux kernel, the following vulnerability has been resolved: um: Add winch to… Also affects linux
- CVE-2024-38780 In the Linux kernel, the following vulnerability has been resolved: dma-buf/sw-sync… Also affects linux
- CVE-2024-36288 In the Linux kernel, the following vulnerability has been resolved: SUNRPC: Fix loop… Also affects linux
- CVE-2024-38633 In the Linux kernel, the following vulnerability has been resolved: serial: max3100… Also affects linux
- CVE-2024-38634 In the Linux kernel, the following vulnerability has been resolved: serial: max3100: Lock… Also affects linux
- CVE-2024-38637 In the Linux kernel, the following vulnerability has been resolved: greybus: lights… Also affects linux
- CVE-2024-38659 In the Linux kernel, the following vulnerability has been resolved: enic: Validate length… Also affects linux