mtd: ubi: Release device reference on busy detach
In the Linux kernel, the following vulnerability has been resolved: mtd: ubi: Release device reference on busy detach ubi_detach_mtd_dev() obtains a device reference through ubi_get_device() before checking whether the UBI device is busy. The busy return path drops ubi->ref_count but leaves the device reference held, so the device object cannot be released after a later detach. Drop the device reference before returning -EBUSY.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.110, 6.18.52, 7.2.6
- CVEs
- CVE-2026-90215
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 00:01 UTC · Revision 1
Source evidence
mtd: ubi: Release device reference on busy detach
core-osv · Original sourcePublished 17 Sept 2026, 16:07 UTC
In the Linux kernel, the following vulnerability has been resolved: mtd: ubi: Release device reference on busy detach ubi_detach_mtd_dev() obtains a device reference through ubi_get_device() before checking whether the UBI device is busy. The busy return path drops ubi->ref_count but leaves the device reference held, so the device object cannot be released after a later detach. Drop the device reference before returning -EBUSY.
osv:CVE-2026-90215
Kernel
Fixed versions: 6.12.110, 6.18.52, 7.2.6
Complete source record
{
"id": "0a036cb8af890a81cc66d601d5d91991b42b3ee535bbbbc7f83fa38355a24ada",
"url": "https://osv.dev/vulnerability/CVE-2026-90215",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "mtd: ubi: Release device reference on busy detach",
"summary": "In the Linux kernel, the following vulnerability has been resolved: mtd: ubi: Release device reference on busy detach ubi_detach_mtd_dev() obtains a device reference through ubi_get_device() before checking whether the UBI device is busy. The busy return path drops ubi->ref_count but leaves the device reference held, so the device object cannot be released after a later detach. Drop the device reference before returning -EBUSY.",
"evidence": "osv:CVE-2026-90215",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"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-90215",
"aliases": [
"CVE-2026-90215"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "7e84c961b2eb062d2f47037dcca52dcd1d3615b5"
},
{
"fixed": "87812858c4c8df979cb70bcd0040b925a543df6f"
},
{
"fixed": "e065960366b55ab21e6c643c30dec2a41451900b"
},
{
"fixed": "851c5e9a829d56cb0982965f07ef8966a6722884"
},
{
"fixed": "31dd710cd84d5dd63c49f640d3a9f36c9699ca95"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90215.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.9.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-90215.json"
}
}
],
"modified": "2026-10-28T02:30:40.494623374Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/31dd710cd84d5dd63c49f640d3a9f36c9699ca95",
"https://git.kernel.org/stable/c/851c5e9a829d56cb0982965f07ef8966a6722884",
"https://git.kernel.org/stable/c/87812858c4c8df979cb70bcd0040b925a543df6f",
"https://git.kernel.org/stable/c/e065960366b55ab21e6c643c30dec2a41451900b",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90215.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-90215",
"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-90215.json"
}
},
"related_cves": [
{
"value": "CVE-2026-90215",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 508216,
"published_at": "2026-09-17T16:07:28.071+00:00"
}