From mboxrd@z Thu Jan 1 00:00:00 1970 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 D814857334 for ; Sun, 28 Apr 2024 11:35:54 +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=1714304154; cv=none; b=UkxGDRg1G3hQ2FvJP7AI6T8Zi3eLXHxgzKpvUc9iuxxCE8APQrip2AwybdK5RH0BJ/HaSb3DeiN2poJyw5WZBeCqjwl3PVSQ6Q0XVIb1j9hubTTEL8JzfmMHc8adDb1t7lz1QlB2bytiZKmwIdqM86KWSQZH9g+lYgxkDxJ8yr0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714304154; c=relaxed/simple; bh=qZ3UXGf5LAaOZXV+UI6/4quiO7bPh1Ax4DzUUXN9r6Q=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=M3U6CZvaaqJSkNOXWYib9VV4WxRa/3ZBFCE7TZoquxMitVkm+9EyXc4IAs/pWGTMx45pcLZgr+PYNsPIyGYEUe3SXB6ZE5nLUWIHRMigcDZxczi74UKPvn0ursWV7HZgO5qm1vrLwtYf8ezxMVcpROEN6NwUBCDuEQY7O1H611M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BlrMF+XW; 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="BlrMF+XW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DA95DC113CC; Sun, 28 Apr 2024 11:35:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1714304154; bh=qZ3UXGf5LAaOZXV+UI6/4quiO7bPh1Ax4DzUUXN9r6Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:Reply-to:From; b=BlrMF+XWE0GQaQ/C3nMuOgtIpoh/SxA5a+jvtntx1CyMFm2JekyPAYkcwMxECW0c/ /Y44ANfpmpWn6/uuitWg5ro0geh3zaCsJSk6+SuwRoaLo9CH5DG0F6KcqXovF62IJZ qUC+OwoD+IsuBBl24cJT36nNrJcNMwwmMu/3Dnzo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26928: smb: client: fix potential UAF in cifs_debug_files_proc_show() Date: Sun, 28 Apr 2024 13:35:44 +0200 Message-ID: <2024042849-CVE-2024-26928-e543@gregkh> X-Mailer: git-send-email 2.44.0 In-Reply-To: <2024042844-CVE-2024-26927-3374@gregkh> References: <2024042844-CVE-2024-26927-3374@gregkh> Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1896; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=qZ3UXGf5LAaOZXV+UI6/4quiO7bPh1Ax4DzUUXN9r6Q=; b=owGbwMvMwCRo6H6F97bub03G02pJDGl6JlO/Ll5XxnRA8TjzG6m+BOeyisTAJ3VCDWulDz5aL n+bu+5lRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwkLp9hfi5Xpug1y6zJzEGX Xnt3XF8zT+uDKMOC3g3rtokLiwXJhet22t39EsXe+OUXAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: smb: client: fix potential UAF in cifs_debug_files_proc_show() Skip sessions that are being teared down (status == SES_EXITING) to avoid UAF. The Linux kernel CVE team has assigned CVE-2024-26928 to this issue. Affected and fixed versions =========================== Fixed in 6.1.85 with commit 229042314602 Fixed in 6.6.26 with commit a65f2b56334b Fixed in 6.8.5 with commit 3402faf78b25 Fixed in 6.9-rc3 with commit ca545b7f0823 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-2024-26928 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/cifs_debug.c fs/smb/client/cifsglob.h 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/229042314602db62559ecacba127067c22ee7b88 https://git.kernel.org/stable/c/a65f2b56334ba4dc30bd5ee9ce5b2691b973344d https://git.kernel.org/stable/c/3402faf78b2516b0af1259baff50cc8453ef0bd1 https://git.kernel.org/stable/c/ca545b7f0823f19db0f1148d59bc5e1a56634502