Skip to contentSkip to conversation

CVE-2026-23259: io_uring/rw: free potentially allocated iovec on cache put failure

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Mar 18

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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

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

io_uring/rw: free potentially allocated iovec on cache put failure

If a read/write request goes through io_req_rw_cleanup() and has an allocated iovec attached and fails to put to the rw_cache, then it may end up with an unaccounted iovec pointer. Have io_rw_recycle() return whether it recycled the request or not, and use that to gauge whether to free a potential iovec or not.

The Linux kernel CVE team has assigned CVE-2026-23259 to this issue.

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

	Fixed in 6.18.10 with commit 1d5f2329ab4df65c2ee011b986d8a6e05ad0f67c
	Fixed in 6.19 with commit 4b9748055457ac3a0710bf210c229d01ea1b01b9

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-2026-23259

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/rw.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/1d5f2329ab4df65c2ee011b986d8a6e05ad0f67c
	https://git.kernel.org/stable/c/4b9748055457ac3a0710bf210c229d01ea1b01b9