CVE-2022-49122

dm ioctl: prevent potential spectre v1 gadget

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 01:55 AM UTC
Updated: June 17, 2026 at 05:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.9.3112.6.12 ≤ v < 4.14.2762.6.12 ≤ v < 4.19.2382.6.12 ≤ v < 4.9.3112.6.12 ≤ v < 5.10.1112.6.12 ≤ v < 5.15.342.6.12 ≤ v < 5.16.202.6.12 ≤ v < 5.17.32.6.12 ≤ v < 5.182.6.12 ≤ v < 5.4.1894.10 ≤ v < 4.14.2764.15 ≤ v < 4.19.2384.20 ≤ v < 5.4.1895.11 ≤ v < 5.15.345.16 ≤ v < 5.16.205.17 ≤ v < 5.17.35.5 ≤ v < 5.10.1111da177e4c3f41524e886b7f1b8a0c1fc7321cac22.6.12
Vendor states this is fixed in 02cc46f397eb3691c56affbd5073e54f7a82ac32 (fixed)
Vendor states this is fixed in 0320bac5801b31407200227173205d017488f140 (fixed)
Vendor states this is fixed in 44e6cb3ab177faae840bb2c1ebda9a2539876184 (fixed)
Vendor states this is fixed in 58880025e3362024f6d8ea01cb0c7a5df6c84ba6 (fixed)
Vendor states this is fixed in 71c8df33fd777c7628f6fbc09b14e84806c55914 (fixed)
Vendor states this is fixed in 76c94651005f58885facf9c973007f5ea01ab01f (fixed)
Vendor states this is fixed in 7ae2c5b89da3cfaf856df880af27d3bb32a74b3d (fixed)
Vendor states this is fixed in cd9c88da171a62c4b0f1c70e50c75845969fbc18 (fixed)
Vendor states this is fixed in dd86064417de828ff2102ddc6049c829bf7585b4 (fixed)
Vendor states this is fixed in 2.6.12 (unaffected)
Vendor states this is fixed in 4.14.276 (unaffected)
Vendor states this is fixed in 4.19.238 (unaffected)
Vendor states this is fixed in 4.9.311 (unaffected)
Vendor states this is fixed in 5.10.111 (unaffected)
Vendor states this is fixed in 5.15.34 (unaffected)
Vendor states this is fixed in 5.16.20 (unaffected)
Vendor states this is fixed in 5.17.3 (unaffected)
Vendor states this is fixed in 5.18 (unaffected)
Vendor states this is fixed in 5.4.189 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/02cc46f397eb3691c56affbd5073e54f7a82ac32
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0320bac5801b31407200227173205d017488f140
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/44e6cb3ab177faae840bb2c1ebda9a2539876184
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/58880025e3362024f6d8ea01cb0c7a5df6c84ba6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/71c8df33fd777c7628f6fbc09b14e84806c55914
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/76c94651005f58885facf9c973007f5ea01ab01f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7ae2c5b89da3cfaf856df880af27d3bb32a74b3d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cd9c88da171a62c4b0f1c70e50c75845969fbc18

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card