{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "2115772014bdac368317e997ed15016cf2792665"
            },
            {
              "fixed": "8f7f7a6d5aed8f346a1c936fba02033c73a337dc"
            },
            {
              "fixed": "db368164383c46f256ed8152a41ae9300e615028"
            },
            {
              "fixed": "00179ed9fbe07799676e2cb63c4e7f0e7cd80a5c"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.17.0"
            },
            {
              "fixed": "6.18.46"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.10"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80748.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: loongson2: Fix sg iteration in data reorder functions\n\nIn ls2k0500_mmc_reorder_cmd_data() and ls2k2000_mmc_reorder_cmd_data(),\nthe for_each_sg() macro already iterates over the scatterlist entries,\nwith 'sg' pointing to the current entry. However, the code incorrectly\nuses '\u0026sg[i]' and 'sg_dma_len(\u0026sg[i])' inside the loop, which treats\n'sg' as an array base and indexes it again, leading to access of\nwrong sg entries (or out-of-bounds if the list is not an array).",
  "id": "CVE-2026-80748",
  "modified": "2026-09-05T03:31:04.038709164Z",
  "published": "2026-09-03T08:26:29.532Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/00179ed9fbe07799676e2cb63c4e7f0e7cd80a5c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8f7f7a6d5aed8f346a1c936fba02033c73a337dc"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/db368164383c46f256ed8152a41ae9300e615028"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80748.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-80748"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "mmc: loongson2: Fix sg iteration in data reorder functions"
}