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 42E14391512 for ; Wed, 22 Apr 2026 13:55:08 +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=1776866108; cv=none; b=KaqvuUq1BeioGmrunqxtXQ2Q/qZRiOEl4uQVROXY75x/omk8J3fj7vHGXOun8qpr6mxkic14EcG03DzFSgZ/M0okWrVZBFh03wdu6jGeq1rFEdTGlGdCiHBj4ZX4BbbZopAQnEP+/PKWpuOSrHT23MV1BcdT/V6aZvwTTSpHApY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776866108; c=relaxed/simple; bh=etxO/+LNXgLlJyh9x2ygbRAQTOLP7rEwSdr64bzy/GQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dKKL4f/xse6nET4Af6jeU09Ni9Bbz9p3fqrtKdIHMNYyZf8rvQgePLg5SaTgywZ1aM6hKGA9LrCTF52t3yYk3PRHHHMNzOO/0sFmBj+pQ7siIfXOEk6nwEw/+tQV0/meDKIqzrO9dguGWr/GaDrCrhuC1BzAZoVtCb+rBiXweKE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=C8NRNZ+M; 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="C8NRNZ+M" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B5E59C2BCAF; Wed, 22 Apr 2026 13:55:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1776866108; bh=etxO/+LNXgLlJyh9x2ygbRAQTOLP7rEwSdr64bzy/GQ=; h=From:To:Cc:Subject:Date:Reply-To:From; b=C8NRNZ+MjkkL1/amYpBSb3/FzeYpS1oLtKl9su39vh6Azb/ko2F0vcovZhTvdaayV U67NC54tWswTwQNYN0YyvROVciTBaoj47ssNMFsjWOgTPvy82Bx/ryxqKyTkQcSSDE VyK+9T31Dbx53GsjGcZg83/epl3YcTLMuNV2seOo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31442: dmaengine: idxd: Fix possible invalid memory access after FLR Date: Wed, 22 Apr 2026 15:53:48 +0200 Message-ID: <2026042244-CVE-2026-31442-dece@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=2287; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=7o85mH/VMAqyLum3HVnn6MI7ErL5YlwRGKo0U2H1/3o=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkvLr3kn9zzccOxanbt+7fU6qz5b3DMMbOOWypfPKv3Y PtWN972jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI3zyGBXu3f3nkMFnlSf6H 0HUTD3EK/X5ctodhfpaWj5zDtcWXl9fmnHWQDgpYm5+0EwA= 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 invalid memory access after FLR In the case that the first Function Level Reset (FLR) concludes correctly, but in the second FLR the scratch area for the saved configuration cannot be allocated, it's possible for a invalid memory access to happen. Always set the deallocated scratch area to NULL after FLR completes. The Linux kernel CVE team has assigned CVE-2026-31442 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit 98d187a989036096feaa2fef1ec3b2240ecdeacf and fixed in 6.18.21 with commit 504c0e6751001ac46917c73e703f2b1b92cfc026 Issue introduced in 6.14 with commit 98d187a989036096feaa2fef1ec3b2240ecdeacf and fixed in 6.19.11 with commit 867d0c801f21370d561420fa32f2ea1a7dc3a22d Issue introduced in 6.14 with commit 98d187a989036096feaa2fef1ec3b2240ecdeacf and fixed in 7.0 with commit d6077df7b75d26e4edf98983836c05d00ebabd8d 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-31442 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/504c0e6751001ac46917c73e703f2b1b92cfc026 https://git.kernel.org/stable/c/867d0c801f21370d561420fa32f2ea1a7dc3a22d https://git.kernel.org/stable/c/d6077df7b75d26e4edf98983836c05d00ebabd8d