[PATCH] smbfs chroot issue (CVE-2006-1864)
authorOlaf Kirch <[email protected]>
Mon, 15 May 2006 16:43:57 +0000 (09:43 -0700)
committerLinus Torvalds <[email protected]>
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 <[email protected]> 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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/smbfs/dir.c