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 9ADD02853EB for ; Wed, 18 Jun 2025 09:30:07 +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=1750239007; cv=none; b=GLoNg4wmMnbZeqB0VSIpDxFquy97GDnhSF2PH5SQZ9iu6/mwD2D1nQOQgPeIyYZCDoYTww+Dg6vW3Bk424WII76a6G3PSLWDZ/L5BpzBAyOEwj4B5/NkBvDkIbhA0Xcr+HTH7qmvjr7dZFegybmWzg4BPpIn07jbW/Dbd5e9mTE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750239007; c=relaxed/simple; bh=Cx7tnZ3ElZnjZNuMgsE99ncv02eo7rFWUAQOe+NlQag=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hgHXCj7vGKToFnm97fKIfL8LAe5ONaUDDL50T+1/3JxqvjJ3VBvFwGXDF1QomAO5EfPCsCU267sz7VEEJZmfxg4yBTE3/0nrJ5BHXrGIqdAmFAVGGFagvC94KdZdly+V3mvrndvEXj4s9QdKyHzseDq1rnxX9fSKQrh26euyREo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BAKiHdiY; 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="BAKiHdiY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C05F2C4CEF0; Wed, 18 Jun 2025 09:30:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750239007; bh=Cx7tnZ3ElZnjZNuMgsE99ncv02eo7rFWUAQOe+NlQag=; h=From:To:Cc:Subject:Date:Reply-to:From; b=BAKiHdiYPiVw9Yu70qDp9Bf+C/OjLnVTLDBq9yM098hNUYj80IKPbZKzs9iOYC8wY hx6jDRul4dXvhPmVWUiWXOCQuEJ4WoPC/XkgADS8PqL3mysLeVKP2iXwQ5UIurir4w 58NbD6Xyte1/CpnY8AfXLvKUkprq5YS0YkcscPf0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38014: dmaengine: idxd: Refactor remove call with idxd_cleanup() helper Date: Wed, 18 Jun 2025 11:28:48 +0200 Message-ID: <2025061843-CVE-2025-38014-960d@gregkh> X-Mailer: git-send-email 2.49.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=2465; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Yf7SiyT8LwH5bHHMRJsAczfEoz1cGcFk6TYBMHfsz/c=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlBbWfe+xjmsK+b+mW98+G2rOM+kRbBijOmsU3MLTmo6 pDQLyDaEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPZp8Uw3y/Nvcj1GksTS/Ox kBhRXhdXV25dhrnyBi8S6wL4DK81rbu/h9uzWkwo/woA 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: dmaengine: idxd: Refactor remove call with idxd_cleanup() helper The idxd_cleanup() helper cleans up perfmon, interrupts, internals and so on. Refactor remove call with the idxd_cleanup() helper to avoid code duplication. Note, this also fixes the missing put_device() for idxd groups, enginces and wqs. The Linux kernel CVE team has assigned CVE-2025-38014 to this issue. Affected and fixed versions =========================== Issue introduced in 5.6 with commit bfe1d56091c1a404b3d4ce7e9809d745fc4453bb and fixed in 6.6.92 with commit d530dd65f6f3c04bbf141702ecccd70170ed04ad Issue introduced in 5.6 with commit bfe1d56091c1a404b3d4ce7e9809d745fc4453bb and fixed in 6.12.30 with commit 23dc14c52d84b02b39d816bf16a754c0e7d48f9c Issue introduced in 5.6 with commit bfe1d56091c1a404b3d4ce7e9809d745fc4453bb and fixed in 6.14.8 with commit a7bd00f7e9bd075f3e4fbcc608d8ea445aed8692 Issue introduced in 5.6 with commit bfe1d56091c1a404b3d4ce7e9809d745fc4453bb and fixed in 6.15 with commit a409e919ca321cc0e28f8abf96fde299f0072a81 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-2025-38014 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/dma/idxd/init.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/d530dd65f6f3c04bbf141702ecccd70170ed04ad https://git.kernel.org/stable/c/23dc14c52d84b02b39d816bf16a754c0e7d48f9c https://git.kernel.org/stable/c/a7bd00f7e9bd075f3e4fbcc608d8ea445aed8692 https://git.kernel.org/stable/c/a409e919ca321cc0e28f8abf96fde299f0072a81