CVE-2021-47003
dmaengine: idxd: Fix potential null dereference on pointer status
Check your servers for CVE-2021-47003
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2021-47003 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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")
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.5% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 28 Feb 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 40e3b5c128645d2ddad12310c7be98758cafb2b0, before 5756f757c72501ef1a16f5f63f940623044180e9 affected from 89e3becd8f821e507052e012d2559dcda59f538e, before 2280b4cc29d8cdd2be3d1b2d1ea4f958e2131c97 affected from 89e3becd8f821e507052e012d2559dcda59f538e, before 7bc402f843e7817a4a808e7b9ab0bcd7ffd55bfa affected from 89e3becd8f821e507052e012d2559dcda59f538e, before 28ac8e03c43dfc6a703aa420d18222540b801120 affected from 5.10.17, before 5.10.38
Other versions: unaffected
|
| Linux |
affected 5.11 unaffected before 5.11 unaffected from 5.10.38 up to and including 5.10.* unaffected from 5.11.22 up to and including 5.11.* unaffected from 5.12.5 up to and including 5.12.* unaffected 5.13 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2021-47003 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-47003
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2021-47003
trivy image --scanners vuln IMAGE | grep CVE-2021-47003
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/5756f757c72501ef1a16f5f63f940623044180e9 git.kernel.org
- https://git.kernel.org/stable/c/2280b4cc29d8cdd2be3d1b2d1ea4f958e2131c97 git.kernel.org
- https://git.kernel.org/stable/c/7bc402f843e7817a4a808e7b9ab0bcd7ffd55bfa git.kernel.org
- https://git.kernel.org/stable/c/28ac8e03c43dfc6a703aa420d18222540b801120 git.kernel.org
Source: the record CVE-2021-47003 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse