[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025120714-CVE-2025-40267-4904@gregkh>
Date: Sun, 7 Dec 2025 06:52:14 +0900
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-40267: io_uring/rw: ensure allocated iovec gets cleared for early failure
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
io_uring/rw: ensure allocated iovec gets cleared for early failure
A previous commit reused the recyling infrastructure for early cleanup,
but this is not enough for the case where our internal caches have
overflowed. If this happens, then the allocated iovec can get leaked if
the request is also aborted early.
Reinstate the previous forced free of the iovec for that situation.
The Linux kernel CVE team has assigned CVE-2025-40267 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.14 with commit 9ac273ae3dc296905b4d61e4c8e7a25592f6d183 and fixed in 6.17.9 with commit 094c6467fe05e0de618c5a7fcff4d3ee20aeaef8
Issue introduced in 6.14 with commit 9ac273ae3dc296905b4d61e4c8e7a25592f6d183 and fixed in 6.18 with commit d3c9c213c0b86ac5dd8fe2c53c24db20f1f510bc
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-40267
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/094c6467fe05e0de618c5a7fcff4d3ee20aeaef8
https://git.kernel.org/stable/c/d3c9c213c0b86ac5dd8fe2c53c24db20f1f510bc
Powered by blists - more mailing lists