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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-02-28T08:13:24.712Z
- Modified: 2026-06-17T04:16:08.757Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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")

(As written by CVE List.)

## Affected

- Linux Linux: from 40e3b5c128645d2ddad12310c7be98758cafb2b0 before 5756f757c72501ef1a16f5f63f940623044180e9; from 89e3becd8f821e507052e012d2559dcda59f538e before 2280b4cc29d8cdd2be3d1b2d1ea4f958e2131c97; from 89e3becd8f821e507052e012d2559dcda59f538e before 7bc402f843e7817a4a808e7b9ab0bcd7ffd55bfa; from 89e3becd8f821e507052e012d2559dcda59f538e before 28ac8e03c43dfc6a703aa420d18222540b801120; from 5.10.17 before 5.10.38; 5.11 (not affected: before 5.11; from 5.10.38 up to 5.10.*; from 5.11.22 up to 5.11.*; from 5.12.5 up to 5.12.*; from 5.13 up to *)
- linux linux_kernel: from 5.10.17 before 5.10.38; from 5.11 before 5.11.22; from 5.12 before 5.12.5

## References

- <https://git.kernel.org/stable/c/5756f757c72501ef1a16f5f63f940623044180e9> (patch)
- <https://git.kernel.org/stable/c/2280b4cc29d8cdd2be3d1b2d1ea4f958e2131c97> (patch)
- <https://git.kernel.org/stable/c/7bc402f843e7817a4a808e7b9ab0bcd7ffd55bfa> (patch)
- <https://git.kernel.org/stable/c/28ac8e03c43dfc6a703aa420d18222540b801120> (patch)

## Sources

- CVE List: [CVE-2021-47003](https://www.cve.org/CVERecord?id=CVE-2021-47003), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2021-47003](https://nvd.nist.gov/vuln/detail/CVE-2021-47003), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47003 · Whole record: https://cve.day/CVE-2021-47003.json · Rebuilt by cve.day 2026-11-25T22:58:08.610Z
