Description
The selinux_ip_postroute_iptables_compat function in security/selinux/hooks.c in the SELinux subsystem in the Linux kernel before 2.6.27.22, and 2.6.28.x before 2.6.28.10, when compat_net is enabled, omits calls to avc_has_perm for the (1) node and (2) port, which allows local users to bypass intended restrictions on network traffic. NOTE: this was incorrectly reported as an issue fixed in 2.6.27.21.
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 5.0 | linux-2.6 | 2.6.26-15lenny2 | DSA-1809-1, DSA-1800-1 |
| Debian 5.0 | user-mode-linux | 2.6.26-1um-2+15lenny2 | DSA-1809-1, DSA-1800-1 |
Advisories 2
- DSA-1809-1 linux-2.6 user-mode-linux - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-1800-1 linux-2.6 user-mode-linux - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
References
- MDVSA-2009:135 vendor-advisory
- [linux-kernel] 20090502 Linux 2.6.28.10 mailing-list
- MDVSA-2009:118 vendor-advisory
- 35656 third-party-advisory
- [oss-security] 20090504 CVE-2009-1184 selinux: skipped node/port send checks in the compat_net=1 case mailing-list
- http://patchwork.ozlabs.org/patch/25238/
- USN-793-1 vendor-advisory
- DSA-1800 vendor-advisory
- http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.27.y.git%3Ba=commit%3Bh=910c9e41186762de3717baaf392ab5ff0c454496
- https://launchpad.net/bugs/cve/2009-1184
- [linux-kernel] 20090502 Linux 2.6.27.21 mailing-list
- MDVSA-2009:119 vendor-advisory
- 35121 third-party-advisory