{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-89953",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-11T19:38:34.777Z",
        "datePublished": "2026-09-16T10:32:37.676Z",
        "dateUpdated": "2026-10-19T08:55:27.271Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-10-19T08:55:27.271Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: mtdoops: free page bitmap when the backing MTD is removed\n\nmtdoops_notify_add() allocates oops_page_used when the configured MTD\ndevice is registered.  mtdoops_notify_remove() detaches from that device\nbut leaves the bitmap allocated.  If the same MTD device is later\nregistered again, the add path allocates a new bitmap and overwrites the\nold pointer, leaking one vmalloc allocation per remove/add cycle.\n\nThis is only visible when the backing MTD device can disappear and be\nregistered again while mtdoops remains loaded, so the usual static MTD\ncase does not expose it.\n\nFree the bitmap after unregistering the dumper and flushing the pending\nworkers, then clear the pointer and page count before a later attach can\nallocate fresh state.  Clearing the pointer also keeps the module exit\npath from freeing the same bitmap a second time after a remove event."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/mtd/mtdoops.c"
                    ],
                    "versions": [
                        {
                            "version": "be95745f01677245a061a8f51473ef5ec8ad008e",
                            "lessThan": "477d61d54e097e90f748aa18d013805abd56bcbd",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "be95745f01677245a061a8f51473ef5ec8ad008e",
                            "lessThan": "a91ac71e67c3e01ed9afd9841435bebb930293f8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "be95745f01677245a061a8f51473ef5ec8ad008e",
                            "lessThan": "698944132083d143ef965c0090ee14ba1d9e1a5f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "be95745f01677245a061a8f51473ef5ec8ad008e",
                            "lessThan": "f25c804947e0a28c15e73da8e2e0db959cbed716",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "be95745f01677245a061a8f51473ef5ec8ad008e",
                            "lessThan": "8414f0e9f707226de20b48c7048179fd86d352fc",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "be95745f01677245a061a8f51473ef5ec8ad008e",
                            "lessThan": "d06f91a52af11630c9f7e487f6daf242ac310cb8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "be95745f01677245a061a8f51473ef5ec8ad008e",
                            "lessThan": "1e5cd8bc902331ff801df88cbb299029ae062753",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "be95745f01677245a061a8f51473ef5ec8ad008e",
                            "lessThan": "956e7da12c114f13c63d126ab1d79c3b6a819060",
                            "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/mtdoops.c"
                    ],
                    "versions": [
                        {
                            "version": "2.6.33",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "2.6.33",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.270",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.221",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.188",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.157",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.110",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.51",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2.5",
                            "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": "2.6.33",
                                    "versionEndExcluding": "5.10.270"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.33",
                                    "versionEndExcluding": "5.15.221"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.33",
                                    "versionEndExcluding": "6.1.188"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.33",
                                    "versionEndExcluding": "6.6.157"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.33",
                                    "versionEndExcluding": "6.12.110"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.33",
                                    "versionEndExcluding": "6.18.51"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.33",
                                    "versionEndExcluding": "7.2.5"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.33",
                                    "versionEndExcluding": "7.3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/477d61d54e097e90f748aa18d013805abd56bcbd"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a91ac71e67c3e01ed9afd9841435bebb930293f8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/698944132083d143ef965c0090ee14ba1d9e1a5f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f25c804947e0a28c15e73da8e2e0db959cbed716"
                },
                {
                    "url": "https://git.kernel.org/stable/c/8414f0e9f707226de20b48c7048179fd86d352fc"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d06f91a52af11630c9f7e487f6daf242ac310cb8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/1e5cd8bc902331ff801df88cbb299029ae062753"
                },
                {
                    "url": "https://git.kernel.org/stable/c/956e7da12c114f13c63d126ab1d79c3b6a819060"
                }
            ],
            "title": "mtd: mtdoops: free page bitmap when the backing MTD is removed",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}