Re: [PATCH 5.10] 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]>
On Wed, Jun 10, 2026 at 08:22:03PM +0300, Alexey Panov wrote:
> From: Pavel Begunkov <[email protected]>
>
> commit 1e988c3fe1264708f4f92109203ac5b1d65de50b upstream.
>
> sqe->opcode is used for different tables, make sure we santitise it
> against speculations.

The 5.10 backport itself looks fine, but I can't take it on its own:
1e988c3fe126 is still missing from 6.6.y and 6.12.y (it's present in
7.0, 6.18, 6.1 and 5.15), and we don't add a fix to an older tree while
a newer one is missing it. Once 6.6.y and 6.12.y carry it, I'll queue
the 5.10 backport.

--
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.