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 C0DDF4EB87F for ; Thu, 17 Sep 2026 16:19:52 +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=1789661993; cv=none; b=ZxN+AhrE/oet0WsXToIuqr4LHjUg5A5Pr427cij6ee4Zak2uLZXEDTd9vlTOkAAXPDD6SW1VE4I4gkdeEjkhqVzoVV9We55CUnnltgIAsct1x6Kxsw4HdAKwamHPJdKOanrNS2W9sZTESYbcKhSXJ+BIRpP0JTW7952TFbVmPNc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789661993; c=relaxed/simple; bh=o6r+0nYZbfveo/+sOWZxLi7MxH2QWcbvaykmrF+HL+c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ndXKDgvo70+sYy9G7w15jYMloT9OMWHcX4gnMXJ/fiMqMyRtztM8KAvTKkC9bVCUAKxrn3eqracqe3GAi/u1KCqKokAmRPkDO0Baqefp4OEJNcqSl9frzmRWfatCN/PBkD/rAgHHa1WyaMeKPURxGp+p7yJWtX7A489Db1d8Vok= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=G1hKWu/d; 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="G1hKWu/d" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2282D1F000FF; Thu, 17 Sep 2026 16:19:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789661992; bh=QlJv6oisE9oBu9C1LEtLokI/U4rHQyOAhmfyN43N0Yk=; h=From:To:Cc:Subject:Date:Reply-To; b=G1hKWu/dscBnAapd5rfrxAhrKUCld6o+4Wm9qWSy6kS8sUjmy5oeuL0dTawynnuDN 0qLdYjcLh9VjqLHb1Xn16qXzpaP35MRhrVJ2JSj7DpDXM6ccjY+00MhOtWuVAg8O0q JETqvcWWA91TZtGyE+Kb4gCY2p85ig5QOoqlGfts= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90168: ksmbd: retain connection for pending notify work Date: Thu, 17 Sep 2026 17:09:58 +0100 Message-ID: <2026091727-CVE-2026-90168-0318@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=2297; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ijauzj+60GTbXJ0Q3opFCdtOE/kHv7Ndb9/2RZP0glE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBKp/2BrvLs25/n3FV2ffx4mGelOL3+portoiu/Bd+ NH0CUeudMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEirUZFmzRcGy8U9qzyel/ /qS7YW6sp+LWaTPMD09bcOiE07EwnoWp0dUl8txzTy0SBAA= 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: retain connection for pending notify work Deferred CHANGE_NOTIFY work keeps an async message ID after the original request work is released. A durable handle can outlive its connection, so the connection teardown can destroy its async IDA before the handle close releases the pending notify work. Give the synthetic deferred work a connection reference. Release it after the async ID in ksmbd_free_work_struct(). This keeps the async IDA alive until the deferred work is released, even when the original connection has already left the connection list. During server shutdown there is no client to receive a cleanup response. Skip the write and only release the pending work. The Linux kernel CVE team has assigned CVE-2026-90168 to this issue. Affected and fixed versions =========================== Fixed in 7.2.6 with commit 50be5e96c381ae995b7de3869eecdc84476be7f2 Fixed in 7.3-rc1 with commit f495154703cbcc0050cfd53469bd56965791616b 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-90168 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/ksmbd_work.c fs/smb/server/ksmbd_work.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/50be5e96c381ae995b7de3869eecdc84476be7f2 https://git.kernel.org/stable/c/f495154703cbcc0050cfd53469bd56965791616b