Re: [PATCH] sched/psi: Check CAP_SYS_RESOURCE in the initial user namespace

양시은 didtldms2525 at naver.com
Tue Nov 10 00:49:16 UTC 2026


On Mon, Nov 9, 2026 at 18:50:52 +0100, Mickaël Salaün wrote:
> This is directly visible with the new Landlock control of capabilities.


I reported the PSI/Landlock CAP_SYS_RESOURCE mismatch privately to
the maintainers on November 4, 2026, along with reproduction results.

I tested Hungyu's patch on Linux v7.4-rc1 with Landlock ABI 12 and
confirmed that privileged PSI trigger creation is rejected after
Landlock restricts CAP_SYS_RESOURCE.

Nice catch on the user-namespace issue as well. Using
file_ns_capable() with &init_user_ns restores both the initial user
namespace check and LSM mediation.

Reported-by: Sieun Yang <didtldms2525 at jnu.ac.kr>
Tested-by: Sieun Yang <didtldms2525 at jnu.ac.kr>

Thanks,
Sieun Yang


More information about the Linux-security-module-archive mailing list