Skip to contentSkip to conversation

CVE-2025-21863: io_uring: prevent opcode speculation

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Mar 12, 2025

lore
Share & tools
lore
#0 lore raw

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

io_uring: prevent opcode speculation

sqe->opcode is used for different tables, make sure we santitise it against speculations.

The Linux kernel CVE team has assigned CVE-2025-21863 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.6 with commit d3656344fea0339fb0365c8df4d2beba4e0089cd and fixed in 6.6.80 with commit b9826e3b26ec031e9063f64a7c735449c43955e4
	Issue introduced in 5.6 with commit d3656344fea0339fb0365c8df4d2beba4e0089cd and fixed in 6.12.17 with commit 506b9b5e8c2d2a411ea8fe361333f5081c56d23a
	Issue introduced in 5.6 with commit d3656344fea0339fb0365c8df4d2beba4e0089cd and fixed in 6.13.5 with commit fdbfd52bd8b85ed6783365ff54c82ab7067bd61b
	Issue introduced in 5.6 with commit d3656344fea0339fb0365c8df4d2beba4e0089cd and fixed in 6.14-rc4 with commit 1e988c3fe1264708f4f92109203ac5b1d65de50b

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2025-21863

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
io_uring/io_uring.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/b9826e3b26ec031e9063f64a7c735449c43955e4
	https://git.kernel.org/stable/c/506b9b5e8c2d2a411ea8fe361333f5081c56d23a
	https://git.kernel.org/stable/c/fdbfd52bd8b85ed6783365ff54c82ab7067bd61b
	https://git.kernel.org/stable/c/1e988c3fe1264708f4f92109203ac5b1d65de50b