{"id":"CVE-2022-48730","summary":"dma-buf: heaps: Fix potential spectre v1 gadget","details":"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]","modified":"2026-04-02T08:26:57.162944Z","published":"2024-06-20T11:13:18.750Z","related":["SUSE-SU-2024:2362-1","SUSE-SU-2024:2372-1","SUSE-SU-2024:2384-1","SUSE-SU-2024:2394-1","SUSE-SU-2024:2894-1","SUSE-SU-2024:2902-1","SUSE-SU-2024:2929-1","SUSE-SU-2024:2939-1","SUSE-SU-2024:2947-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48730.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/24f8e12d965b24f8aea762589e0e9fe2025c005e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5d40f1bdad3dd1a177f21a90ad4353c1ed40ba3a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/92c4cfaee6872038563c5b6f2e8e613f9d84d47d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cc8f7940d9c2d45f67b3d1a2f2b7a829ca561bed"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48730.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48730"},{"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":"c02a81fba74fe3488ad6b08bfb5a1329005418f8"},{"fixed":"5d40f1bdad3dd1a177f21a90ad4353c1ed40ba3a"},{"fixed":"24f8e12d965b24f8aea762589e0e9fe2025c005e"},{"fixed":"cc8f7940d9c2d45f67b3d1a2f2b7a829ca561bed"},{"fixed":"92c4cfaee6872038563c5b6f2e8e613f9d84d47d"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48730.json"}}],"schema_version":"1.7.5"}