CVE-2026-89953

published 16 Sep 2026 · updated 20 Nov 2026

mtd: mtdoops: free page bitmap when the backing MTD is removed

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f25c804947e0a28c15e73da8e2e0db959cbed716, Kernel 1e5cd8bc902331ff801df88cbb299029ae062753, Kernel 477d61d54e097e90f748aa18d013805abd56bcbd and 12 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=be95745f01677245a061a8f51473ef5ec8ad008e <f25c804947e0a28c15e73da8e2e0db959cbed716, >=be95745f01677245a061a8f51473ef5ec8ad008e <1e5cd8bc902331ff801df88cbb299029ae062753, >=be95745f01677245a061a8f51473ef5ec8ad008e <477d61d54e097e90f748aa18d013805abd56bcbd, >=be95745f01677245a061a8f51473ef5ec8ad008e <698944132083d143ef965c0090ee14ba1d9e1a5f, >=be95745f01677245a061a8f51473ef5ec8ad008e <8414f0e9f707226de20b48c7048179fd86d352fc, >=be95745f01677245a061a8f51473ef5ec8ad008e <956e7da12c114f13c63d126ab1d79c3b6a819060, >=be95745f01677245a061a8f51473ef5ec8ad008e <a91ac71e67c3e01ed9afd9841435bebb930293f8, >=be95745f01677245a061a8f51473ef5ec8ad008e <d06f91a52af11630c9f7e487f6daf242ac310cb8, =2.6.33f25c804947e0a28c15e73da8e2e0db959cbed716, 1e5cd8bc902331ff801df88cbb299029ae062753, 477d61d54e097e90f748aa18d013805abd56bcbd, 698944132083d143ef965c0090ee14ba1d9e1a5f, 8414f0e9f707226de20b48c7048179fd86d352fc, 956e7da12c114f13c63d126ab1d79c3b6a819060, a91ac71e67c3e01ed9afd9841435bebb930293f8, d06f91a52af11630c9f7e487f6daf242ac310cb8
linux-kernel: Kernel>=5.11.0 <5.15.221, >=5.16.0 <6.1.188, >=6.13.0 <6.18.51, >=6.19.0 <7.2.5, >=6.2.0 <6.6.157, >=6.7.0 <6.12.110, >=2.6.33 <5.10.2705.15.221, 6.1.188, 6.18.51, 7.2.5, 6.6.157, 6.12.110, 5.10.270

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-89953 severity on Zeptric[![CVE-2026-89953](https://zeptric.io/badge/cve/CVE-2026-89953.svg)](https://zeptric.io/cve/CVE-2026-89953)