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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-02-28T08:13:24.712Z
- **Modified:** 2026-06-17T04:16:08.757Z

## Who should check

- Anyone running Linux \>= 40e3b5c128645d2ddad12310c7be98758cafb2b0, \< 5756f757c72501ef1a16f5f63f940623044180e9; \>= 89e3becd8f821e507052e012d2559dcda59f538e, \< 2280b4cc29d8cdd2be3d1b2d1ea4f958e2131c97; \>= 89e3becd8f821e507052e012d2559dcda59f538e, \< 7bc402f843e7817a4a808e7b9ab0bcd7ffd55bfa; \>= 89e3becd8f821e507052e012d2559dcda59f538e, \< 28ac8e03c43dfc6a703aa420d18222540b801120; \>= 5.10.17, \< 5.10.38
- Anyone running Linux 5.11

## 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 and fixed versions

- Linux: \>= 40e3b5c128645d2ddad12310c7be98758cafb2b0, \< 5756f757c72501ef1a16f5f63f940623044180e9; \>= 89e3becd8f821e507052e012d2559dcda59f538e, \< 2280b4cc29d8cdd2be3d1b2d1ea4f958e2131c97; \>= 89e3becd8f821e507052e012d2559dcda59f538e, \< 7bc402f843e7817a4a808e7b9ab0bcd7ffd55bfa; \>= 89e3becd8f821e507052e012d2559dcda59f538e, \< 28ac8e03c43dfc6a703aa420d18222540b801120; \>= 5.10.17, \< 5.10.38 (cvelist)
- Linux: 5.11 (cvelist)

## Mitigation

- Upgrade Linux to 5.10.38 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-47003. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-47003.md
Affected: Linux >= 40e3b5c128645d2ddad12310c7be98758cafb2b0, < 5756f757c72501ef1a16f5f63f940623044180e9; >= 89e3becd8f821e507052e012d2559dcda59f538e, < 2280b4cc29d8cdd2be3d1b2d1ea4f958e2131c97; >= 89e3becd8f821e507052e012d2559dcda59f538e, < 7bc402f843e7817a4a808e7b9ab0bcd7ffd55bfa; >= 89e3becd8f821e507052e01…
Fixed in: Linux 5756f757c72501ef1a16f5f63f940623044180e9, Linux 2280b4cc29d8cdd2be3d1b2d1ea4f958e2131c97, Linux 7bc402f843e7817a4a808e7b9ab0bcd7ffd55bfa, Linux 28ac8e03c43dfc6a703aa420d18222540b801120, Linux 5.10.38

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-47003 being exploited?

There is no confirmed exploitation: CVE-2021-47003 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-47003?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2021-47003?

Linux \>= 40e3b5c128645d2ddad12310c7be98758cafb2b0, \< 5756f757c72501ef1a16f5f63f940623044180e9; \>= 89e3becd8f821e507052e012d2559dcda59f538e, \< 2280b4cc29d8cdd2be3d1b2d1ea4f958e2131c97; \>= 89e3becd8f821e507052e012d2559dcda59f538e, \< 7bc402f843e7817a4a808e7b9ab0bcd7ffd55bfa; \>= 89e3becd8f821e507052e012d2559dcda59f538e, \< 28ac8e03c43dfc6a703aa420d18222540b801120; \>= 5.10.17, \< 5.10.38; Linux 5.11.

### Is there a fix for CVE-2021-47003?

Yes. Fixed in Linux 5756f757c72501ef1a16f5f63f940623044180e9, Linux 2280b4cc29d8cdd2be3d1b2d1ea4f958e2131c97, Linux 7bc402f843e7817a4a808e7b9ab0bcd7ffd55bfa, Linux 28ac8e03c43dfc6a703aa420d18222540b801120, Linux 5.10.38. Upgrade Linux to 5.10.38 or later.

### How do I check if I'm affected by CVE-2021-47003?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-47003>

HTML: <https://flawdb.com/CVE-2021-47003> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-47003>
