lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171129003254.GA3570@miguelinux-clr.zpn.intel.com>
Date:   Tue, 28 Nov 2017 18:32:54 -0600
From:   Miguel Bernal Marin <miguel.bernal.marin@...ux.intel.com>
To:     Miklos Szeredi <miklos@...redi.hu>
Cc:     linux-unionfs@...r.kernel.org, linux-kernel@...r.kernel.org,
        Miklos Szeredi <mszeredi@...hat.com>
Subject: Issues with OvelayFS + 9P FS

Hi Miklos,

I've seen issues when I try to use a Qemu/KVM + 9P and a Overlay FS.

The issue started to show from v4.14 and I bisected the guilty commit to

4edb83bb1041 ("ovl: constant d_ino for non-merge dirs")

The issue is showed when ovl_iterate_real(file, ctx) is called, if I
commented out that *if* block to just load iterate_dir(od->realfile, ctx),
everything works fine.

To reproduce the issue just create a OverlayFS and use the merged
directory as a 9P share directory to the VM.
You will see that the upper ONLY files/directories are seen good, but 
when you try to list the lower and merged files the process couldn't
finish and ends with a "ls: Memory exhausted"

I've tried to fix it but my knowledge is not enough on FS.
I've done small script to reproduce the issue, they are at
https://github.com/miguelinux/overlay-9p-issue

-- 
Regards,

Miguel Bernal Marin                     Open Source Technology Center
https://clearlinux.org                              Intel Corporation

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ