5.5medium
dm ioctl: prevent potential spectre v1 gadget
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.31% (higher than 25% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: dm ioctl: prevent potential spectre v1 gadget It appears like cmd could be a Spectre v1 gadget as it's supplied by a user and used as an array index. Prevent the contents of kernel memory from being leaked to userspace via speculative execution by using array_index_nospec.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 76c94651005f58885facf9c973007f5ea01ab01f, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 58880025e3362024f6d8ea01cb0c7a5df6c84ba6, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7ae2c5b89da3cfaf856df880af27d3bb32a74b3d, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 0320bac5801b31407200227173205d017488f140, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 71c8df33fd777c7628f6fbc09b14e84806c55914, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 02cc46f397eb3691c56affbd5073e54f7a82ac32, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 44e6cb3ab177faae840bb2c1ebda9a2539876184, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before dd86064417de828ff2102ddc6049c829bf7585b4 and 2 more Not affected: before 2.6.12, from 4.9.311 up to 4.9.*, from 4.14.276 up to 4.14.*, from 4.19.238 up to 4.19.*, from 5.4.189 up to 5.4.*, from 5.10.111 up to 5.10.* | CVE List |
| linux linux_kernel | before 4.9.311, from 4.10 before 4.14.276, from 4.15 before 4.19.238, from 4.20 before 5.4.189, from 5.5 before 5.10.111, from 5.11 before 5.15.34, from 5.16 before 5.16.20, from 5.17 before 5.17.3 | NVD |
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: dm ioctl: prevent potential spectre v1 gadget It appears like cmd could be a Spectre v1 gadget as it's supplied by a user and used as an array index. Prevent the contents of kernel memory from being leaked to userspace via speculative execution by using array_index_nospec.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: dm ioctl: evitar un posible gadget de Spectre v1 Parece que cmd podría ser un gadget de Spectre v1, ya que lo proporciona un usuario y lo utiliza como índice de matriz. Evite que el contenido de la memoria del kernel se filtre al espacio de usuario mediante una ejecución especulativa utilizando array_index_nospec.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-49122 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2022-49122 changed 2026-06-17 | Public domain |