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 AC75228C035 for ; Wed, 22 Apr 2026 13:55:03 +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=1776866103; cv=none; b=Sycyo1x57mXvHA2GPNnHWyTS5l/UR58oLAoAzEeGidr53WiXm/b906Y17JieYaeTFycEM0OyNTUNQlnwrCrCjKX7zFGwyFXdRM42LmOcsUArKycczKJXrAPPD741wF8Ojkakgs4RubALJ3oe5bHuMKixOJIYUcKl0Ruy9FOm1Xw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776866103; c=relaxed/simple; bh=uGzG+/txP6acJgkYq6Kcf/Jsi+83DI/D2L/yUFnIIek=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BLPYem2kHLEnTBr1Z94CS2EOjckQTzZmoI3rShbohUmB08fyp+cnj4SBXsSTFpATp0jTZoW5ek5QNZO9ybvAtx3x0YJaFxy63VE8erem5rcIlVLW3lV9U5cLYrnO5llCrhu7g51bxriSMP1LvOE+G8n6NB+2CdCPOP+oNqHXfaU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=R3FjdfMH; 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="R3FjdfMH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 893C5C2BCAF; Wed, 22 Apr 2026 13:55:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1776866102; bh=uGzG+/txP6acJgkYq6Kcf/Jsi+83DI/D2L/yUFnIIek=; h=From:To:Cc:Subject:Date:Reply-To:From; b=R3FjdfMHd1Es52Lk6fZJMSa6iUPZt5ZUIOChmkJG44D9BT3ttrQJX3c3xdGGdzUlP RxoepJjFwFh2SkcwsAb8lmZVBnUrJegrzuBrz2scuMhcuxgQpthJgYhMmfeFvk3tJO x5n8iEUodVV8i76sawcqp6sKf0F5dIq2N2HVxmX8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31440: dmaengine: idxd: Fix leaking event log memory Date: Wed, 22 Apr 2026 15:53:46 +0200 Message-ID: <2026042244-CVE-2026-31440-78bd@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=2622; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=vQYDdIlcAMTwH+NyRvx5CREvCiarJivmNJEbLuNbchM=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkvLr2QkKov+qaT94fv372mv1xf2kwqv0y6whxS9FHxj N6mLMuAjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI9qMM8317Sr7lLWSz1L1/ qao3Kc+iRCX/K8OCI6a+N4/arp2YE5L09v+Rb2KCV4qfAQA= 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 leaking event log memory During the device remove process, the device is reset, causing the configuration registers to go back to their default state, which is zero. As the driver is checking if the event log support was enabled before deallocating, it will fail if a reset happened before. Do not check if the support was enabled, the check for 'idxd->evl' being valid (only allocated if the HW capability is available) is enough. The Linux kernel CVE team has assigned CVE-2026-31440 to this issue. Affected and fixed versions =========================== Issue introduced in 6.4 with commit 244da66cda359227d80ccb41dbcb99da40eae186 and fixed in 6.12.80 with commit d94f9b0ba28a205caf95902ee88b42bdb8af83d0 Issue introduced in 6.4 with commit 244da66cda359227d80ccb41dbcb99da40eae186 and fixed in 6.18.21 with commit facd0012708e942fc12890708738aebde497564e Issue introduced in 6.4 with commit 244da66cda359227d80ccb41dbcb99da40eae186 and fixed in 6.19.11 with commit 9dfa00967e6ef43a9dd0887fe5c3a721a39da92e Issue introduced in 6.4 with commit 244da66cda359227d80ccb41dbcb99da40eae186 and fixed in 7.0 with commit ee66bc29578391c9b48523dc9119af67bd5c7c0f 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-31440 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/d94f9b0ba28a205caf95902ee88b42bdb8af83d0 https://git.kernel.org/stable/c/facd0012708e942fc12890708738aebde497564e https://git.kernel.org/stable/c/9dfa00967e6ef43a9dd0887fe5c3a721a39da92e https://git.kernel.org/stable/c/ee66bc29578391c9b48523dc9119af67bd5c7c0f