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 D4AD2219EA0 for ; Wed, 26 Feb 2025 02:15:34 +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=1740536134; cv=none; b=dnBsXaINgabKYJPkxVW5opZEZ3cpUCUOWmCGtkBsTGWiGO540bh5cS9gM1EJfZJi+FuuVbPpjAucDk4pPF0y1pbhhagzcZcVB8MTqbBA28cG+AkcJ6lPOrzlB1KX85lFc1X4mnUv3FqiRIZpccxqbaJT1eOYwVR25O7EGP4qHg0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536134; c=relaxed/simple; bh=n1RBiOH1LUmrQBOlQedmu1w+JFDrSIX52wQQ9pY9j34=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CurXPDhKYgOLRIJigv8FYmY3W28p7ZQFrBHEbltHzvGHV8ACGS1XeLVyU78h00WNEQwUssjXRc2EiR2mdlfR6v5KtANjeIR86oawiVQuiRd57W4qeuum6SB2cmar/uMoCvPFWU4nWkMZJgElyOI/sFzHidQmHDX3WabjC4Zjc8U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=SSQ1z0lt; 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="SSQ1z0lt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB6E7C4CEDD; Wed, 26 Feb 2025 02:15:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536134; bh=n1RBiOH1LUmrQBOlQedmu1w+JFDrSIX52wQQ9pY9j34=; h=From:To:Cc:Subject:Date:Reply-to:From; b=SSQ1z0lt7BzCsQwOaEs92HFGNHzEuGmE8xYjwoFiAjPQL4tBYcxedQOwJwr8UZewm 3tqWE4nDADDjDXJ9tN6txRZDfKheijR1HxggufSlWq4Di5/TTVt0t1k55k3PB7i1D3 JVHHAlyn3uG3JhJtvTQAg5LeiV/ZZb6fIJc6Lgac= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49541: cifs: fix potential double free during failed mount Date: Wed, 26 Feb 2025 03:13:35 +0100 Message-ID: <2025022614-CVE-2022-49541-7460@gregkh> X-Mailer: git-send-email 2.48.1 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=1938; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=n1RBiOH1LUmrQBOlQedmu1w+JFDrSIX52wQQ9pY9j34=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7Kth2ru5wq+Zv/HDgb/DJ5J31V9dXbI71EwoTirkgV Cx58vHSjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIdxPDbPZpJ7/yWO/ez3A2 ib82doKn49SKjQzzdBU/OLKfnq739BJH97vTVwIETgevBAA= 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: cifs: fix potential double free during failed mount RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=2088799 The Linux kernel CVE team has assigned CVE-2022-49541 to this issue. Affected and fixed versions =========================== Fixed in 5.15.46 with commit ce0008a0e410cdd95f0d8cd81b2902ec10a660c4 Fixed in 5.17.14 with commit 9a167fc440e5693c1cdd7f07071e05658bd9d89d Fixed in 5.18.3 with commit ee71f8f1cd3c8c4a251fd3e8abc89215ae3457cb Fixed in 5.19 with commit 8378a51e3f8140f60901fb27208cc7a6e47047b5 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-2022-49541 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/cifs/cifsfs.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/ce0008a0e410cdd95f0d8cd81b2902ec10a660c4 https://git.kernel.org/stable/c/9a167fc440e5693c1cdd7f07071e05658bd9d89d https://git.kernel.org/stable/c/ee71f8f1cd3c8c4a251fd3e8abc89215ae3457cb https://git.kernel.org/stable/c/8378a51e3f8140f60901fb27208cc7a6e47047b5