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 7F3911DED40 for ; Mon, 8 Dec 2025 01:17:39 +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=1765156659; cv=none; b=HhkalMkq9Vb2WHZ2ou9N3+bEuMiGxSXEL+pEkDnGhUc1+il4PTk1bgV1EOIK1dbWMUdfOM1vQRTCnDzCDpafI5gC6Ix2NAUJ7+dXJQuh7h4P8LyCjQ1McQ829R9OH7Hj0U2Tp5LpmeA6CUk1Vp/Klx1rL8ivY9biLFV+upa7yDU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765156659; c=relaxed/simple; bh=h03D8WYmMfXiqLyWHiDg+mj2VlE4FBIYh4bYsDoIs6w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ClrIA6H1edkwB9WdkSnLEXcnxv6kW1pUGoMtr5KStH88W0JMeisqJRnt8nlnDqj7Fq2+HKFN6y0WnuTLuFy335v5ji/pH9lL9Plh1VlTA0SwIEB2i2J7d7QCdlu2mgB4PbWzcrYS7VfNHlLYKSArzT3gmdD/Nr4lKPERWMo7YxQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=HPgPshvP; 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="HPgPshvP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 86E45C4CEFB; Mon, 8 Dec 2025 01:17:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765156659; bh=h03D8WYmMfXiqLyWHiDg+mj2VlE4FBIYh4bYsDoIs6w=; h=From:To:Cc:Subject:Date:Reply-To:From; b=HPgPshvPaavV+kmPqcZK+veyj63TbaYfloGZvgGCYXtlDa5/gRDYcMy9uBuk1dmmu IlDzU3wHH0SjOhw5f4pgQRRFGKtB3p2mchabwW/LXC2EcVm4rwpIYgABYS4as93T8x Wxs9bG7ZSobCGA/jQj2YXq/XruXcskFLM/IUSpAg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50621: dm: verity-loadpin: Only trust verity targets with enforcement Date: Mon, 8 Dec 2025 10:16:58 +0900 Message-ID: <2025120852-CVE-2022-50621-be59@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2097; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=qcfEPmudO/hbPyAwBFJl1HgH4+eoeCHS2Y/gAoVygyY=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlm6iwXdigmL9S6dlEy41RSvNkGp43rj/xWyezpSahuC 9Xe/6itI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACby8gTD/Kp7xbGzQjkED2y5 YH+ipSM+6JLpR4b5SV/FWfbPvsV2SGnqPm69Uvs7x6zvAwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: dm: verity-loadpin: Only trust verity targets with enforcement Verity targets can be configured to ignore corrupted data blocks. LoadPin must only trust verity targets that are configured to perform some kind of enforcement when data corruption is detected, like returning an error, restarting the system or triggering a panic. The Linux kernel CVE team has assigned CVE-2022-50621 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit b6c1c5745ccc68ac5d57c7ffb51ea25a86d0e97b and fixed in 6.0.3 with commit cb1f5b76e39d86c98722696bdf632987aa777b83 Issue introduced in 6.0 with commit b6c1c5745ccc68ac5d57c7ffb51ea25a86d0e97b and fixed in 6.1 with commit 916ef6232cc4b84db7082b4c3d3cf1753d9462ba 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-50621 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/md/dm-verity-loadpin.c drivers/md/dm-verity-target.c drivers/md/dm-verity.h 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/cb1f5b76e39d86c98722696bdf632987aa777b83 https://git.kernel.org/stable/c/916ef6232cc4b84db7082b4c3d3cf1753d9462ba