{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-90215",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-11T19:38:34.793Z",
        "datePublished": "2026-09-17T16:07:28.071Z",
        "dateUpdated": "2026-10-19T08:59:51.207Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-10-19T08:59:51.207Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: ubi: Release device reference on busy detach\n\nubi_detach_mtd_dev() obtains a device reference through ubi_get_device()\nbefore checking whether the UBI device is busy. The busy return path drops\nubi->ref_count but leaves the device reference held, so the device object\ncannot be released after a later detach.\n\nDrop the device reference before returning -EBUSY."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/mtd/ubi/build.c"
                    ],
                    "versions": [
                        {
                            "version": "7e84c961b2eb062d2f47037dcca52dcd1d3615b5",
                            "lessThan": "87812858c4c8df979cb70bcd0040b925a543df6f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7e84c961b2eb062d2f47037dcca52dcd1d3615b5",
                            "lessThan": "e065960366b55ab21e6c643c30dec2a41451900b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7e84c961b2eb062d2f47037dcca52dcd1d3615b5",
                            "lessThan": "851c5e9a829d56cb0982965f07ef8966a6722884",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7e84c961b2eb062d2f47037dcca52dcd1d3615b5",
                            "lessThan": "31dd710cd84d5dd63c49f640d3a9f36c9699ca95",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/mtd/ubi/build.c"
                    ],
                    "versions": [
                        {
                            "version": "6.9",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.9",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.110",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.52",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2.6",
                            "lessThanOrEqual": "7.2.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.9",
                                    "versionEndExcluding": "6.12.110"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.9",
                                    "versionEndExcluding": "6.18.52"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.9",
                                    "versionEndExcluding": "7.2.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.9",
                                    "versionEndExcluding": "7.3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/87812858c4c8df979cb70bcd0040b925a543df6f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e065960366b55ab21e6c643c30dec2a41451900b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/851c5e9a829d56cb0982965f07ef8966a6722884"
                },
                {
                    "url": "https://git.kernel.org/stable/c/31dd710cd84d5dd63c49f640d3a9f36c9699ca95"
                }
            ],
            "title": "mtd: ubi: Release device reference on busy detach",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}