On Mon, Nov 2, 2020 at 8:20 PM Stephen Smalley <stephen.smalley.work@xxxxxxxxx> wrote: > On Fri, Oct 30, 2020 at 5:56 PM Ondrej Mosnacek <omosnace@xxxxxxxxxx> wrote: > > > > On Tue, Oct 13, 2020 at 4:55 PM Richard Haines > > <richard_c_haines@xxxxxxxxxxxxxx> wrote: > > > These fs_filesystem failures are caused by a bug when using the fsmount(2) > > > type calls that was reported in [1]. > > > > I'll try to dig into this a little bit. It seems that FS maintainers > > are not interested :( > > For further context and the corresponding fix for nfs, see > https://github.com/SELinuxProject/selinux-kernel/issues/49. Hm... I was running the reproducer a few days ago on a kernel that should have that fix (I think), and yet I'd swear I was still able to reproduce the bug... It's possible I made a mistake somewhere, but it might be that it's still not actually fixed (or reappeared again). I'll continue investigating it hopefully sometime this week. I also dug into the btrfs bug and it seems to have a slightly different (albeit similar) cause. I think I have a possible fix, but I haven't yet had time to fully finalize it and test it. I'll report back once I have something final. -- Ondrej Mosnacek Software Engineer, Platform Security - SELinux kernel Red Hat, Inc.