[PATCH] exec: Correct the permission check for unsafe exec

Jann Horn jannh at google.com
Fri May 16 18:08:32 UTC 2025


On Fri, May 16, 2025 at 8:06 PM Jann Horn <jannh at google.com> wrote:
> Like, I think currently a setuid binary like this is probably (?) not
> exploitable:
>
> int main(void) {
>   execl("/bin/echo", "echo", "hello world");
> }

(bleh, of course what I meant to write here was
`execl("/bin/echo", "echo", "hello world", NULL);`)



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