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 015904ED18E for ; Thu, 17 Sep 2026 16:19:47 +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=1789661988; cv=none; b=N1iEmnbd8zCfGdk5JwyMrBiQes0v0Z/MoqJDFGDtEQcdVtORGa+vBqnkFKmxnPngs15L1dqe0Tkh6fQeVU0afA8aqmptvi3yOh8uWml81KmBXF5ZZWzh/Gx/hRmH728npca/qeGfHe1V0Y88NzXScbk27SKjMV7ccNCMU/oVBUk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789661988; c=relaxed/simple; bh=Qgb0gvjX9weCqhXo1rAiQg+8zl3aV1gc69NRQpDr4qs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Hayiic+PmISKtqVYmo+feMtDozir3rb/ssNpJMG0IdpNoMz7Jvp731hLQN++/7RE8Lk/0byLNQ2d45BwZAtmemR5hdF42DFS/Nm+BsOcudac2ajtOTIUpIUs7Yvlu34PojbxrWl0Hx0zrspM8DOw49jBYrF/F7wFSblH0Jfd3s0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0kMjCpxs; 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="0kMjCpxs" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3F4A21F000FF; Thu, 17 Sep 2026 16:19:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789661986; bh=evvkmMHHHa1/VQ+6H82aZvHdhQVrGWCSCJl0j1CyHRg=; h=From:To:Cc:Subject:Date:Reply-To; b=0kMjCpxsOJlXsKGWf1Bjz0iWFTlpiSCwLfmQvJ2rkQr9ms1W22Dbj/S4N50fRLZ3f dPjd8gup5YwaVHPEGECgbEsOJZisKEjXQNhUDKgqJNKq3IOHecn0o1BWzttjbske7G MwyUIKybO1Xt/2LkPU36EXkHisHdZ37IPPZTlIcs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90166: smb/server: fix null-ptr-deref in ksmbd_ipc_tree_connect_request() Date: Thu, 17 Sep 2026 17:09:56 +0100 Message-ID: <2026091726-CVE-2026-90166-49bb@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=2557; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=VLYxcE343CFkyOuCfJcAL4RpcPnzlmV5+3fIQ8BIfVM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBKo4vPPTZl9MKmn61huh5PZCR2a97/S87sMvjvy/5 R3x/YVsRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExEYQPDguU24u+7T7Ox8bHa Hm04J1DF7K15hWHB4caT+gsP+PN9Djunmc3xKiuC88NrAA== 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/server: fix null-ptr-deref in ksmbd_ipc_tree_connect_request() See the procedure below: ksmbd_tree_conn_connect ksmbd_share_config_get share->name = kstrdup() // fail if (!test_share_config_flag(share, KSMBD_SHARE_FLAG_PIPE)) // false // do not check `share->name` ksmbd_ipc_tree_connect_request strlen(share->name) // null-ptr-deref The Linux kernel CVE team has assigned CVE-2026-90166 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and fixed in 6.12.110 with commit 4eb74a34ea401abfbbd5991076715dae3de938df Issue introduced in 5.15 with commit e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and fixed in 6.18.52 with commit 8461f27902727ad434375caf13a0100aafc0340f Issue introduced in 5.15 with commit e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and fixed in 7.2.6 with commit 7065d3648b1a48d2c49da3d6364dd3c4d503b10c Issue introduced in 5.15 with commit e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and fixed in 7.3-rc1 with commit d2ccf905f47d2344270749f4dfa905afcd3edeb0 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-90166 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/server/mgmt/share_config.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/4eb74a34ea401abfbbd5991076715dae3de938df https://git.kernel.org/stable/c/8461f27902727ad434375caf13a0100aafc0340f https://git.kernel.org/stable/c/7065d3648b1a48d2c49da3d6364dd3c4d503b10c https://git.kernel.org/stable/c/d2ccf905f47d2344270749f4dfa905afcd3edeb0