-

CVE-2026-89953

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

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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version be95745f01677245a061a8f51473ef5ec8ad008e
Version < 477d61d54e097e90f748aa18d013805abd56bcbd
Status affected
Version be95745f01677245a061a8f51473ef5ec8ad008e
Version < a91ac71e67c3e01ed9afd9841435bebb930293f8
Status affected
Version be95745f01677245a061a8f51473ef5ec8ad008e
Version < 698944132083d143ef965c0090ee14ba1d9e1a5f
Status affected
Version be95745f01677245a061a8f51473ef5ec8ad008e
Version < f25c804947e0a28c15e73da8e2e0db959cbed716
Status affected
Version be95745f01677245a061a8f51473ef5ec8ad008e
Version < 8414f0e9f707226de20b48c7048179fd86d352fc
Status affected
Version be95745f01677245a061a8f51473ef5ec8ad008e
Version < d06f91a52af11630c9f7e487f6daf242ac310cb8
Status affected
Version be95745f01677245a061a8f51473ef5ec8ad008e
Version < 1e5cd8bc902331ff801df88cbb299029ae062753
Status affected
Version be95745f01677245a061a8f51473ef5ec8ad008e
Version < 956e7da12c114f13c63d126ab1d79c3b6a819060
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 2.6.33
Status affected
Version 0
Version < 2.6.33
Status unaffected
Version <= 5.10.*
Version 5.10.270
Status unaffected
Version <= 5.15.*
Version 5.15.221
Status unaffected
Version <= 6.1.*
Version 6.1.188
Status unaffected
Version <= 6.6.*
Version 6.6.157
Status unaffected
Version <= 6.12.*
Version 6.12.110
Status unaffected
Version <= 6.18.*
Version 6.18.51
Status unaffected
Version <= 7.2.*
Version 7.2.5
Status unaffected
Version <= *
Version 7.3-rc1
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.21% 0.116
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/477d61d54e097e90f748aa18d013805abd56bcbd
https://git.kernel.org/stable/c/a91ac71e67c3e01ed9afd9841435bebb930293f8
https://git.kernel.org/stable/c/698944132083d143ef965c0090ee14ba1d9e1a5f
https://git.kernel.org/stable/c/f25c804947e0a28c15e73da8e2e0db959cbed716
https://git.kernel.org/stable/c/8414f0e9f707226de20b48c7048179fd86d352fc
https://git.kernel.org/stable/c/d06f91a52af11630c9f7e487f6daf242ac310cb8
https://git.kernel.org/stable/c/1e5cd8bc902331ff801df88cbb299029ae062753
https://git.kernel.org/stable/c/956e7da12c114f13c63d126ab1d79c3b6a819060