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 6CC9E1957FC for ; Wed, 8 Jan 2025 17:49:21 +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=1736358561; cv=none; b=X0+24QGNKp53XuXs2TCkKtiSAZq1IdE9SWODzH6YV2y9gBwNeYefQYxaiefq6Au9AAG2gfmoCzZeFpUmESJW2v/3L6L7nJ+PLt/OlqlTdezVaH1qXOOxr0YmCpiNReG+gZgGYpSvB8h30rZB+n5jOF4qpxTcXHKSf2qs/QXcOt8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736358561; c=relaxed/simple; bh=6LsGXi3cmNkJaCV8OcppYNxfUev/ijUbN2X/13xHzqU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=aWAjt7d1/Kzg+4hfRmcFJMJh54EQdhL5qPWMwJgonO3ORpLObo5etxn2ilt3m0wBRoTOVDVQ3un1eQ5jPv9j7aVPrzPqgyHxD6Ldfk7hqTCt3DjyDqVmFsr/WmKK+DefKgJcs/jGuhOARXbCbjAhLOxKiHsDwDkPbdmerwdM+f4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Yk1KUdlN; 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="Yk1KUdlN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 961A9C4CED3; Wed, 8 Jan 2025 17:49:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1736358561; bh=6LsGXi3cmNkJaCV8OcppYNxfUev/ijUbN2X/13xHzqU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Yk1KUdlN6TonPO/DlOc9T6HvjHcEEOmI/P2J/0IKEOVI0d+LQa0G/Lvu/4IgzIb/C cwaTrkNPOSpUpffLzLDNey5eJXS3gKf2DC6yxibaNBrMbMY7vyVR2TjVeRe6d0nyKC sLEP05z1FauMwC0Td90tOPVYa6zJxxx23WUKRAUw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-56771: mtd: spinand: winbond: Fix 512GW, 01GW, 01JW and 02JW ECC information Date: Wed, 8 Jan 2025 18:49:09 +0100 Message-ID: <2025010808-CVE-2024-56771-3ace@gregkh> X-Mailer: git-send-email 2.47.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=2340; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=6LsGXi3cmNkJaCV8OcppYNxfUev/ijUbN2X/13xHzqU=; b=owGbwMvMwCRo6H6F97bub03G02pJDOl1u6bmK3B0fZpcn5l88fPGg2/8Xkr/P1hnk+Bf2vTEu O4sr+2djlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIxTOGuVLaspFO79It7iRY HVm5qmel/crCXQwLVmwUeWH5/sTGCzxpeRN4qupsDZceAwA= 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: mtd: spinand: winbond: Fix 512GW, 01GW, 01JW and 02JW ECC information These four chips: * W25N512GW * W25N01GW * W25N01JW * W25N02JW all require a single bit of ECC strength and thus feature an on-die Hamming-like ECC engine. There is no point in filling a ->get_status() callback for them because the main ECC status bytes are located in standard places, and retrieving the number of bitflips in case of corrected chunk is both useless and unsupported (if there are bitflips, then there is 1 at most, so no need to query the chip for that). Without this change, a kernel warning triggers every time a bit flips. The Linux kernel CVE team has assigned CVE-2024-56771 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7 with commit 6a804fb72de56d6a99b799f565ae45f2cec7cd55 and fixed in 6.12.4 with commit 234d5f75c3ae911b52c5e4442b8a87fbbd129836 Issue introduced in 6.7 with commit 6a804fb72de56d6a99b799f565ae45f2cec7cd55 and fixed in 6.13-rc1 with commit fee9b240916df82a8b07aef0fdfe96785417a164 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-56771 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: drivers/mtd/nand/spi/winbond.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/234d5f75c3ae911b52c5e4442b8a87fbbd129836 https://git.kernel.org/stable/c/fee9b240916df82a8b07aef0fdfe96785417a164