[PATCH] smbfs chroot issue (CVE-2006-1864)
authorOlaf Kirch <okir@suse.de>
Mon, 15 May 2006 16:43:57 +0000 (09:43 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 15 May 2006 18:20:55 +0000 (11:20 -0700)
commit3b7c8108273bed41a2fc04533cc9f2026ff38c8e
treed437254b0cd1b07ecc33631fea13ad79f925353b
parenta7b862f663d81858531dfccc0537bc9d8a2a4121
[PATCH] smbfs chroot issue (CVE-2006-1864)

Mark Moseley reported that a chroot environment on a SMB share can be left
via "cd ..\\".  Similar to CVE-2006-1863 issue with cifs, this fix is for
smbfs.

Steven French <sfrench@us.ibm.com> wrote:

Looks fine to me.  This should catch the slash on lookup or equivalent,
which will be all obvious paths of interest.

Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/smbfs/dir.c