CVE-2022-49122

published 26 Feb 2025 · updated 11 May 2026

dm ioctl: prevent potential spectre v1 gadget

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 02cc46f397eb3691c56affbd5073e54f7a82ac32, Kernel 0320bac5801b31407200227173205d017488f140, Kernel 44e6cb3ab177faae840bb2c1ebda9a2539876184 and 6 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=2.6.12, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <02cc46f397eb3691c56affbd5073e54f7a82ac32, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <0320bac5801b31407200227173205d017488f140, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <44e6cb3ab177faae840bb2c1ebda9a2539876184, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <58880025e3362024f6d8ea01cb0c7a5df6c84ba6, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <71c8df33fd777c7628f6fbc09b14e84806c55914, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <76c94651005f58885facf9c973007f5ea01ab01f, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <7ae2c5b89da3cfaf856df880af27d3bb32a74b3d, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <cd9c88da171a62c4b0f1c70e50c75845969fbc18, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <dd86064417de828ff2102ddc6049c829bf7585b402cc46f397eb3691c56affbd5073e54f7a82ac32, 0320bac5801b31407200227173205d017488f140, 44e6cb3ab177faae840bb2c1ebda9a2539876184, 58880025e3362024f6d8ea01cb0c7a5df6c84ba6, 71c8df33fd777c7628f6fbc09b14e84806c55914, 76c94651005f58885facf9c973007f5ea01ab01f, 7ae2c5b89da3cfaf856df880af27d3bb32a74b3d, cd9c88da171a62c4b0f1c70e50c75845969fbc18, dd86064417de828ff2102ddc6049c829bf7585b4

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-49122 severity on Zeptric[![CVE-2022-49122](https://zeptric.io/badge/cve/CVE-2022-49122.svg)](https://zeptric.io/cve/CVE-2022-49122)