CVE-2022-49122

dm ioctl: prevent potential spectre v1 gadget

State
Published
Severity
Not scored
Published
Feb 26, 2025
Updated
May 11, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 76c94651005f58885facf9c973007f5ea01ab01fAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 58880025e3362024f6d8ea01cb0c7a5df6c84ba6Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 7ae2c5b89da3cfaf856df880af27d3bb32a74b3dAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 0320bac5801b31407200227173205d017488f140Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 71c8df33fd777c7628f6fbc09b14e84806c55914Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 02cc46f397eb3691c56affbd5073e54f7a82ac32Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 44e6cb3ab177faae840bb2c1ebda9a2539876184Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before dd86064417de828ff2102ddc6049c829bf7585b4Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before cd9c88da171a62c4b0f1c70e50c75845969fbc18Affected
LinuxLinux
  • 2.6.12Affected
  • before 2.6.12Not affected
  • 4.9.311 through 4.9.*Not affected
  • 4.14.276 through 4.14.*Not affected
  • 4.19.238 through 4.19.*Not affected
  • 5.4.189 through 5.4.*Not affected
  • 5.10.111 through 5.10.*Not affected
  • 5.15.34 through 5.15.*Not affected
  • 5.16.20 through 5.16.*Not affected
  • 5.17.3 through 5.17.*Not affected
  • 5.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.