Re: NFS bug?

From: Andrew Morton
Date: Fri Apr 21 2006 - 14:33:48 EST


Trond Myklebust <trond.myklebust@xxxxxxxxxx> wrote:
>
> > I'd be guessing that filldir64() was passed a negative namlen.
>
> Why would that trigger a bug in __copy_from_user_ll()? I could see it
> triggering errors in copy_to_user(), but not copy_from_*...

Ah. No, I cannot see why getdents wold run copy_from_user().

I wonder why that stack trace didn't come out. Perhaps running `dmesg -n
7' prior to triggerng the crash will help. (It shouldn't, but we might
have broken it).

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/