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 D22EC2BDC0E for ; Wed, 18 Feb 2026 14:54: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=1771426478; cv=none; b=d9qNyR42cR/DO8AFWkmtazQk6KTYXaJQfS0kGAKFD5+RK3iQRbeiqxvOnDN2Q2uzQ3FOQgpfWtVlzouexJh7HTigZ+5P0WmlF8WzdhljlN4sZLvq6yfYoibGJGtyvkrMHGK7VXPOl8Q422lgfIRSjonntWz15xW218E+5285ZDM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771426478; c=relaxed/simple; bh=ASDi7QEoUix4aa4Kkt9cJtlOt7YFVxrtsOFVSDOlvcs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ImlXffF0oJL0yiUP90WC/SU/l3tkh3M482SBThlEKUGuI5YhUBRGnQcUqKJF/S8zEQhvO/HkXaAu7SqF+JppO9QTou2wcHsl53QZ7vphmeRIObX9T0yK+sSczJF8pZS4MNDhwtGxIwdld+9Xlr+JKqpFmWk2OTmCE7Px75Y/6lU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LmIsVfjZ; 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="LmIsVfjZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 13D2CC116D0; Wed, 18 Feb 2026 14:54:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1771426478; bh=ASDi7QEoUix4aa4Kkt9cJtlOt7YFVxrtsOFVSDOlvcs=; h=From:To:Cc:Subject:Date:Reply-To:From; b=LmIsVfjZY0gLen/DO0ANrZgPcA9/r43W0XrKKNHCpdq2ITpJ5zc7Lj18fuLgldWXk Ajljm6mSxd1pvsMWu8HLJ/5JQkN1LmCgVK6zOe8OAZthoi0tCIYQMenVCfqGurRdte YrNOTAOI5yVZMH5ZBgYksugxQJVEQz4wPWCFVnNM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23226: ksmbd: add chann_lock to protect ksmbd_chann_list xarray Date: Wed, 18 Feb 2026 15:54:15 +0100 Message-ID: <2026021807-CVE-2026-23226-438c@gregkh> X-Mailer: git-send-email 2.53.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=2007; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/yBjrsgd6mc2HrzLF6SWuwIW5wm7uPhUqm94zejMC4E=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlTL/WHbb+z7kDE6Unctzj4nWQzapZqC7Nk/fiycctts UN2VwzvdMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEOm8wzJX37tz9lklqfXrc DaFO9Vs/NE+dO8Iwz2ST7T5m64qJ/iYCH/aFZktJ3nd+AgA= 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: ksmbd: add chann_lock to protect ksmbd_chann_list xarray ksmbd_chann_list xarray lacks synchronization, allowing use-after-free in multi-channel sessions (between lookup_chann_list() and ksmbd_chann_del). Adds rw_semaphore chann_lock to struct ksmbd_session and protects all xa_load/xa_store/xa_erase accesses. The Linux kernel CVE team has assigned CVE-2026-23226 to this issue. Affected and fixed versions =========================== Fixed in 6.18.11 with commit e4a8a96a93d08570e0405cfd989a8a07e5b6ff33 Fixed in 6.19.1 with commit 36ef605c0395b94b826a8c8d6f2697071173de6e 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-23226 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/user_session.c fs/smb/server/mgmt/user_session.h fs/smb/server/smb2pdu.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/e4a8a96a93d08570e0405cfd989a8a07e5b6ff33 https://git.kernel.org/stable/c/36ef605c0395b94b826a8c8d6f2697071173de6e https://git.kernel.org/stable/c/4f3a06cc57976cafa8c6f716646be6c79a99e485