{"id":"CVE-2022-49122","summary":"dm ioctl: prevent potential spectre v1 gadget","details":"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.","modified":"2026-03-20T12:22:11.185619Z","published":"2025-02-26T01:55:02.161Z","related":["SUSE-SU-2025:1027-1","SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1194-1","SUSE-SU-2025:1241-1","SUSE-SU-2025:1263-1","SUSE-SU-2025:1293-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49122.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/02cc46f397eb3691c56affbd5073e54f7a82ac32"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0320bac5801b31407200227173205d017488f140"},{"type":"WEB","url":"https://git.kernel.org/stable/c/44e6cb3ab177faae840bb2c1ebda9a2539876184"},{"type":"WEB","url":"https://git.kernel.org/stable/c/58880025e3362024f6d8ea01cb0c7a5df6c84ba6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/71c8df33fd777c7628f6fbc09b14e84806c55914"},{"type":"WEB","url":"https://git.kernel.org/stable/c/76c94651005f58885facf9c973007f5ea01ab01f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7ae2c5b89da3cfaf856df880af27d3bb32a74b3d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cd9c88da171a62c4b0f1c70e50c75845969fbc18"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dd86064417de828ff2102ddc6049c829bf7585b4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49122.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49122"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2"},{"fixed":"76c94651005f58885facf9c973007f5ea01ab01f"},{"fixed":"58880025e3362024f6d8ea01cb0c7a5df6c84ba6"},{"fixed":"7ae2c5b89da3cfaf856df880af27d3bb32a74b3d"},{"fixed":"0320bac5801b31407200227173205d017488f140"},{"fixed":"71c8df33fd777c7628f6fbc09b14e84806c55914"},{"fixed":"02cc46f397eb3691c56affbd5073e54f7a82ac32"},{"fixed":"44e6cb3ab177faae840bb2c1ebda9a2539876184"},{"fixed":"dd86064417de828ff2102ddc6049c829bf7585b4"},{"fixed":"cd9c88da171a62c4b0f1c70e50c75845969fbc18"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49122.json"}}],"schema_version":"1.7.5"}