Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 B43D0385D9C for ; Sat, 15 Aug 2026 06:37:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775877; cv=none; b=rjMFnRoZOjLTIZUU87BNi5gDghBk+GrJy+77J+YgxB5vOQj+y/60/ISFB563A9KE8LVb29vZI5HVogATWqznHygPSU2BP1YQmStKewUHr54mo5t5s/mP/n5+u6c1D2CkwMiTxXIIBNgIbALbW674Qck1jAH54ts1j7tW859KsUk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775877; c=relaxed/simple; bh=5sf/flXGCUcTNQy4ZzxXDi+4bv1RPN6mCKqPuD/aoOU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=IuajKBEjfir/6CPdcVkQZow54lPEfTSOCtF0eCQt91FBSviyGr4H9NVUAbDt1L3MxtFrPayT3Ah4sLVU/1XoasT+FYs0+lGY1RQEDURj+Ep4DzfKyB2GYvtmv0rMhpze3eDtjbHeWZMuAyrV08S5COG5AXsKaAustkX3oOnUDr0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=nsfx8L0n; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="nsfx8L0n" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 16E2E1F000E9; Sat, 15 Aug 2026 06:37:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775876; bh=z/2Fk7gUyy0B6j7eqxo1T/zIx5qUvGW0ol0245I6SW0=; h=From:To:Cc:Subject:Date:Reply-To; b=nsfx8L0nWG8ReJLl3pZiAHRVVjXH4tGWKo03elrFiOKrdHNPXRvIHQIt1s4sxu1Ze RdlJNxossdFLH7khOOHOovFKZNjdBiBQJnu7IaQOkxxpRfpgpr0iKzD/v2hYYGLW2L arn2rP06kJxvOYYfBGVm1H/+h05ycLPzT0kx2KFk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74385: nvmet-tcp: check return value of nvmet_tcp_set_queue_sock Date: Sat, 15 Aug 2026 15:11:52 +0900 Message-ID: <2026081506-CVE-2026-74385-b03d@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2384; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=sxnMq7FFF6l9Qxyz/kQLDq2bOBU1sGHBz/9CsThbVPg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNjFLNKko6Fl6rD4ZEbXQ8UZB7UUlCtlxB5s80Td1pE 8/c1XTtiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIn8LGeYHyi966r1Vse0A7+7 We9t++JfvKBmGsP8sjsn7hewrSxczhZ47a3hk+p7H034AQ== 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: nvmet-tcp: check return value of nvmet_tcp_set_queue_sock The return value of nvmet_tcp_set_queue_sock() is currently ignored in nvmet_tcp_tls_handshake_done(). If it fails (e.g., due to the socket not being in TCP_ESTABLISHED state), the socket callbacks will not be properly set, leading to queue and socket leakage. Fix this by capturing the return value and calling nvmet_tcp_schedule_release_queue() on failure to ensure proper cleanup. The Linux kernel CVE team has assigned CVE-2026-74385 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7 with commit 675b453e024154dd547921c6e6d5b58747ba7e0e and fixed in 6.18.40 with commit cba2ee57fd302727aea7d41e9d9cd0969f5df0fb Issue introduced in 6.7 with commit 675b453e024154dd547921c6e6d5b58747ba7e0e and fixed in 7.1.5 with commit 22aa70f9a0544643ec37d442b6fcb1833d804462 Issue introduced in 6.7 with commit 675b453e024154dd547921c6e6d5b58747ba7e0e and fixed in 7.2-rc1 with commit 7ef789703e2b91775dcb36b2efa46325be31a2a0 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-74385 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: drivers/nvme/target/tcp.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/cba2ee57fd302727aea7d41e9d9cd0969f5df0fb https://git.kernel.org/stable/c/22aa70f9a0544643ec37d442b6fcb1833d804462 https://git.kernel.org/stable/c/7ef789703e2b91775dcb36b2efa46325be31a2a0