CVE-2022-49122
published 2025-02-26CVE-2022-49122: 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…
PriorityP421medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.31%
23.0th percentile
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
23 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.17.3-1 (bookworm) | linux 5.17.3-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 76c94651005f58885facf9c973007f5ea01ab01f | 76c94651005f58885facf9c973007f5ea01ab01f |
| linux | linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 58880025e3362024f6d8ea01cb0c7a5df6c84ba6 | 58880025e3362024f6d8ea01cb0c7a5df6c84ba6 |
| linux | linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 7ae2c5b89da3cfaf856df880af27d3bb32a74b3d | 7ae2c5b89da3cfaf856df880af27d3bb32a74b3d |
| linux | linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 0320bac5801b31407200227173205d017488f140 | 0320bac5801b31407200227173205d017488f140 |
| linux | linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 71c8df33fd777c7628f6fbc09b14e84806c55914 | 71c8df33fd777c7628f6fbc09b14e84806c55914 |
| linux | linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 02cc46f397eb3691c56affbd5073e54f7a82ac32 | 02cc46f397eb3691c56affbd5073e54f7a82ac32 |
| linux | linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 44e6cb3ab177faae840bb2c1ebda9a2539876184 | 44e6cb3ab177faae840bb2c1ebda9a2539876184 |
| linux | linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < dd86064417de828ff2102ddc6049c829bf7585b4 | dd86064417de828ff2102ddc6049c829bf7585b4 |
| linux | linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < cd9c88da171a62c4b0f1c70e50c75845969fbc18 | cd9c88da171a62c4b0f1c70e50c75845969fbc18 |
| linux | linux_kernel | < 4.9.311 | 4.9.311 |
| linux | linux_kernel | >= 0 < 5.10.113-1 | 5.10.113-1 |
| linux | linux_kernel | >= 0 < 5.17.3-1 | 5.17.3-1 |
| linux | linux_kernel | >= 0 < 5.17.3-1 | 5.17.3-1 |
| linux | linux_kernel | >= 0 < 5.17.3-1 | 5.17.3-1 |
| linux | linux_kernel | >= 4.10 < 4.14.276 | 4.14.276 |
| linux | linux_kernel | >= 4.15 < 4.19.238 | 4.19.238 |
| linux | linux_kernel | >= 4.20 < 5.4.189 | 5.4.189 |
| linux | linux_kernel | >= 5.11 < 5.15.34 | 5.15.34 |
| linux | linux_kernel | >= 5.16 < 5.16.20 | 5.16.20 |
| linux | linux_kernel | >= 5.17 < 5.17.3 | 5.17.3 |
| linux | linux_kernel | >= 5.5 < 5.10.111 | 5.10.111 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: dm ioctl: prevent potential spectre v1 gadget
vendor_redhat·2025-02-26·CVSS 5.5
CVE-2022-49122 [MEDIUM] kernel: dm ioctl: prevent potential spectre v1 gadget
kernel: dm ioctl: prevent potential spectre v1 gadget
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.
A vulnerability was found in the Linux kernel's `dm-ioctl` interface in the `lookup_ioctl()` function, which accepts a user-provided `cmd` value that is used to index the `_ioctls` array directly. This issue could lead to an out-of-bounds access if the CPU speculatively executes the array access before `cmd` is confirmed as valid, allowing an attacker to exploit a Spectre v1 gadget attack.
Statemen
Debian
CVE-2022-49122: linux - In the Linux kernel, the following vulnerability has been resolved: dm ioctl: p...
vendor_debian·2022·CVSS 5.5
CVE-2022-49122 [MEDIUM] CVE-2022-49122: linux - In the Linux kernel, the following vulnerability has been resolved: dm ioctl: p...
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.
Scope: local
bookworm: resolved (fixed in 5.17.3-1)
bullseye: resolved (fixed in 5.10.113-1)
forky: resolved (fixed in 5.17.3-1)
sid: resolved (fixed in 5.17.3-1)
trixie: resolved (fixed in 5.17.3-1)
GHSA
GHSA-qrrx-c987-2pv5: In the Linux kernel, the following vulnerability has been resolved:
dm ioctl: prevent potential spectre v1 gadget
It appears like cmd could be a Spe
ghsa_unreviewed·2025-10-14
CVE-2022-49122 [MEDIUM] GHSA-qrrx-c987-2pv5: In the Linux kernel, the following vulnerability has been resolved:
dm ioctl: prevent potential spectre v1 gadget
It appears like cmd could be a Spe
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.
OSV
CVE-2022-49122: In the Linux kernel, the following vulnerability has been resolved: dm ioctl: prevent potential spectre v1 gadget It appears like cmd could be a Spect
osv·2025-02-26·CVSS 5.5
CVE-2022-49122 [MEDIUM] CVE-2022-49122: In the Linux kernel, the following vulnerability has been resolved: dm ioctl: prevent potential spectre v1 gadget It appears like cmd could be a Spect
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://git.kernel.org/stable/c/02cc46f397eb3691c56affbd5073e54f7a82ac32https://git.kernel.org/stable/c/0320bac5801b31407200227173205d017488f140https://git.kernel.org/stable/c/44e6cb3ab177faae840bb2c1ebda9a2539876184https://git.kernel.org/stable/c/58880025e3362024f6d8ea01cb0c7a5df6c84ba6https://git.kernel.org/stable/c/71c8df33fd777c7628f6fbc09b14e84806c55914https://git.kernel.org/stable/c/76c94651005f58885facf9c973007f5ea01ab01fhttps://git.kernel.org/stable/c/7ae2c5b89da3cfaf856df880af27d3bb32a74b3dhttps://git.kernel.org/stable/c/cd9c88da171a62c4b0f1c70e50c75845969fbc18https://git.kernel.org/stable/c/dd86064417de828ff2102ddc6049c829bf7585b4
2025-02-26
Published