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 936EE2E0939 for ; Tue, 30 Dec 2025 12:37:28 +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=1767098249; cv=none; b=JtXSt4OaIPCaabbpYlSonBE+v9ranlFGF3a3KoOOhbLX06Gbwp/VchsDQYrNHyoLRZuLrxZjtn3AduMCXT/7IrPKrFNRE5WObclxD37t0YhrS2iNheG4LxgetyGk33PIbikFEurovgiZrjH0rpiTaSGs0m8s2MF05kmC+Zijufk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767098249; c=relaxed/simple; bh=PXh9UbEVjuAk4I7Zw4UeSYKFeZ9MR+I5A9W8+h/xLV0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ozdgo4H8QDSFpRjadC9SLqGMc7nG2q+KvF/t9yRrOSol24Z49gLyy6mH7705+qLUxkqBj8PT2OFRG1La3pIexIMqCOHp3T8pJjpmz7MlO6VMDtIPlw3QxjPPRs3qKeej3jh5IPWYvkFusXZeks87im5zYeGNj1hVmzpWA1kMOgY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0nUGlhXx; 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="0nUGlhXx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 73F30C113D0; Tue, 30 Dec 2025 12:37:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767098248; bh=PXh9UbEVjuAk4I7Zw4UeSYKFeZ9MR+I5A9W8+h/xLV0=; h=From:To:Cc:Subject:Date:Reply-To:From; b=0nUGlhXxE5HVyBWo05GhyVHpmrNsxlBxSrdP6RtWPovslGTlLKgW/iXdRBuesk3Wl 1HlmVdo8riBqHLy162nqekFKd8Y/18CKCL92t2b1z/gzwKOzQwVPVuF6OTUCsGzUaW aity9mOwTFvYdTjSsqihaZDvKRJYe5Zxw3faU8Ns= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50889: dm integrity: Fix UAF in dm_integrity_dtr() Date: Tue, 30 Dec 2025 13:37:17 +0100 Message-ID: <2025123015-CVE-2022-50889-71c4@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=2819; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=9Znfub7l7zeMKEXUiD2FnZrXkcQXtgKZml1Bldt/Nyc=; b=kA0DAAIRMUfUDdst+ykByyZiAGlTx3uj13NcCynprOXhft1msrAarWexfym4Xy2ckg01nZ1PP 4hdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmlTx3sACgkQMUfUDdst+ymcaACgrI2+ XgIM9FwF5iHHWV5YNT/nJq4AoLJqkFIixo1i+zpGPPXVtNdekBL8 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 integrity: Fix UAF in dm_integrity_dtr() Dm_integrity also has the same UAF problem when dm_resume() and dm_destroy() are concurrent. Therefore, cancelling timer again in dm_integrity_dtr(). The Linux kernel CVE team has assigned CVE-2022-50889 to this issue. Affected and fixed versions =========================== Issue introduced in 4.12 with commit 7eada909bfd7ac90a4522e56aa3179d1fd68cd14 and fixed in 5.4.229 with commit 792e51aac376cfb5bd527c2a30826223b82dd177 Issue introduced in 4.12 with commit 7eada909bfd7ac90a4522e56aa3179d1fd68cd14 and fixed in 5.10.163 with commit a506b5c92757b034034ef683e667bffc456c600b Issue introduced in 4.12 with commit 7eada909bfd7ac90a4522e56aa3179d1fd68cd14 and fixed in 5.15.87 with commit 9215b25f2e105032114e9b92c9783a2a84ee8af9 Issue introduced in 4.12 with commit 7eada909bfd7ac90a4522e56aa3179d1fd68cd14 and fixed in 6.0.18 with commit 9f8e1e54a3a424c6c4fb8742e094789d3ec91e42 Issue introduced in 4.12 with commit 7eada909bfd7ac90a4522e56aa3179d1fd68cd14 and fixed in 6.1.4 with commit b6c93cd61afab061d80cc842333abca97b289774 Issue introduced in 4.12 with commit 7eada909bfd7ac90a4522e56aa3179d1fd68cd14 and fixed in 6.2 with commit f50cb2cbabd6c4a60add93d72451728f86e4791c 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-50889 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-integrity.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/792e51aac376cfb5bd527c2a30826223b82dd177 https://git.kernel.org/stable/c/a506b5c92757b034034ef683e667bffc456c600b https://git.kernel.org/stable/c/9215b25f2e105032114e9b92c9783a2a84ee8af9 https://git.kernel.org/stable/c/9f8e1e54a3a424c6c4fb8742e094789d3ec91e42 https://git.kernel.org/stable/c/b6c93cd61afab061d80cc842333abca97b289774 https://git.kernel.org/stable/c/f50cb2cbabd6c4a60add93d72451728f86e4791c