ubi: Fix rollback for explicit UBI device numbers
In the Linux kernel, the following vulnerability has been resolved: ubi: Fix rollback for explicit UBI device numbers ubi_init_attach() rolls back module initialization failures by scanning ubi_devices[0..i-1], where i is the mtd= parameter index. That assumes the parameter index matches the UBI device number. That assumption is not true when mtd= specifies an explicit ubi_num. A successfully attached device can be stored at a higher ubi_devices[] slot, and a later failure can miss it during rollback. Scan the full ubi_devices[] array and detach by the actual array index, matching the way UBI devices are stored.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.270, 5.15.221, 6.1.188, 6.12.110, 6.18.52, 6.6.157, 7.2.6
- CVEs
- CVE-2026-90216
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 01:36 UTC · Revision 1
Source evidence
ubi: Fix rollback for explicit UBI device numbers
core-osv · Original sourcePublished 17 Sept 2026, 16:07 UTC
In the Linux kernel, the following vulnerability has been resolved: ubi: Fix rollback for explicit UBI device numbers ubi_init_attach() rolls back module initialization failures by scanning ubi_devices[0..i-1], where i is the mtd= parameter index. That assumes the parameter index matches the UBI device number. That assumption is not true when mtd= specifies an explicit ubi_num. A successfully attached device can be stored at a higher ubi_devices[] slot, and a later failure can miss it during rollback. Scan the full ubi_devices[] array and detach by the actual array index, matching the way UBI devices are stored.
osv:CVE-2026-90216
Kernel
Fixed versions: 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, 6.18.52, 7.2.6
Complete source record
{
"id": "2f18b472a57ad8b519d1702f99d87270d9040bb4139c46914977f943f871276f",
"url": "https://osv.dev/vulnerability/CVE-2026-90216",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ubi: Fix rollback for explicit UBI device numbers",
"summary": "In the Linux kernel, the following vulnerability has been resolved: ubi: Fix rollback for explicit UBI device numbers ubi_init_attach() rolls back module initialization failures by scanning ubi_devices[0..i-1], where i is the mtd= parameter index. That assumes the parameter index matches the UBI device number. That assumption is not true when mtd= specifies an explicit ubi_num. A successfully attached device can be stored at a higher ubi_devices[] slot, and a later failure can miss it during rollback. Scan the full ubi_devices[] array and detach by the actual array index, matching the way UBI devices are stored.",
"evidence": "osv:CVE-2026-90216",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.270",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.221",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.188",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.157",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.110",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.52",
"evidence": "/affected/1/ranges"
},
{
"value": "7.2.6",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-90216",
"aliases": [
"CVE-2026-90216"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "83ff59a066637a6c28844bbf43009459408240f4"
},
{
"fixed": "83c978921688af40dcab6db74882d1ff9b0b765c"
},
{
"fixed": "6b92e66ec6dd8019e8efb2a568ef7c967c5a18c5"
},
{
"fixed": "4417ab6ecad01cf2d01045ef8104c95a66b0e893"
},
{
"fixed": "552e565ed8846e7db143e4a6bdf3f5677453c686"
},
{
"fixed": "9754f049d5f1945d4c691d1f52824eb8daf8f9be"
},
{
"fixed": "e3f7e58189bc222971ddc860f1716f37e51ba996"
},
{
"fixed": "87b3da4acb860605643ebee312178f13b20744cf"
},
{
"fixed": "5b0a6b554e12a97f9771a9a9f4ea1f5457373c73"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90216.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.11.0"
},
{
"fixed": "5.10.270"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.221"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.188"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.157"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.110"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.52"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.2.6"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90216.json"
}
}
],
"modified": "2026-10-28T02:30:41.289758709Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/4417ab6ecad01cf2d01045ef8104c95a66b0e893",
"https://git.kernel.org/stable/c/552e565ed8846e7db143e4a6bdf3f5677453c686",
"https://git.kernel.org/stable/c/5b0a6b554e12a97f9771a9a9f4ea1f5457373c73",
"https://git.kernel.org/stable/c/6b92e66ec6dd8019e8efb2a568ef7c967c5a18c5",
"https://git.kernel.org/stable/c/83c978921688af40dcab6db74882d1ff9b0b765c",
"https://git.kernel.org/stable/c/87b3da4acb860605643ebee312178f13b20744cf",
"https://git.kernel.org/stable/c/9754f049d5f1945d4c691d1f52824eb8daf8f9be",
"https://git.kernel.org/stable/c/e3f7e58189bc222971ddc860f1716f37e51ba996",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90216.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-90216",
"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/2026/90xxx/CVE-2026-90216.json"
}
},
"related_cves": [
{
"value": "CVE-2026-90216",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 509141,
"published_at": "2026-09-17T16:07:28.73+00:00"
}