5.5medium
dmaengine: idxd: Fix potential null dereference on pointer status
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.24% (higher than 15% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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")
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| 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 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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")
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: dmaengine: idxd: corrige una posible desreferencia nula en el estado del puntero. Hay llamadas a idxd_cmd_exec que pasan un puntero de estado nulo, sin embargo, una confirmación reciente agregó una asignación a *status que puede terminar con una desreferencia de puntero nulo. La función espera un puntero de estado nulo a veces, ya que hay una asignación posterior a *status donde el estado se verifica por primera vez como nulo. Solucione el problema verificando el estado nulo antes de realizar la asignación. Direcciones-Cobertura: ("Nulo explícito desreferenciado")
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47003 changed 2026-05-23 | CVE Terms of Use |
| NVD | CVE-2021-47003 changed 2026-06-17 | Public domain |