What’s Vulnerable › Vulnerabilities

CVE-2021-47003: dmaengine: idxd: Fix potential null dereference on pointer status

Description

In the Linux kernel, the following vulnerability has been resolved: dmaengine: idxd: Fix potential null dereference on pointer status There are calls to idxd_cmd_exec that pass a null status pointer however a recent commit has added an assignment to *status that can end up with a null pointer dereference. The function expects a null status pointer sometimes as there is a later assignment to *status where status is first null checked. Fix the issue by null checking status before making the assignment. Addresses-Coverity: ("Explicit null dereferenced")

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.38, 5.11.22, 5.12.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-47003 or the next vulnerability affects your stack