Description
Directory traversal vulnerability in CIFS 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-1864.
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.6.8 | 2.6.8-16sarge3 | DSA-1103 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 4 | kernel +10 | 2.6.9-55.EL | RHBA-2007:0304 |
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 - CIFS CHRoot Security Restriction Bypass EDB-27769 · 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 2
- RHBA-2007:0304 Red Hat Bug Fix Advisory: Updated kernel packages available for Red Hat Enterprise Linux 4 Update 5 Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1103 kernel-source-2.6.8 - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
References
- ADV-2006-2554 vdb-entry
- 17742 vdb-entry
- MDKSA-2006:150 vendor-advisory
- oval:org.mitre.oval:def:10383 vdb-entry signature
- ADV-2006-1542 vdb-entry
- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=189434
- MDKSA-2006:151 vendor-advisory
- 21614 third-party-advisory
- SUSE-SA:2006:028 vendor-advisory
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.16.11
- DSA-1103 vendor-advisory
- RHBA-2007-0304 vendor-advisory
- 2006-0024 vendor-advisory
- http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=296034f7de8bdf111984ce1630ac598a9c94a253
- 20398 third-party-advisory
- kernel-cifs-directory-traversal(26141) vdb-entry
- 19868 third-party-advisory
- 25068 vdb-entry
- 20914 third-party-advisory