CVE-2026-89953
mtd: mtdoops: free page bitmap when the backing MTD is removed
Reported by linux · Published September 16, 2026
In the Linux kernel, the following vulnerability has been resolved: mtd: mtdoops: free page bitmap when the backing MTD is removed mtdoops_notify_add() allocates oops_page_used when the configured MTD device is registered. mtdoops_notify_remove() detaches from that device but leaves the bitmap allocated. If the same MTD device is later registered again, the add path allocates a new bitmap and overwrites the old pointer, leaking one vmalloc allocation per remove/add cycle. This is only visible when the backing MTD device can disappear and be registered again while mtdoops remains loaded, so the usual static MTD case does not expose it. Free the bitmap after unregistering the dumper and flushing the pending workers, then clear the pointer and page count before a later attach can allocate fresh state. Clearing the pointer also keeps the module exit path from freeing the same bitmap a second time after a remove event.
EPSS 0.22% · 12.1th percentile
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | be95745f01677245a061a8f51473ef5ec8ad008e, be95745f01677245a061a8f51473ef5ec8ad008e, be95745f01677245a061a8f51473ef5ec8ad008e |
| Linux | Linux | 2.6.33, 0, 5.10.270 |
| linux | linux_kernel | 2.6.33, 2.6.33, 2.6.33 |
| Linux | Linux | *, *, * |
Timeline
- Sep 16, 2026 Coalition ESS Score
- Sep 16, 2026 CVE Published
- Sep 17, 2026 EPSS Score (13 in total, the first dated here)
- Oct 19, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-89953
vulnetix vdb fixes CVE-2026-89953
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-89953/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart