{
  "id": "CVE-2026-80748",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-80748",
  "published_at": "2026-09-03T08:26:29.532Z",
  "title": "mmc: loongson2: Fix sg iteration in data reorder functions",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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).",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 2115772014bdac368317e997ed15016cf2792665, \u003c 8f7f7a6d5aed8f346a1c936fba02033c73a337dc",
          "\u003e= 2115772014bdac368317e997ed15016cf2792665, \u003c db368164383c46f256ed8152a41ae9300e615028",
          "\u003e= 2115772014bdac368317e997ed15016cf2792665, \u003c 00179ed9fbe07799676e2cb63c4e7f0e7cd80a5c"
        ],
        "fixed_in": [
          "8f7f7a6d5aed8f346a1c936fba02033c73a337dc",
          "db368164383c46f256ed8152a41ae9300e615028",
          "00179ed9fbe07799676e2cb63c4e7f0e7cd80a5c"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.17"
        ],
        "fixed_in": [
          "0",
          "6.18.46",
          "7.1.10",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 8f7f7a6d5aed8f346a1c936fba02033c73a337dc or db368164383c46f256ed8152a41ae9300e615028 or 00179ed9fbe07799676e2cb63c4e7f0e7cd80a5c or later.",
      "Upgrade Linux to 0 or 6.18.46 or 7.1.10 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
