Re: [PATCH 1/1] psi: Fix uaf issue when psi trigger is destroyed while being polled
From: Linus Torvalds
Date: Mon Jan 10 2022 - 21:55:32 EST
On Mon, Jan 10, 2022 at 6:51 PM Suren Baghdasaryan <surenb@xxxxxxxxxx> wrote:
>
> Fix this by disallowing to redefine an existing psi trigger. If a write
> operation is used on a file descriptor with an already existing psi
> trigger, the operation will fail with EBUSY error.
Looks fine to me. Eric?
I assume I'll get it through the usual channels unless there are issues,
Linus