OpenAFS CVS Commit: openafs/src/cf by shadow
cvs@GRAND.CENTRAL.ORG
cvs@GRAND.CENTRAL.ORG
Wed, 18 Apr 2007 14:27:49 EDT
Update of /cvs/openafs/src/cf
In directory GRAND.CENTRAL.ORG:/data/sb/openafs-stable-1_4_x/src/cf
Modified Files:
Tag: openafs-stable-1_4_x
linux-test4.m4
Log Message:
DELTA STABLE14-linux-symlink-handling-avoid-crash-20070418
AUTHOR wingc@engin.umich.edu
FIXES
Background: OpenAFS is vulnerable to crashing in the linux kernel symlink
code when running on kernel versions between 2.6.10 to 2.6.12. This also
includes all RHEL4 kernels, because RHEL4 includes the code from 2.6.10. The
problem is that the symlink text caching API, page_follow_link() et al, is
unsuitable for network filesystems where the page cache may be invalidated
in parallel with a path lookup.
This crash can be triggered easily by doing a bunch of path lookups
involving symlinks (e.g., stat() on various files pointed to through links),
while simultaneously running 'fs flushvol' on the volume containing the
symlinks.
The simplest way to fix this problem is to disable the use of symlink text
caching when the kernel does not provide a usable symlink API.
--- DELTA config for openafs-stable-1_4_x follows ---
STABLE14-linux-symlink-handling-avoid-crash-20070418 openafs/src/cf/linux-test4.m4 1.20.2.29 1.20.2.30