Re: [PATCH v1 0/2] Add LSM access controls for io_uring_setup

From: Dmytro Maluka
Date: Thu Aug 10 2023 - 05:09:16 EST


On 8/9/23 19:28, Dmytro Maluka wrote:
> So one of the questions I'm wondering about is: if Android implemented
> preventing execution of any io_uring code by non-trusted processes
> (via seccomp or any other way), how much would it help to reduce the
> risk of attacks, compared to its current SELinux based solution?

And why exactly I'm wondering about that: AFAICT, Android folks are
concerned about the high likelihood of vulnerabilities in io_uring code
just like we (ChromeOS folks) are, and that is the main reason why
Android takes care of restricting io_uring usage in the first place.