fr den 12.08.2005 Klokka 14:46 (+0200) skreiv Beat Rubischon: > Hello! > > "wiggis" is our mailserver, is using NFS from several FreeBSD > fileservers. From time to time, usually all one to ten days, we > have an Oops while Postfix's local trys to fstat64() the user's > ~/.forward. After that, errors in every part of the system occurs > and a crash follows in 10-20 hours. > > Kernel is vanilla 2.4.31 running on a Debian Woody. Computer was > replaced by a complete different hardware - same effect. > > The servers are running FreeBSD 4.11-RELEASE-p11 and > 5.4-RELEASE-p6. > > Output of ksymoops: > > ---8<--- > ksymoops 2.4.5 on i686 2.4.31. Options used > -V (default) > -k /proc/ksyms (default) > -l /proc/modules (default) > -o /lib/modules/2.4.31/ (default) > -m /boot/System.map (specified) > > Unable to handle kernel paging request at virtual address ffa4a000 > c0172089 > *pde = 00002063 > Oops: 0002 > CPU: 0 > EIP: 0010:[] Not tainted > Using defaults from ksymoops -t elf32-i386 -a i386 > EFLAGS: 00010292 > eax: 00000ffc ebx: f7050408 ecx: ffa49000 edx: dd0a0000 > esi: 0000001c edi: f7050464 ebp: f70503d0 esp: e18f9d94 > ds: 0018 es: 0018 ss: 0018 > Process local (pid: 19425, stackpage=e18f9000) > Stack: e18f9e1c f7050428 c02502f2 f70503d0 c8f9da38 00000000 e18f8000 e18f9ddc > e18f9e84 e18f9e1c c0171fe4 c025310a e18f9e1c e18f9e1c fffffff5 e18f9e1c > f6f5d080 e18f8000 00000000 e18f8000 00000000 00000000 c0253364 e18f9e1c > Call Trace: [] [] [] [] [] > [] [] [] [] [] [] > [] [] [] [] [] [] > [] > Code: c6 44 08 04 00 8b 43 10 8b 10 a1 88 22 31 c0 f7 d8 39 05 84 > > > >>EIP; c0172089 <===== Actually, the Oops appears to be in nfs_xdr_readlinkres. It looks very much like it might be a symlink buffer overflow. Does the attached patch help? Cheers, Trond