Description
Integer overflow in the do_replace function in netfilter for Linux before 2.6.16-rc3, when using "virtualization solutions" such as OpenVZ, allows local users with CAP_NET_ADMIN rights to cause a buffer overflow in the copy_from_user function.
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 3.1 | kernel-source-2.4.27 | 2.4.27-10sarge3 | DSA-1097-1 |
| Debian 3.1 | kernel-source-2.6.8 | 2.6.8-16sarge3 | DSA-1103 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 4 | kernel +8 | 2.6.9-42.EL | RHSA-2006:0575 |
Advisories 3
- RHSA-2006:0575 Red Hat Security Advisory: Updated kernel packages available for Red Hat Enterprise Linux 4 Update 4 Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1097-1 kernel-source-2.4.27 - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-1103 kernel-source-2.6.8 - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
References
- linux-netfilter-doreplace-overflow(25400) vdb-entry
- ADV-2006-2554 vdb-entry
- 20716 third-party-advisory
- ADV-2006-1046 vdb-entry
- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=186295
- USN-302-1 vendor-advisory
- DSA-1097 vendor-advisory
- RHSA-2006:0575 vendor-advisory
- oval:org.mitre.oval:def:10945 vdb-entry signature
- http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=ee4bb818ae35f68d1f848eae0a7b150a38eb4168
- DSA-1103 vendor-advisory
- 21465 third-party-advisory
- http://support.avaya.com/elmodocs2/security/ASA-2006-200.htm
- 22417 third-party-advisory
- 19330 third-party-advisory
- 17178 vdb-entry
- 20671 third-party-advisory
- 20914 third-party-advisory