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 1FE403C0628 for ; Wed, 22 Apr 2026 13:55:06 +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=1776866106; cv=none; b=iB14f4McR/22+p5/a8w1TgIUfpM4bGlcImaDiBRaZVR93QzTStoO4s/NyfIEG8+mdtild7pgmKNqBz2af1AAkipDYWb/fSKoHBV92d4RpWzgPuAFKYbO+GhH6lS9h7Y7ATvP+a8789a3EKRWrNI0DNfk7wxFIRMgpo5/9r8Arho= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776866106; c=relaxed/simple; bh=vjnv1M9pxPDfJW6xRdJbGl1Qf0npqKy7v8FlEd1sLPU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NRB3Q/dbwV9ArLAppEyGaAVJqsxONbuFn6Kx5IiN8MQHiN0WT58GUO4REeJTaheZgu/iALnDxnLEbJTQdPYQr6+oCjYIMR/hegqcdAHqw+RWGcfU3Dg/PvLX0UuILSkUnMtaT5McJFBn+Wsr9pXxkPnefjmt/WUi981sh7VO8QA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0S1O0gUg; 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="0S1O0gUg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 267F1C19425; Wed, 22 Apr 2026 13:55:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1776866105; bh=vjnv1M9pxPDfJW6xRdJbGl1Qf0npqKy7v8FlEd1sLPU=; h=From:To:Cc:Subject:Date:Reply-To:From; b=0S1O0gUg36PCJo/tkkkpyQC7I3j5OwPbtLtMvIJ/9nz2lUQ6rgcutdu1dnASQDPWF A9uUF99v/YdyTqFQTQqPsuW4Ho9y5vI9h4B5vQ/1ev0LX6ZPJfjBg/BTAMgHDDXQRz Gazgc6lygRJ8gbEs++pN3W5vk7DZ7Boie1Qew/YY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31441: dmaengine: idxd: Fix memory leak when a wq is reset Date: Wed, 22 Apr 2026 15:53:47 +0200 Message-ID: <2026042244-CVE-2026-31441-eb92@gregkh> X-Mailer: git-send-email 2.54.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=3021; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=fvFZ7rEmiT4Z24jHtQ3GOL6lpJtkn0tG1Ch1wGxoduE=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkvLr34dnBSxMn4W/ICEs+vR5bN/6tcHLAxVuty70cGg 7MdGzJ+d8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBErpQzzHcOKPh8t/xVkbLz 1+7N56cLGuytUWaYn3vN+9uXLUYnDB399+43UFkpuTKPFQA= 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: Fix memory leak when a wq is reset idxd_wq_disable_cleanup() which is called from the reset path for a workqueue, sets the wq type to NONE, which for other parts of the driver mean that the wq is empty (all its resources were released). Only set the wq type to NONE after its resources are released. The Linux kernel CVE team has assigned CVE-2026-31441 to this issue. Affected and fixed versions =========================== Issue introduced in 5.8 with commit da32b28c95a79e399e18c03f8178f41aec9c66e4 and fixed in 6.1.168 with commit a16098a2f0c11ee5e04e23aa7478ca1fcfb0f658 Issue introduced in 5.8 with commit da32b28c95a79e399e18c03f8178f41aec9c66e4 and fixed in 6.6.131 with commit 54d77cc0c40ca2f894859dc7b3c52997574f1a2a Issue introduced in 5.8 with commit da32b28c95a79e399e18c03f8178f41aec9c66e4 and fixed in 6.12.80 with commit 39c1504e0e76bcfb93991fd94288a83e05d13b51 Issue introduced in 5.8 with commit da32b28c95a79e399e18c03f8178f41aec9c66e4 and fixed in 6.18.21 with commit a9e7815d38629bcf59d3005001f1f315424a58de Issue introduced in 5.8 with commit da32b28c95a79e399e18c03f8178f41aec9c66e4 and fixed in 6.19.11 with commit 0c3d3ac57e3c52b570b8c695903306bff07e04c8 Issue introduced in 5.8 with commit da32b28c95a79e399e18c03f8178f41aec9c66e4 and fixed in 7.0 with commit d9cfb5193a047a92a4d3c0e91ea4cc87c8f7c478 Issue introduced in 5.7.10 with commit 2a2df2bd10de44c3804661ed15157817c12d6291 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-2026-31441 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/device.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/a16098a2f0c11ee5e04e23aa7478ca1fcfb0f658 https://git.kernel.org/stable/c/54d77cc0c40ca2f894859dc7b3c52997574f1a2a https://git.kernel.org/stable/c/39c1504e0e76bcfb93991fd94288a83e05d13b51 https://git.kernel.org/stable/c/a9e7815d38629bcf59d3005001f1f315424a58de https://git.kernel.org/stable/c/0c3d3ac57e3c52b570b8c695903306bff07e04c8 https://git.kernel.org/stable/c/d9cfb5193a047a92a4d3c0e91ea4cc87c8f7c478