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 E78681D554 for ; Tue, 21 Jan 2025 12:19:11 +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=1737461952; cv=none; b=INHtOBWxH+PqraF5BRAYFiNdrh/s5aKfFkQJ6uc81jRWtdwVsi6kMqgXiFvdKUWI8Da11To4zQ5DZI0aOdZLbPozubLG7gwbRSCbLxcfj2xBaUD75qocKZzhbo2qJ5/v0BRjG5fBm1nSauPcehUxhdA3vanNMwbcMraPhnhsMB4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737461952; c=relaxed/simple; bh=2VBVW6OAdrAP8c6c+dRx/+EOjTd99b1xU9u76Pm2Wj4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=it7MU8QH0p4xQQSP080c56ckqY+22EDCKJ6/XAcLMZAM0aNJpKSAqKIfzZ3kFYkGNrrMmuSaR8Y+29fd56p4CwnxW5gQ+lqV73VKJ8CdTz/eZ3P8cTqqmU5lL7FUBNlVpGxkfpkwtqzanWclwx3ZZO07/v8JcYV4sVA4vwq+XsA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=fjK14Cxf; 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="fjK14Cxf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CCBA6C4CEDF; Tue, 21 Jan 2025 12:19:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1737461951; bh=2VBVW6OAdrAP8c6c+dRx/+EOjTd99b1xU9u76Pm2Wj4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=fjK14Cxf7jQ/2tWAqd/5Yd5ZzOf9ojkknG/Cmpc1sI7z1vJEWRJq1gU/CoE4SeYT2 RLLwZerQlCdsgJ843ujYlQfsvpy5knjlv4AbmdQJCH4wO64OYHzAA0YBcw5jz+GC5m /1ydOORjBZdRaG27j6Jg1QknUHUc1plX55rwNuqU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-57943: exfat: fix the new buffer was not zeroed before writing Date: Tue, 21 Jan 2025 13:18:32 +0100 Message-ID: <2025012129-CVE-2024-57943-7a6e@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=1988; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=2VBVW6OAdrAP8c6c+dRx/+EOjTd99b1xU9u76Pm2Wj4=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn9E6b6Pr+zdZYH+2/ttJPaeesFA5Wvm8/PeTN5r4zah MfKFw4e7ohlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJ1CgyzE+0u6l6IHnBMceV q1fM8beoF7TK+sqw4NpivR0xFffZHkTrHGNauL7cW3vDMwA= 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: exfat: fix the new buffer was not zeroed before writing Before writing, if a buffer_head marked as new, its data must be zeroed, otherwise uninitialized data in the page cache will be written. So this commit uses folio_zero_new_buffers() to zero the new buffers before ->write_end(). The Linux kernel CVE team has assigned CVE-2024-57943 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12 with commit 6630ea49103c3d45461e29b0f6eb0ce750aeb8f5 and fixed in 6.12.10 with commit 942c6f91ab8d82a41650e717940b4e577173762f Issue introduced in 6.12 with commit 6630ea49103c3d45461e29b0f6eb0ce750aeb8f5 and fixed in 6.13 with commit 98e2fb26d1a9eafe79f46d15d54e68e014d81d8c 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-57943 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/exfat/file.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/942c6f91ab8d82a41650e717940b4e577173762f https://git.kernel.org/stable/c/98e2fb26d1a9eafe79f46d15d54e68e014d81d8c