{"id":"CVE-2022-49122","aliases":["CVE-2022-49122"],"related":[],"kind":"vulnerability","state":"published","title":"dm ioctl: prevent potential spectre v1 gadget","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm ioctl: prevent potential spectre v1 gadget\n\nIt appears like cmd could be a Spectre v1 gadget as it's supplied by a\nuser and used as an array index. Prevent the contents of kernel memory\nfrom being leaked to userspace via speculative execution by using\narray_index_nospec.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm ioctl: prevent potential spectre v1 gadget\n\nIt appears like cmd could be a Spectre v1 gadget as it's supplied by a\nuser and used as an array index. Prevent the contents of kernel memory\nfrom being leaked to userspace via speculative execution by using\narray_index_nospec.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: dm ioctl: evitar un posible gadget de Spectre v1 Parece que cmd podría ser un gadget de Spectre v1, ya que lo proporciona un usuario y lo utiliza como índice de matriz. Evite que el contenido de la memoria del kernel se filtre al espacio de usuario mediante una ejecución especulativa utilizando array_index_nospec.","source":"nvd"}],"published":"2025-02-26T01:55:02.161Z","modified":"2026-06-17T05:17:08.683Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"76c94651005f58885facf9c973007f5ea01ab01f","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"58880025e3362024f6d8ea01cb0c7a5df6c84ba6","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"7ae2c5b89da3cfaf856df880af27d3bb32a74b3d","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"0320bac5801b31407200227173205d017488f140","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"71c8df33fd777c7628f6fbc09b14e84806c55914","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"02cc46f397eb3691c56affbd5073e54f7a82ac32","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"44e6cb3ab177faae840bb2c1ebda9a2539876184","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"dd86064417de828ff2102ddc6049c829bf7585b4","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"cd9c88da171a62c4b0f1c70e50c75845969fbc18","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.12","status":"unaffected"},{"type":"semver","introduced":"4.9.311","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.276","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.238","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.189","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.111","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.34","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.16.20","lastAffected":"5.16.*","status":"unaffected"},{"type":"semver","introduced":"5.17.3","lastAffected":"5.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.9.311"},{"status":"affected","introduced":"4.10","fixed":"4.14.276"},{"status":"affected","introduced":"4.15","fixed":"4.19.238"},{"status":"affected","introduced":"4.20","fixed":"5.4.189"},{"status":"affected","introduced":"5.5","fixed":"5.10.111"},{"status":"affected","introduced":"5.11","fixed":"5.15.34"},{"status":"affected","introduced":"5.16","fixed":"5.16.20"},{"status":"affected","introduced":"5.17","fixed":"5.17.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/76c94651005f58885facf9c973007f5ea01ab01f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/58880025e3362024f6d8ea01cb0c7a5df6c84ba6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7ae2c5b89da3cfaf856df880af27d3bb32a74b3d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0320bac5801b31407200227173205d017488f140","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/71c8df33fd777c7628f6fbc09b14e84806c55914","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/02cc46f397eb3691c56affbd5073e54f7a82ac32","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/44e6cb3ab177faae840bb2c1ebda9a2539876184","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dd86064417de828ff2102ddc6049c829bf7585b4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cd9c88da171a62c4b0f1c70e50c75845969fbc18","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49122","url":"https://www.cve.org/CVERecord?id=CVE-2022-49122","licence":"CVE Terms of Use","modified":"2026-05-11T18:53:35.294Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49122","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49122","licence":"Public domain","modified":"2026-06-17T05:17:08.683Z"}],"updatedAt":"2026-11-25T22:58:20.195Z","epss":{"score":0.00307,"percentile":0.25328,"date":"2026-12-01T12:00:22.000Z"}}