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 379B53C0613 for ; Wed, 22 Apr 2026 13:54:52 +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=1776866093; cv=none; b=b5u2g76VYNeK0NmUr4UYEohlETqxL4SGagYPdQkQq/dgvIwHieiQhRA4A0gfIzyU8h3cKdURxBdSqd0xRwMFUVfP+3w7GA5haWkTQx8U0TNe8tCzXlsdFx6tPLwesEpVd+3y0wRPpIlqVLK6YNUwwwUTCWRuD1ZUYnRmji+r0wU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776866093; c=relaxed/simple; bh=ahB2OVtWNz0xG1eAsX8Qj29udFvSyHTgtANF27PyFCQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CGS2X2fOWMIvHoW7UrdFFYsfSUSTod9SrMZXmqERD1y5/AA6qDBxguzbNR0FOet3n2PaJuVxVZCvvqMvkiDvjI82GdSR+APjM0IZhQkjaVJONugKP6NxMtrpHkYC8pBKM6AdYwG+uZ72VxWxO2Wssdfz6sNCkJQOUY0QFgxpLHQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Qm9iiT8e; 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="Qm9iiT8e" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EC7C4C19425; Wed, 22 Apr 2026 13:54:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1776866092; bh=ahB2OVtWNz0xG1eAsX8Qj29udFvSyHTgtANF27PyFCQ=; h=From:To:Cc:Subject:Date:Reply-To:From; b=Qm9iiT8exekmh21C+whIHAzf829nm6xG7D/FiBAPL/nU2qlrEWsEy7YNzUnZEQjIf wy+x5/dxSK5EO0e2zJmiJJfpw741a84iEqyt8B6mR1v7l364xKitWP8UxmXuOQIMAK iErah4XL4YFQr3zer74Oi8t3oUDUfh6W3I7G7QYM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31436: dmaengine: idxd: fix possible wrong descriptor completion in llist_abort_desc() Date: Wed, 22 Apr 2026 15:53:42 +0200 Message-ID: <2026042242-CVE-2026-31436-7ac7@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=2537; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=VbUUMra1yO2x2A9VBNtjaUslK4T0MfH6sFkFLfdgDAo=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkvLj1frue0ROn/g5Tbvz8q1x/2vb0njFU6+Xl4o2jJv tM5Ynded8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEGCYzzK9SPZOx7FpFV+K8 2YxPMuKviy7i4mGYp/JSfsmSZsPD1xulkmTiUnnnTjzJCwA= 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 possible wrong descriptor completion in llist_abort_desc() At the end of this function, d is the traversal cursor of flist, but the code completes found instead. This can lead to issues such as NULL pointer dereferences, double completion, or descriptor leaks. Fix this by completing d instead of found in the final list_for_each_entry_safe() loop. The Linux kernel CVE team has assigned CVE-2026-31436 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit aa8d18becc0c14aa3eb46d6d1b81450446e11b87 and fixed in 6.12.80 with commit e21da2ad8844585040fe4b82be1ad2fe99d40074 Issue introduced in 6.8 with commit aa8d18becc0c14aa3eb46d6d1b81450446e11b87 and fixed in 6.18.21 with commit 82656e8daf8de00935ae91b91bed43f4d6e0d644 Issue introduced in 6.8 with commit aa8d18becc0c14aa3eb46d6d1b81450446e11b87 and fixed in 6.19.11 with commit 0e4f43779d550e559be13a5cdb763bad92c4cc99 Issue introduced in 6.8 with commit aa8d18becc0c14aa3eb46d6d1b81450446e11b87 and fixed in 7.0 with commit e1c9866173c5f8521f2d0768547a01508cb9ff27 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-31436 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/submit.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/e21da2ad8844585040fe4b82be1ad2fe99d40074 https://git.kernel.org/stable/c/82656e8daf8de00935ae91b91bed43f4d6e0d644 https://git.kernel.org/stable/c/0e4f43779d550e559be13a5cdb763bad92c4cc99 https://git.kernel.org/stable/c/e1c9866173c5f8521f2d0768547a01508cb9ff27