Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793706605; b=b4jUHMbc50UFvF9m61b/xtF7baAYTJY9A8NeZS8ZaqogGfrKqCb1kkNT7/bCd4UTZJwe dfvTbNvTD0QV/JoSN6iPZcrxOAxLP1qxVJldLewin7KOd/tPlP5QCEez1sQ4AOqdBnwGW 7ntkaMRGpYUjV3xb+cH5syaa8qjDslYAqf/LK3/5MB/UV50vi8tms591zfux8Mg/WMzyb cyhWi5CR1G1koPm1R7ytciGYIr2eG7H8wbfZhmB0jZVwsPDNxXIZu3nrRgOuxEaCMTRtA 0r/4JySTvUIdzY07bvWKMRqgoaTxhLU8kg+8jkYKoSDrorWnrVV1cPx4WywwwaK8p4g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793706605; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=HENY+nxoGbOzUXnBKuclP6v0C6YNBLz00CzIIpwqS68=; b=hxGY4FQIaqTrK6ccgpgFUr4jwmasOFwh9Um06LVEU7VCeGzKt0T+lA0TT0a7PqM8YRcy Gt3yLYupx6304sdGJE0i7wPrSwkYxLbi15cjmBRZudCfG8aSTNR0ZFoUekMEaVetZAM3f 5/MvAbGRPlKo+Tjyl2zE88REqKbWpJM3cOgZgnfVzgtMvcmdF3fH0ODGHH93wDLx6RrqT jUAzV2tNOtOmHS2RgCyQoMd4c94JWE6hLKv87hIRpWKthoHsGKRgGIJE+f6NcM8A3wcir zXvXoHFcwtfAraEisKNbBYcRhDLsTlWbOHTjQpzRbg5n4OEtq7nMMonDISU0fRI5NwQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=2Rr9TWox; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DBDB8606D80E for ; Tue, 3 Nov 2026 11:50:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=2Rr9TWox Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1870E1F00A1E; Tue, 3 Nov 2026 11:50:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793706604; bh=HENY+nxoGbOzUXnBKuclP6v0C6YNBLz00CzIIpwqS68=; h=From:To:Cc:Subject:Date:Reply-To; b=2Rr9TWox99LS/pNgN7tCUUVJpsBmK2BW7a1ybE0BsCa5+G/cXgZJIQzVy2TgsxwCZ nB0aZ4xk979JZxErcgfKGhkbJjiCnxiYmXUdRQaJSM+xvL5DxyEDpbGuPSmiDF3Vb6 2xm0TQKQwRNpvRHurPgfueVq85FovOGzlSdiIhGA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99265: io_uring/openclose: keep the lock in io_pipe_fixed() Date: Tue, 3 Nov 2026 12:48:25 +0100 Message-ID: <2026110325-CVE-2026-99265-4294@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2558; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=EDuMELcPMJZp6Fi7wB5tU6CuToMolwQ3KRXvPh0V0pg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkvT3GWcF1IzunMMFRys6rgD1jdKui3u23fUnV/sbwW/ qq1y0s6YlkYBJkYZMUUWb5s4zm6v+KQopeh7WmYOaxMIEMYuDgFYCJa6gwL2jpZpGJzrbuPae0+ 2ZNxxHVWh+gzhvlhHecFPLR85yUmfou88FQodrO68RIA 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/openclose: keep the lock in io_pipe_fixed() io_pipe_fixed() installs both ends of the pipe in the fixed file table, drops ->uring_lock, and copies the slot numbers to the application. If that faults, it takes the lock again and removes whatever is in these slots. If the request is run by io-wq the lock really is dropped in between, and the slots are visible to everybody else. By the time the error path gets to them, they may have been closed and reused, by IORING_OP_CLOSE and a direct open or accept, or by IORING_REGISTER_FILES_UPDATE. Then a file is removed from the table that has nothing to do with the failed request. Do the copy with the lock held. Faulting in user memory under ->uring_lock is fine, the registration paths do it all the time. The Linux kernel CVE team has assigned CVE-2026-99265 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit 53db8a71ecb42c2ec5e9c6925269a750255f9af5 and fixed in 6.18.60 with commit b4b7b2d19dab611f3cf3d052aa19278e7e4c4683 Issue introduced in 6.16 with commit 53db8a71ecb42c2ec5e9c6925269a750255f9af5 and fixed in 7.2.14 with commit 7299a32764ab875443b58581d929027954dcf24c 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-99265 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/openclose.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/b4b7b2d19dab611f3cf3d052aa19278e7e4c4683 https://git.kernel.org/stable/c/7299a32764ab875443b58581d929027954dcf24c https://git.kernel.org/stable/c/a3d7ee11289f657aa9af826d8f0844221292a27a