>From the test case source:

    Check if an unlinked executable can run in overlayfs mount.
    The regression is introduced from 8db6c34f1dbc ("Introduce v3
    namespaced file capabilities"). in security/commoncap.c,
    cap_inode_getsecurity() use d_find_alias() cause unhashed dentry
    can't be found. The solution could use d_find_any_alias() instead of
    d_find_alias().

    From kernel 4.14, this case is expected fails, execveat shell
    return EINVAL.

I checked upstream and the code still uses d_find_alias(). There's a
patch that is in Eric Biederman's userns-testing branch but not linux-
next:

https://patchwork.kernel.org/patch/10560165/

So ... given that this has always been in bionic and we're only noticing
because some test specifically for this problem failed, I don't see that
it's something urgent to fix. I think we can just add the fix to the
next upload.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1786729

Title:
  execveat03 in ubuntu_ltp_syscalls failed on X/B

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1786729/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to