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 B2BD3218587 for ; Thu, 27 Mar 2025 16:47:15 +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=1743094037; cv=none; b=L5WxbF5/Dd+/mNI9vHICOq43NUnteJlCroO2jaVLMkZBIu5fe9iHbKO0QI7LsNkfYhk1Znxqkwtn+sVdcyq3Hc1VPlJebiFvSu+XNX5tWXSVL0WyB96wdGClsxVmwueUdxXkruk+ogNCef+WQu9Q/cQvb86T2H7/r82NS+xyRo0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743094037; c=relaxed/simple; bh=deZejuT7rnSdEt2b2Im7otbC64o8nv4YMGS51z2VvMo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sKT83TjgC/BSzBuBN9T/NbVh9gAnVv7P4KLkup5k5XoDXfChtUcbs6dYjZRGirRDhv+W9RmT10FpShagQ1SOgDsfyavAlpoXFWDa3zC5Qy4lZoLnHi2fGfGQ0IHFGMlMKfFBDDcWp+VzqA02vSuAKCt4LgkaKfV2/Oq9N0QggP4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=pBI9yRSZ; 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="pBI9yRSZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 84160C4CEDD; Thu, 27 Mar 2025 16:47:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1743094035; bh=deZejuT7rnSdEt2b2Im7otbC64o8nv4YMGS51z2VvMo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=pBI9yRSZtyV7D2rk0TiqrAkLr1iAsDWijNLE4d0R6D7HMssk88blu31ku036IekAm 3MHS+BsnyGk4CdWcHg72cfthbr6fZjoNwa9m03v0pTMbPYNu6iT7cPBQPjvKuHCiRt FaruvNNu0vA+oGS4Poa3HOj2YB9E3nnaH8Kph8K8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53027: erofs: fix kvcalloc() misuse with __GFP_NOFAIL Date: Thu, 27 Mar 2025 17:44:14 +0100 Message-ID: <2025032719-CVE-2023-53027-dc56@gregkh> X-Mailer: git-send-email 2.49.0 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=1914; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=deZejuT7rnSdEt2b2Im7otbC64o8nv4YMGS51z2VvMo=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlPGzQi8ueaJWxZdXvy53erJawjhDqc3gg86JGJrvshz JZwpWZ1RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExEexPDglUHNvofKpg0eUve iwUV/TpeGzhfBjPM02IJSDjz/1Z+TUW6aeMcrVD2fLb/AA== 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: erofs: fix kvcalloc() misuse with __GFP_NOFAIL As reported by syzbot [1], kvcalloc() cannot work with __GFP_NOFAIL. Let's use kcalloc() instead. [1] https://lore.kernel.org/r/0000000000007796bd05f1852ec2@google.com The Linux kernel CVE team has assigned CVE-2023-53027 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit 4f05687fd7036473605a161ca47a2cf9fd3cbfc5 and fixed in 6.1.9 with commit 7b28a8920844042ca9f44934d8f15d210ef42c75 Issue introduced in 6.0 with commit 4f05687fd7036473605a161ca47a2cf9fd3cbfc5 and fixed in 6.2 with commit 12724ba38992bd045e92a9a88a868a530f89d13e 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-2023-53027 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/erofs/zdata.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/7b28a8920844042ca9f44934d8f15d210ef42c75 https://git.kernel.org/stable/c/12724ba38992bd045e92a9a88a868a530f89d13e