[PATCH v2] arm64: treat PF_IO_WORKER like PF_KTHREAD for mitigations

Catalin Marinas catalin.marinas at arm.com
Wed Mar 29 10:02:34 PDT 2023


On Tue, Mar 28, 2023 at 10:49:03AM -0600, Jens Axboe wrote:
> Like PF_KTHREAD, PF_IO_WORKER never exit to userspace. They exist
> entirely within the kernel, and hence don't need any task mitigations
> applied.
> 
> Signed-off-by: Jens Axboe <axboe at kernel.dk>
> 
> ---
> 
> v2: include ssbs_thread_switch() too

As per the comments here -
https://lore.kernel.org/all/Y9KWeyy9tAKYDxGA@arm.com/, I think we should
update access_ok() as well.

Thanks.

-- 
Catalin



More information about the linux-arm-kernel mailing list