From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: ext3 -> crash -> fsck -> readlink -> oops Date: Thu, 16 May 2002 19:48:19 -0700 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <3CE46F73.60302@zytor.com> References: <3CE46CF0.E0C9BCC5@zip.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: linux-fsdevel@vger.kernel.org, ext2-devel@lists.sourceforge.net Return-path: To: Andrew Morton List-Id: linux-fsdevel.vger.kernel.org Andrew Morton wrote: >> > I assume that was `fsck -fy'? > > You seem have a 4k symlink. I'd have expected fsck to detect that. > > It crashed because vfs_readlink ran off the end of the page. > Either that... or someone is relying on magic null termination that isn't provided by fsck. Either way, the kernel shouldn't oops... ext3_panic() perhaps, but not oops... -hpa