CVE-2026-80748 (GCVE-0-2026-80748)
Vulnerability from cvelistv5 – Published: 2026-09-03 08:26 – Updated: 2026-09-03 08:26
VLAI
EPSS
VEX
Title
mmc: loongson2: Fix sg iteration in data reorder functions
Summary
In the Linux kernel, the following vulnerability has been resolved:
mmc: loongson2: Fix sg iteration in data reorder functions
In ls2k0500_mmc_reorder_cmd_data() and ls2k2000_mmc_reorder_cmd_data(),
the for_each_sg() macro already iterates over the scatterlist entries,
with 'sg' pointing to the current entry. However, the code incorrectly
uses '&sg[i]' and 'sg_dma_len(&sg[i])' inside the loop, which treats
'sg' as an array base and indexes it again, leading to access of
wrong sg entries (or out-of-bounds if the list is not an array).
Severity
No CVSS data available.
Assigner
References
Impacted products
2 products
| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Linux | Linux |
Affected:
2115772014bdac368317e997ed15016cf2792665 , < 8f7f7a6d5aed8f346a1c936fba02033c73a337dc
(git)
Affected: 2115772014bdac368317e997ed15016cf2792665 , < db368164383c46f256ed8152a41ae9300e615028 (git) Affected: 2115772014bdac368317e997ed15016cf2792665 , < 00179ed9fbe07799676e2cb63c4e7f0e7cd80a5c (git) |
guessed | |
| Linux | Linux |
Affected:
6.17
Unaffected: 0 , < 6.17 (semver) Unaffected: 6.18.46 , ≤ 6.18.* (semver) Unaffected: 7.1.10 , ≤ 7.1.* (semver) Unaffected: 7.2 , ≤ * (original_commit_for_fix) |
guessed |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/mmc/host/loongson2-mmc.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "8f7f7a6d5aed8f346a1c936fba02033c73a337dc",
"status": "affected",
"version": "2115772014bdac368317e997ed15016cf2792665",
"versionType": "git"
},
{
"lessThan": "db368164383c46f256ed8152a41ae9300e615028",
"status": "affected",
"version": "2115772014bdac368317e997ed15016cf2792665",
"versionType": "git"
},
{
"lessThan": "00179ed9fbe07799676e2cb63c4e7f0e7cd80a5c",
"status": "affected",
"version": "2115772014bdac368317e997ed15016cf2792665",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/mmc/host/loongson2-mmc.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.17"
},
{
"lessThan": "6.17",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.46",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.1.*",
"status": "unaffected",
"version": "7.1.10",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.46",
"versionStartIncluding": "6.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.1.10",
"versionStartIncluding": "6.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.2",
"versionStartIncluding": "6.17",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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 \u0027sg\u0027 pointing to the current entry. However, the code incorrectly\nuses \u0027\u0026sg[i]\u0027 and \u0027sg_dma_len(\u0026sg[i])\u0027 inside the loop, which treats\n\u0027sg\u0027 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)."
}
],
"providerMetadata": {
"dateUpdated": "2026-09-03T08:26:29.532Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/8f7f7a6d5aed8f346a1c936fba02033c73a337dc"
},
{
"url": "https://git.kernel.org/stable/c/db368164383c46f256ed8152a41ae9300e615028"
},
{
"url": "https://git.kernel.org/stable/c/00179ed9fbe07799676e2cb63c4e7f0e7cd80a5c"
}
],
"title": "mmc: loongson2: Fix sg iteration in data reorder functions",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-80748",
"datePublished": "2026-09-03T08:26:29.532Z",
"dateReserved": "2026-08-26T14:34:25.790Z",
"dateUpdated": "2026-09-03T08:26:29.532Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-80748",
"date": "2026-09-03",
"epss": "0.00198",
"percentile": "0.09565"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2026-80748\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-09-03T13:06:14.410\",\"lastModified\":\"2026-09-03T13:06:14.410\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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 \u0027sg\u0027 pointing to the current entry. However, the code incorrectly\\nuses \u0027\u0026sg[i]\u0027 and \u0027sg_dma_len(\u0026sg[i])\u0027 inside the loop, which treats\\n\u0027sg\u0027 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).\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/mmc/host/loongson2-mmc.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"2115772014bdac368317e997ed15016cf2792665\",\"lessThan\":\"8f7f7a6d5aed8f346a1c936fba02033c73a337dc\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"2115772014bdac368317e997ed15016cf2792665\",\"lessThan\":\"db368164383c46f256ed8152a41ae9300e615028\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"2115772014bdac368317e997ed15016cf2792665\",\"lessThan\":\"00179ed9fbe07799676e2cb63c4e7f0e7cd80a5c\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/mmc/host/loongson2-mmc.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.17\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.17\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.46\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.10\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/00179ed9fbe07799676e2cb63c4e7f0e7cd80a5c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8f7f7a6d5aed8f346a1c936fba02033c73a337dc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/db368164383c46f256ed8152a41ae9300e615028\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Loading…
Loading…