CVEvulnerability
CVE-2021-47003
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-02-28
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-476
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 configurations
• linux linux kernel (>= 5.10.17 < 5.10.38)
• linux linux kernel (>= 5.11 < 5.11.22)
• linux linux kernel (>= 5.12 < 5.12.5)
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/2280b4cc29d8cdd2be3d1b2d1ea4f958e2131c97 Patch
- https://git.kernel.org/stable/c/28ac8e03c43dfc6a703aa420d18222540b801120 Patch
- https://git.kernel.org/stable/c/5756f757c72501ef1a16f5f63f940623044180e9 Patch
- https://git.kernel.org/stable/c/7bc402f843e7817a4a808e7b9ab0bcd7ffd55bfa Patch
- https://git.kernel.org/stable/c/2280b4cc29d8cdd2be3d1b2d1ea4f958e2131c97 Patch
- https://git.kernel.org/stable/c/28ac8e03c43dfc6a703aa420d18222540b801120 Patch
- https://git.kernel.org/stable/c/5756f757c72501ef1a16f5f63f940623044180e9 Patch
- https://git.kernel.org/stable/c/7bc402f843e7817a4a808e7b9ab0bcd7ffd55bfa Patch