Module reload denial via leaked backing device
Published Sep 15, 2025 · Updated Sep 15, 2025
Resource leak in the Linux kernel MTD core allows local users to prevent the MTD module from loading again after an initialization failure. If init_mtdchar() fails, the init_mtd() error path leaves mtd_bdi registered instead of unregistering the backing device, so the next load encounters a duplicate mtd-0 object. Reachability requires local module initialization and an induced init_mtdchar() failure; the documented consequence is loss of MTD module reloadability.
Summary
What happened
Resource leak in the Linux kernel MTD core allows local users to prevent the MTD module from loading again after an initialization failure. If init_mtdchar() fails, the init_mtd() error path leaves mtd_bdi registered instead of unregistering the backing device, so the next load encounters a duplicate mtd-0 object. Reachability requires local module initialization and an induced init_mtdchar() failure; the documented consequence is loss of MTD module reloadability.
The record
- CVE
- CVE-2022-50304
- Published
- Sep 15, 2025
- Updated
- Sep 15, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-401
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 15, 2025CVE publishedPublication date reported by the CVE source.
- Sep 15, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.10
- Affected versionversion=445caaa20c4d6da74f426464f90513b81157ad77 <1aadf01e5076b9ab6bf294b9622335c651314895
- Affected versionversion=445caaa20c4d6da74f426464f90513b81157ad77 <26c304a3f136009c5a2a04e2bf3ac6aa25aabcb4
- Affected versionversion=445caaa20c4d6da74f426464f90513b81157ad77 <78816504100cbd8e6836df9f58cc4fbb8b262f1c
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo