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=1795099596; b=FU5oFTTBM1d9raHuh2A8BGiypCDDmdcQTiLumaloZd59m0+W936GIi0Mm0pP5s8obJJp zAc/kngFlnYtDca9DoNzIEbjKpx7Gx2rx5Efmq2QT2zhugG96MOlAiCRgvVjSTNqWJ0KK T4Wzt9BXv89H3OGuIjhBMmsSPJSBpXpMIfP4vBErXAbFnDV4Iy53lPgBWVXmzMKhhhz4s FEprrykc9UakDzYmoLKKWdGCyMqnGgnerPNW9wGVwK3+Kz39j0lvviR14i8TKWXBS7oEO JDjvYKRLl9hywJRWHJAZh6zhtJaB6nmBWDcrxqj9cIsWL7MRFOsQPsK6HOnTkpSsCFQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795099596; 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=Dpwc+EbOAAhp7uF/ajy8wL977r5hecqX+I42PCpvGLE=; b=FBpfyEJ8u47wqsTyrG5fSyCGkjZw9/SbBL/pB0fvs9D21RclpnpEuItBqhC2DeJcOa/r YZtWcmrFx88R0n0J3UJDqZojPEAXzUtWXwS1vNFD5AMfG930MlJU86TsvejAp/GaeKZhT wMHlAKXjF6I84/qIx4wk4FTO30Fj+dZ1aJJBRitTKl91CogJ/EcKEoPzBgoKHYY3OH1Ze obiLsky2XkSFx668qITnUqgFgd2VgwVAfNsZtI2d0Lgyv0NZ9d58tTXE/MXvFbIP1+ZZM 451DJWookZpzTjDvoPF51hCk0pBjn7+lgTBv3C8wdpRUXMpHI0ZPzzQOn0lZo1jD+ig== 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="h5NOwp/U"; 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 25321606A320 for ; Thu, 19 Nov 2026 14:46:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=h5NOwp/U Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3FB41F000C7; Thu, 19 Nov 2026 14:46:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795099596; bh=Dpwc+EbOAAhp7uF/ajy8wL977r5hecqX+I42PCpvGLE=; h=From:To:Cc:Subject:Date:Reply-To; b=h5NOwp/UZvLWXI6K5ANYIJFMAPKa1iS0GpeMSEXX/qSmezsSkBNrTDHIXz/Y3Mde4 crpKc5fOD97rjycFUdVD4HvhF6bzrB4PBcKEECEmKRLQgF051M+NF395GlEhjOoVqn X1mXd8cZaIq5ErSVkjLs8P7gJRxWuIyUVN/09TzQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99426: smb: client: hold server info until cifsd exits Date: Thu, 19 Nov 2026 15:25:24 +0100 Message-ID: <2026111902-CVE-2026-99426-d31e@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=2981; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ycnPNXCNlYVw3mehfkQ6ibDMFuXivHr1h35Qok1bYAQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2ZqWhfS/j33V9a7QzaGZm+P5gk0ziyf/CVjeK/8ga WYNS/e+jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIQWeGBYvjOCLlcl/d0Lr+ IV2WVe+Q5d+pzAzz1H0n8zRozCoJ4w4ysNz49PXOV79EAA== 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: smb: client: hold server info until cifsd exits The last session reference can be dropped while the cifsd demultiplex thread is still running clean_demultiplex_info(). That thread frees TCP_Server_Info there, racing with cifs_put_tcp_session() as it releases the server crypto state. syzbot reported a KASAN use-after-free in cifs_crypto_secmech_release(). Keep an object reference for the cifsd thread. Defer final crypto, session-key, network namespace, string, and structure cleanup until both the last session reference and the thread reference are dropped. Drop the thread reference after clean_demultiplex_info() has finished using the server. Build-tested with ARCH=arm64 and W=1 for fs/smb/client/connect.o. The KASAN reproducer was not run on the patched kernel. The Linux kernel CVE team has assigned CVE-2026-99426 to this issue. Affected and fixed versions =========================== Issue introduced in 3.17 with commit a5c3e1c725af9e84deceb3c33939ca4ffe3fefc8 and fixed in 6.12.118 with commit 54919a8dcd3c2fcaa535597da5290a7a1dece5b3 Issue introduced in 3.17 with commit a5c3e1c725af9e84deceb3c33939ca4ffe3fefc8 and fixed in 6.18.64 with commit 3c0a424aabe7a312badd9e9d5c530a73901a104c Issue introduced in 3.17 with commit a5c3e1c725af9e84deceb3c33939ca4ffe3fefc8 and fixed in 7.3.2 with commit 20a2fb9842ca504ce8d877ee04fb850a1af5ef73 Issue introduced in 3.17 with commit a5c3e1c725af9e84deceb3c33939ca4ffe3fefc8 and fixed in 7.4-rc1 with commit 482c117c6dbeee382790168af10959810450ab09 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-99426 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: fs/smb/client/cifsglob.h fs/smb/client/connect.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/54919a8dcd3c2fcaa535597da5290a7a1dece5b3 https://git.kernel.org/stable/c/3c0a424aabe7a312badd9e9d5c530a73901a104c https://git.kernel.org/stable/c/20a2fb9842ca504ce8d877ee04fb850a1af5ef73 https://git.kernel.org/stable/c/482c117c6dbeee382790168af10959810450ab09