Re: ecryptfs: Kernel BUG when closing device

From: Tyler Hicks
Date: Thu May 03 2012 - 17:44:44 EST


On 2012-05-03 18:22:01, Sasha Levin wrote:
> On Thu, May 3, 2012 at 6:17 PM, Tyler Hicks <tyhicks@xxxxxxxxxxxxx> wrote:
> > On 2012-05-03 08:00:03, Sasha Levin wrote:
> >> Hi all,
> >>
> >> After some fuzzing using trinity inside a KVM guest, I've stumbled on the following:
> >
> > Hi Sasha - Thanks for reporting this issue. Is there any way to get
> > trinity to reproduce this fuzzing sequence?
>
> Hi Tyler,
>
> Not really, since it's not the result of a single command it can't
> recreate it easily.
>
> On the other hand, I'd be happy to add any debugging ideas you have
> into the tested kernel and attempt to recreate the issue.

I appreciate the offer, but I was able to reproduce the issue pretty
easily. Inherited and passed file descriptors of /dev/ecryptfs are not
handled properly. I've opened this bug to track the resolution:

https://launchpad.net/bugs/994247

Tyler

Attachment: signature.asc
Description: Digital signature