Messages in this thread | | | Date | Fri, 21 Apr 2006 09:43:48 -0700 | From | "Joshua Hudson" <> | Subject | Re: NFS bug? |
| |
> > > Was there no stack trace in that Oops? AFAICS, getdents64() isn't > > > supposed to be calling __copy_from_user_ll() at all, so you appear to > > > have something very weird going here. > > > > 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_*... > > Cheers, > Trond
I've made that mistake before. Passing copy_from_user a negative length -> crash. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |