Description
Directory traversal vulnerability in smbfs in Linux 2.6.16 and earlier allows local users to escape chroot restrictions for an SMB-mounted filesystem via "..\\" sequences, a similar vulnerability to CVE-2006-1863.
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-34.0.1.EL | RHSA-2006:0493 |
| RHEL 3 | kernel +8 | 2.4.21-47.0.1.EL | RHSA-2006:0710 |
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.x - SMBFS CHRoot Security Restriction Bypass EDB-27766 · local · Apr 28, 2006 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 4
- RHSA-2006:0710 Red Hat Security Advisory: kernel security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2006:0493 Red Hat Security Advisory: kernel security update 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
- http://support.avaya.com/elmodocs2/security/ASA-2006-161.htm
- RHSA-2006:0493 vendor-advisory
- oval:org.mitre.oval:def:11327 vdb-entry signature
- 19869 third-party-advisory
- ADV-2006-4502 vdb-entry
- ADV-2006-2554 vdb-entry
- RHSA-2006:0579 vendor-advisory
- 20716 third-party-advisory
- 22875 third-party-advisory
- 25067 vdb-entry
- 21476 third-party-advisory
- 21745 third-party-advisory
- MDKSA-2006:150 vendor-advisory
- http://www.vmware.com/download/esx/esx-202-200610-patch.html
- USN-302-1 vendor-advisory
- MDKSA-2006:151 vendor-advisory
- 20061113 VMSA-2006-0008 - VMware ESX Server 2.0.2 Upgrade Patch 2 mailing-list
- 21614 third-party-advisory
- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=189435
- 21035 third-party-advisory
- http://www.vmware.com/download/esx/esx-213-200610-patch.html
- DSA-1097 vendor-advisory
- SUSE-SA:2006:028 vendor-advisory
- 17735 vdb-entry
- 2006-0026 vendor-advisory
- RHSA-2006:0580 vendor-advisory
- DSA-1103 vendor-advisory
- 23064 third-party-advisory
- http://www.vmware.com/download/esx/esx-254-200610-patch.html
- http://support.avaya.com/elmodocs2/security/ASA-2006-254.htm
- 22497 third-party-advisory
- 20061113 VMSA-2006-0006 - VMware ESX Server 2.5.3 Upgrade Patch 4 mailing-list
- RHSA-2006:0710 vendor-advisory
- 20237 third-party-advisory
- 20398 third-party-advisory
- 20061113 VMSA-2006-0007 - VMware ESX Server 2.1.3 Upgrade Patch 2 mailing-list
- kernel-smbfs-directory-traversal(26137) vdb-entry
- 20671 third-party-advisory
- 20061113 VMSA-2006-0005 - VMware ESX Server 2.5.4 Upgrade Patch 1 mailing-list
- 20914 third-party-advisory