Patch "cgroup: fix rule checking for threaded mode switching" has been added to the 4.14-stable tree