Skip to content
Heist/ feed
Back to feed
UnratedFix available

dma-buf: heaps: Fix potential spectre v1 gadget

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: dma-buf: heaps: Fix potential spectre v1 gadget It appears like nr 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. [sumits: added fixes and cc: stable tags]

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.99, 5.15.22, 5.16.8
CVEs
CVE-2022-48730
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 00:39 UTC · Revision 1

Source evidence

dma-buf: heaps: Fix potential spectre v1 gadget

core-osv · Original source

Published 20 Jun 2024, 11:13 UTC

In the Linux kernel, the following vulnerability has been resolved: dma-buf: heaps: Fix potential spectre v1 gadget It appears like nr 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. [sumits: added fixes and cc: stable tags]

osv:CVE-2022-48730

Kernel

Fixed versions: 5.10.99, 5.15.22, 5.16.8

Complete source record
{
  "id": "ab2bb9f8880064e62e23d8e30974bd22f6855d1d18b459ab1cc382cb8697a36e",
  "url": "https://osv.dev/vulnerability/CVE-2022-48730",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "dma-buf: heaps: Fix potential spectre v1 gadget",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: dma-buf: heaps: Fix potential spectre v1 gadget It appears like nr 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. [sumits: added fixes and cc: stable tags]",
    "evidence": "osv:CVE-2022-48730",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.99",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.22",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.16.8",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-48730",
      "aliases": [
        "CVE-2022-48730"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "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"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.6.0"
                },
                {
                  "fixed": "5.10.99"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.22"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "5.16.8"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48730.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.588772697Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/24f8e12d965b24f8aea762589e0e9fe2025c005e",
        "https://git.kernel.org/stable/c/5d40f1bdad3dd1a177f21a90ad4353c1ed40ba3a",
        "https://git.kernel.org/stable/c/92c4cfaee6872038563c5b6f2e8e613f9d84d47d",
        "https://git.kernel.org/stable/c/cc8f7940d9c2d45f67b3d1a2f2b7a829ca561bed",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48730.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-48730",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48730.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-48730",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 521035,
  "published_at": "2024-06-20T11:13:18.75+00:00"
}