Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8CD2F2C1A2 for ; Fri, 18 Apr 2025 13:50:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744984238; cv=none; b=oOqA2feNQCHvvIrTUQy/SzcCHPEzXjAGZh7SvbFffdw5wkOT1mp5H/X5DGsA/Sx5MtCII5I1eFWVRQyzhrissGM19EI0PRErtIRL3TuJJT5sCjVDoMhSz8ukALyk8tN0DpcbzJjBsyDj1QuiU2pIDRkcFEBUn7K49LY1JYLB9Zs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744984238; c=relaxed/simple; bh=02J5qVnaxaLMYa9TlqwM0aKNanUIP6oAqJ5fo2OFn4o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AK/mrB9qCuyaIjEpxDIpiRS8106k8Ewv4L8tvrNrTOoSaKYho8nF/FXpHCZohW1nTnxEivgq+jCatLD0kDqln7rl4WrdtLCAn1Hhmk6HsQAGUc3CIuqSu3PbAphTeugXL3j97kHkDEUU2cQ8DWzR7ojb/MxZmJRSbkaZQKcZiGc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=kyBbKlo8; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="kyBbKlo8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A2A13C4CEE2; Fri, 18 Apr 2025 13:50:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744984238; bh=02J5qVnaxaLMYa9TlqwM0aKNanUIP6oAqJ5fo2OFn4o=; h=From:To:Cc:Subject:Date:Reply-to:From; b=kyBbKlo8Yzuc5kElsGOG/k5j8+yRtkm5CW2asoyrjIyp87hivM3LghyfG93CnAKdm VDovtzqqRlL3Hv7TYQi8UEesin+tJ+cmznVXJWohMpPZyYr4qZ5iJKJUKK18H2Hjac WAHudtdIdF29xIqyvnq33d01HjS/eZqzhEIVHgtg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-40364: io_uring: fix io_req_prep_async with provided buffers Date: Fri, 18 Apr 2025 15:50:28 +0200 Message-ID: <2025041827-CVE-2025-40364-d93c@gregkh> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1896; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=58w7HEeTzfJ0M7wI/1YcKPyhpSaguTMTKZbmnUuKz2I=; b=kA0DAAIRMUfUDdst+ykByyZiAGgCWKOiBzDOc+dA+0NmgMvofu27QmjFuuOvxM6e3tfBjzwjb YhdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmgCWKMACgkQMUfUDdst+ymehACcDrsG aSssOT+BMMcqsTx1fHWyY98AoMi7sPrJF+5dR1D+KjXbfoMkVzCg X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: io_uring: fix io_req_prep_async with provided buffers io_req_prep_async() can import provided buffers, commit the ring state by giving up on that before, it'll be reimported later if needed. The Linux kernel CVE team has assigned CVE-2025-40364 to this issue. Affected and fixed versions =========================== Issue introduced in 5.19 with commit c7fb19428d67dd0a2a78a4f237af01d39c78dc5a and fixed in 6.1.129 with commit a1b17713b32c75a90132ea2f92b1257f3bbc20f3 Issue introduced in 5.19 with commit c7fb19428d67dd0a2a78a4f237af01d39c78dc5a and fixed in 6.6.78 with commit a94592ec30ff67dc36c424327f1e0a9ceeeb9bd3 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-40364 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/a1b17713b32c75a90132ea2f92b1257f3bbc20f3 https://git.kernel.org/stable/c/a94592ec30ff67dc36c424327f1e0a9ceeeb9bd3