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 016267489 for ; Fri, 8 Nov 2024 05:43:59 +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=1731044640; cv=none; b=UL2ABnLYR9ay4LMxgazLGPJqvW1QaZyMuHeb35VAFo3txhK5l/iN1VUO8VQjjCEVF7QYlzFSBIJUNnStnaPPTm78wzV1RuHAM/QX21l7/qp8B+zd+zq+RlIaRnT1VaFM+BFAi3nydRsYPDb4aEQUSVCPRp5c5wMVRyOG2O96+L8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731044640; c=relaxed/simple; bh=vrj0vBEOJy2Jw8dO4ULeG+bdruZnKZrnneaFK8RZzkU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=g9GdkkZ/KgkLj2pnTQrSdBBs+NoE8n0nycuxWjc6Pq3PKVNjLUFxXe/9G7uBSEsQYjMVXSMQ6yR/BVYIMZ8+ft96GCXL+x9Huhfh1ufPQcuZivc9wsK1PgS/bdVwFMG4j2Et/UCkAtYitQ9iHJ2uOnQ2Dq4An3pfBdNC6gBfNCk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=NzjXYu22; 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="NzjXYu22" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1FBFAC4CECE; Fri, 8 Nov 2024 05:43:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1731044639; bh=vrj0vBEOJy2Jw8dO4ULeG+bdruZnKZrnneaFK8RZzkU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=NzjXYu22PVWpyeYol2suePhiVXrD6J1WJIgL6oCQkkgh1JY0wnlI6U0i0DmSnGqHs Ns0Pxv479tBo4AFHFXdOeKa1GUJpnf7EsaQytRv26kH2DfT6hNKSrhGHjuxyqc0c2n sDtyop0fMsm/k9HiKY++xSW7dxGGMRapb9fxu96E= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-50189: HID: amd_sfh: Switch to device-managed dmam_alloc_coherent() Date: Fri, 8 Nov 2024 06:43:52 +0100 Message-ID: <2024110851-CVE-2024-50189-48c8@gregkh> X-Mailer: git-send-email 2.47.0 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=2443; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=vrj0vBEOJy2Jw8dO4ULeG+bdruZnKZrnneaFK8RZzkU=; b=owGbwMvMwCRo6H6F97bub03G02pJDOm6S8X/Zl9cVTjtamlmggN7t+bjU8FtLeum6i/Z11y17 o7QsRM1HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRygqG+QGvBE9/nCmlZbfr 60JZt4tzjQs86xjm8FVtWrat2n+BGetTDdl14aEcXkyRAA== 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: HID: amd_sfh: Switch to device-managed dmam_alloc_coherent() Using the device-managed version allows to simplify clean-up in probe() error path. Additionally, this device-managed ensures proper cleanup, which helps to resolve memory errors, page faults, btrfs going read-only, and btrfs disk corruption. The Linux kernel CVE team has assigned CVE-2024-50189 to this issue. Affected and fixed versions =========================== Issue introduced in 5.11 with commit 4b2c53d93a4b and fixed in 5.15.168 with commit 8c6ad37e5882 Issue introduced in 5.11 with commit 4b2c53d93a4b and fixed in 6.1.113 with commit 4cd9c5a0fcad Issue introduced in 5.11 with commit 4b2c53d93a4b and fixed in 6.6.57 with commit 1c3b4c90479a Issue introduced in 5.11 with commit 4b2c53d93a4b and fixed in 6.11.4 with commit 9dfee956f53e Issue introduced in 5.11 with commit 4b2c53d93a4b and fixed in 6.12-rc4 with commit c56f9ecb7fb6 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-50189 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/hid/amd-sfh-hid/amd_sfh_client.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/8c6ad37e5882073cab84901a31da9cb22f316276 https://git.kernel.org/stable/c/4cd9c5a0fcadc39a05c978a01e15e0d1edc4be93 https://git.kernel.org/stable/c/1c3b4c90479aa0375ec98fe1a802993ff96a5f47 https://git.kernel.org/stable/c/9dfee956f53eea96d93ef1e13ab4ce020f4c58b3 https://git.kernel.org/stable/c/c56f9ecb7fb6a3a90079c19eb4c8daf3bbf514b3