Most likely the flag reset occurs over a double call of nameidata_drop_rcu in same nd, and BUG_ON catches it properly. exec_permission in aufs is fine, it returns -EPERM.
Most likely the flag reset occurs over a double call of nameidata_drop_rcu in same nd, and BUG_ON catches it properly. exec_permission in aufs is fine, it returns -EPERM.