{"id":"CVE-2022-48730","aliases":["CVE-2022-48730"],"related":[],"kind":"vulnerability","state":"published","title":"dma-buf: heaps: Fix potential spectre v1 gadget","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndma-buf: heaps: Fix potential spectre v1 gadget\n\nIt appears like nr could be a Spectre v1 gadget as it's supplied by a\nuser and used as an array index. Prevent the contents\nof kernel memory from being leaked to userspace via speculative\nexecution by using array_index_nospec.\n\n [sumits: added fixes and cc: stable tags]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndma-buf: heaps: Fix potential spectre v1 gadget\n\nIt appears like nr could be a Spectre v1 gadget as it's supplied by a\nuser and used as an array index. Prevent the contents\nof kernel memory from being leaked to userspace via speculative\nexecution by using array_index_nospec.\n\n [sumits: added fixes and cc: stable tags]","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: dma-buf: heaps: repara un posible gadget de Spectre v1. Parece que nr podría ser un gadget de Spectre v1, ya que lo proporciona un usuario y se utiliza como índice de matriz. Evite que el contenido de la memoria del kernel se filtre al espacio de usuario mediante ejecución especulativa utilizando array_index_nospec. [presenta: correcciones agregadas y cc: etiquetas estables]","source":"nvd"}],"published":"2024-06-20T11:13:18.750Z","modified":"2026-06-17T05:16:02.370Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","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:H/I:N/A:N","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-203"],"affected":[{"ranges":[{"type":"git","introduced":"c02a81fba74fe3488ad6b08bfb5a1329005418f8","fixed":"5d40f1bdad3dd1a177f21a90ad4353c1ed40ba3a","status":"affected"},{"type":"git","introduced":"c02a81fba74fe3488ad6b08bfb5a1329005418f8","fixed":"24f8e12d965b24f8aea762589e0e9fe2025c005e","status":"affected"},{"type":"git","introduced":"c02a81fba74fe3488ad6b08bfb5a1329005418f8","fixed":"cc8f7940d9c2d45f67b3d1a2f2b7a829ca561bed","status":"affected"},{"type":"git","introduced":"c02a81fba74fe3488ad6b08bfb5a1329005418f8","fixed":"92c4cfaee6872038563c5b6f2e8e613f9d84d47d","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.6","status":"unaffected"},{"type":"semver","introduced":"5.10.99","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.22","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.16.8","lastAffected":"5.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.17","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","introduced":"5.6","fixed":"5.10.99"},{"status":"affected","introduced":"5.11","fixed":"5.15.22"},{"status":"affected","introduced":"5.16","fixed":"5.16.8"},{"status":"affected","version":"5.17"},{"status":"affected","version":"5.17"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/5d40f1bdad3dd1a177f21a90ad4353c1ed40ba3a","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/24f8e12d965b24f8aea762589e0e9fe2025c005e","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cc8f7940d9c2d45f67b3d1a2f2b7a829ca561bed","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/92c4cfaee6872038563c5b6f2e8e613f9d84d47d","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T17:11:00.522Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-48730","url":"https://www.cve.org/CVERecord?id=CVE-2022-48730","licence":"CVE Terms of Use","modified":"2026-05-11T18:45:50.697Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-48730","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48730","licence":"Public domain","modified":"2026-06-17T05:16:02.370Z"}],"updatedAt":"2026-11-25T22:58:19.840Z","epss":{"score":0.00257,"percentile":0.18581,"date":"2026-12-01T12:00:22.000Z"}}