Re: [PATCH 5.15.y] io_uring: prevent opcode speculation

Sasha Levin <[email protected]>
Newsgroups org.kernel.vger.io-uring,org.kernel.vger.linux-kernel,org.kernel.vger.stable
Message-ID <[email protected]>
> From: Pavel Begunkov <[email protected]>
>
> [ Upstream commit 1e988c3fe1264708f4f92109203ac5b1d65de50b ]
>
> sqe->opcode is used for different tables, make sure we santitise it
> against speculations.
[...]
> [ Use req->opcode instead of opcode here. ]
> Signed-off-by: Robert Garcia <[email protected]>

Thanks for the backport. Upstream 1e988c3fe126 is currently queued or
present on 6.6, 6.12, 6.18 and 7.0, but it is missing from both 5.15
and 6.1 - we should not skip 6.1 when backporting a Cc:stable fix to
5.15.

Could you send a matching backport for 6.1 as well? Once we have
coverage from 6.1 onwards I'll queue both together.

--
Thanks,
Sasha
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.