This should be resolved by commit 700a78335fc2 ("sched: only perform capability check on privileged operation")[1] backported to 5.19.2. [1]: https://github.com/torvalds/linux/commit/700a78335fc28a59c307f420857fd2d4521549f8