CVE-2026-31443: dmaengine: idxd: Fix crash when the event log is disabled
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
dmaengine: idxd: Fix crash when the event log is disabled
If reporting errors to the event log is not supported by the hardware, and an error that causes Function Level Reset (FLR) is received, the driver will try to restore the event log even if it was not allocated.
Also, only try to free the event log if it was properly allocated.
The Linux kernel CVE team has assigned CVE-2026-31443 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.14 with commit 6078a315aec15e0776fa90347cf4eba7478cdbd7 and fixed in 6.18.21 with commit aa0ffc6d3990ec35976308a068dc23178037e564 Issue introduced in 6.14 with commit 6078a315aec15e0776fa90347cf4eba7478cdbd7 and fixed in 6.19.11 with commit 0e761079d653c25f838380cf7cef2730832110cc Issue introduced in 6.14 with commit 6078a315aec15e0776fa90347cf4eba7478cdbd7 and fixed in 7.0 with commit 52d2edea0d63c935e82631e4b9e4a94eccf97b5b
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-31443
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
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/aa0ffc6d3990ec35976308a068dc23178037e564 https://git.kernel.org/stable/c/0e761079d653c25f838380cf7cef2730832110cc https://git.kernel.org/stable/c/52d2edea0d63c935e82631e4b9e4a94eccf97b5b