UNKNOWN NVD
CVE-2026-89953
In the Linux kernel, the following vulnerability has been resolved: mtd: mtdoops: free page bitmap when the backing MTD is removed mtdoops_notify_add() alloca
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.
References
- https://git.kernel.org/stable/c/1e5cd8bc902331ff801df88cbb299029ae062753
- https://git.kernel.org/stable/c/477d61d54e097e90f748aa18d013805abd56bcbd
- https://git.kernel.org/stable/c/698944132083d143ef965c0090ee14ba1d9e1a5f
- https://git.kernel.org/stable/c/8414f0e9f707226de20b48c7048179fd86d352fc
- https://git.kernel.org/stable/c/956e7da12c114f13c63d126ab1d79c3b6a819060
This unknown severity vulnerability was published on 2026-09-16 via NVD.
vulnfeed aggregates 14391 vulnerabilities from NVD, CISA KEV,
Ubuntu, Debian, Red Hat, Kubernetes, Exploit-DB, OSS-Security, GitHub and OpenStack — updated every 4 hours.