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 79EF914C596 for ; Thu, 29 Feb 2024 15:53:25 +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=1709222005; cv=none; b=e8vy6DODLLBDCy1440mbOzPw623ZdPexJFlFfC/SPLm9bc3hZXJDBdck1wFOOl13Pp+gKjAY4U7YTKfVv4GWuvdQD0cVUrpZt6xOA2wSKFn+uJmxKjezVfeWxYvyJ/agHOB7br3evn0vL1Oxmw5NY48KoE6nQE8AiAmmT/VzOiQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709222005; c=relaxed/simple; bh=isOcOKoYqqpRj3WSSsSyLa1dkVqsBjRfkDT3K8Vxwwk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XCzCJmncMLzqDp591HRDSObw9HaBDTlvjfkXeXBFsLxVKguuZe5CoXB7OX4aCgFUooYceSfGA+QlB5yiOzf/Ie2TP8Ot9H9YB11sym6DhK9P73dS5brPGnEZpDZ6CM9UnG+yqDEnXXWHt0OvPNFXBIme+bOl24z5+IJ2v/qh1LA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rzrq33iK; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rzrq33iK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AD5D8C433C7; Thu, 29 Feb 2024 15:53:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709222005; bh=isOcOKoYqqpRj3WSSsSyLa1dkVqsBjRfkDT3K8Vxwwk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=rzrq33iKGcLTB5vVsyNAMyvd091UL8z9ldrTudvAyulBXv04p91NDkdcl4+TYsfgk 88dfKrTLjPbuD7lUAWzaSLZSF6WeQCxciL/GKRqB4dA7BmzRn/4tQs8wuajky+N7Wn Aa4fNccgxxvzAY7sopSfeb+qPkctzXtbStEQLnymujIaJLjeJjlTiqJWWPX3rtYYFz ve65MBpjgkJYMUbSGwXkWqNA3dU2U7GmGMz/Ivjvs1q8TmEuR9QkSGRZqSo9sBtI9D htwDnXsRMnnFAK1vuUw+C4RTFYkqBB4W82myUY96MC3p/SmABTYSgJiigGh6M8PDOF 7xCs5SquZVe5Q== From: Lee Jones To: linux-cve-announce@vger.kernel.org Cc: Lee Jones Subject: CVE-2023-52496: mtd: maps: vmu-flash: Fix the (mtd core) switch to ref counters Date: Thu, 29 Feb 2024 15:52:56 +0000 Message-ID: <20240229155245.1571576-37-lee@kernel.org> X-Mailer: git-send-email 2.44.0.rc1.240.g4c46232300-goog 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=2023; i=lee@kernel.org; h=from:subject; bh=isOcOKoYqqpRj3WSSsSyLa1dkVqsBjRfkDT3K8Vxwwk=; b=owEBbQKS/ZANAwAKAVGvii+H/HdhAcsmYgBl4KhOkNrVDv5FSHzPjsSHIiZUHkbRcWLf+ucf4 exYI8XQEvGJAjMEAAEKAB0WIQR2tsk1o74gmpTwh0hRr4ovh/x3YQUCZeCoTgAKCRBRr4ovh/x3 YQSaD/0YxpIe4hk3evamvTqStXCTDaaOvoIE3XM9w3k551pBpvbmKYU2Rg9qJ8YMF/l+uctRPaE RaIkDsajkdhuShb2hZVM6j1YqjuMK9kTw9elP9Q9/7mrIvUdbKot7tzwNegqzl1pAtDiEolOkd8 yfW0XlybVKU1XcsOSXpW3vgI07K8D41eJX/TFyeNMQW+hDsVmxcwYs7kxaOOsL7SyudqijWgPy+ Y7fAtXO1abtyHDwExrIzaoF0jP2rrsJ/Oj3rX4fVHilLLjieNXuwGb3YvxuQ9XXtEKVncSgp2ju YZHTZg9pbP7OWRvOd5jAKGq8YnxDKmIqisUyxEld1SUtGFYjuE0OH64Qv70C76cqlohpfu6/0Rz pInggeZRnj0+wDocnZuTgcCmhmf5vBXocS19XrTRJMiepB7lVN/k1leDR4e5N9xyO9nhk5gCNDQ 2hSmWWqstdMOsjcRY0UONPMUzsDIljeH9zrfbrA4Mh9ax7UuhVsjW6VDqbzvDS0/6UXeqp9ZSyf VtWtwM6OVDuL1m/qyn7u8bV19BouSrcYrZnmdqBpQHggHKoHdVYMarOSHnU/LYIbSo08QLoT08A SKt6PuFQ8NODY8e3EMLN4G1AfWj5izKfh/rluseSH81s2sTyYwhnZ+T334RRXhGwCZiOyJ0LLPF CdOC02jV714hpIg== X-Developer-Key: i=lee@kernel.org; a=openpgp; fpr=76B6C935A3BE209A94F0874851AF8A2F87FC7761 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: mtd: maps: vmu-flash: Fix the (mtd core) switch to ref counters While switching to ref counters for track mtd devices use, the vmu-flash driver was forgotten. The reason for reading the ref counter seems debatable, but let's just fix the build for now. The Linux kernel CVE team has assigned CVE-2023-52496 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6 with commit 19bfa9ebebb5 and fixed in 6.6.15 with commit 38c12f10990a Issue introduced in 6.6 with commit 19bfa9ebebb5 and fixed in 6.7.3 with commit 1168d6b79d2f Issue introduced in 6.6 with commit 19bfa9ebebb5 and fixed in 6.8-rc1 with commit a7d84a2e7663 Please see https://www.kernel.org or 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-52496 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/maps/vmu-flash.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/38c12f10990ad6e63ddef2f20c1b066e5e4d34fd https://git.kernel.org/stable/c/1168d6b79d2fafb41299fbc1b528e20644c562a5 https://git.kernel.org/stable/c/a7d84a2e7663bbe12394cc771107e04668ea313a