CVE-2022-49122
MEDIUM 5.5CVSS 3.1In 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.
- Published
- 26 Feb 2025
- Last modified
- 17 Jun 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Analyzed
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
< 4.9.311 | 4.9.311 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.10, < 4.14.276 | 4.14.276 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.15, < 4.19.238 | 4.19.238 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.20, < 5.4.189 | 5.4.189 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.5, < 5.10.111 | 5.10.111 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.11, < 5.15.34 | 5.15.34 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.16, < 5.16.20 | 5.16.20 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.17, < 5.17.3 | 5.17.3 |
References
- https://git.kernel.org/stable/c/02cc46f397eb3691c56affbd5073e54f7a82ac32 · Patch
- https://git.kernel.org/stable/c/0320bac5801b31407200227173205d017488f140 · Patch
- https://git.kernel.org/stable/c/44e6cb3ab177faae840bb2c1ebda9a2539876184 · Patch
- https://git.kernel.org/stable/c/58880025e3362024f6d8ea01cb0c7a5df6c84ba6 · Patch
- https://git.kernel.org/stable/c/71c8df33fd777c7628f6fbc09b14e84806c55914 · Patch
- https://git.kernel.org/stable/c/76c94651005f58885facf9c973007f5ea01ab01f · Patch
- https://git.kernel.org/stable/c/7ae2c5b89da3cfaf856df880af27d3bb32a74b3d · Patch
- https://git.kernel.org/stable/c/cd9c88da171a62c4b0f1c70e50c75845969fbc18 · Patch
- https://git.kernel.org/stable/c/dd86064417de828ff2102ddc6049c829bf7585b4 · Patch
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 26 Feb 2025)