{"id":"CVE-2026-80748","aliases":["CVE-2026-80748"],"related":[],"kind":"vulnerability","state":"published","title":"mmc: loongson2: Fix sg iteration in data reorder functions","summary":"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 '&sg[i]' and 'sg_dma_len(&sg[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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 '&sg[i]' and 'sg_dma_len(&sg[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).","source":"cvelist"}],"published":"2026-09-03T08:26:29.532Z","modified":"2026-09-04T05:17:14.773Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"2115772014bdac368317e997ed15016cf2792665","fixed":"8f7f7a6d5aed8f346a1c936fba02033c73a337dc","status":"affected"},{"type":"git","introduced":"2115772014bdac368317e997ed15016cf2792665","fixed":"db368164383c46f256ed8152a41ae9300e615028","status":"affected"},{"type":"git","introduced":"2115772014bdac368317e997ed15016cf2792665","fixed":"00179ed9fbe07799676e2cb63c4e7f0e7cd80a5c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.17","status":"unaffected"},{"type":"semver","introduced":"6.18.46","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.10","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/8f7f7a6d5aed8f346a1c936fba02033c73a337dc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/db368164383c46f256ed8152a41ae9300e615028","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/00179ed9fbe07799676e2cb63c4e7f0e7cd80a5c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80748","url":"https://www.cve.org/CVERecord?id=CVE-2026-80748","licence":"CVE Terms of Use","modified":"2026-09-04T04:58:28.127Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80748","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80748","licence":"Public domain","modified":"2026-09-04T05:17:14.773Z"}],"updatedAt":"2026-11-25T22:59:36.164Z","epss":{"score":0.00173,"percentile":0.03957,"date":"2026-11-30T12:00:22.000Z"}}