Description
net/core/net_namespace.c in the Linux kernel 2.6.32 and earlier does not properly handle a high rate of creation and cleanup of network namespaces, which makes it easier for remote attackers to cause a denial of service (memory consumption) via requests to a daemon that requires a separate namespace per connection, as demonstrated by vsftpd.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | vsftpd | 2.3.4-1 | — |
| Debian 13 | vsftpd | 2.3.4-1 | — |
| Debian 12 | vsftpd | 2.3.4-1 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Linux Kernel 2.6.35 - Network Namespace Remote Denial of Service EDB-36425 · dos · Dec 6, 2011 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://bugzilla.redhat.com/show_bug.cgi?id=711245
- https://bugs.launchpad.net/ubuntu/+source/linux/+bug/720095
- http://neil.brown.name/git?p=linux-2.6%3Ba=patch%3Bh=2b035b39970740722598f7a9d548835f9bdd730f
- [oss-security] 20110606 Re: CVE Request -- vsftpd -- Do not create network namespace per connection mailing-list
- [oss-security] 20110606 Re: CVE Request -- vsftpd -- Do not create network namespace per connection mailing-list
- http://ie.archive.ubuntu.com/linux/kernel/v2.6/ChangeLog-2.6.33
- DSA-2305 vendor-advisory
- http://patchwork.ozlabs.org/patch/88217/
- [git-commits-head] 20091208 net: Automatically allocate per namespace data. mailing-list
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=629373
- USN-1288-1 vendor-advisory
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=2b035b39970740722598f7a9d548835f9bdd730f
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=f875bae065334907796da12523f9df85c89f5712
- https://bugzilla.redhat.com/show_bug.cgi?id=711134