Re: NFS bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > >  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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux