Local service interruption via unbalanced device-node reference
Published Sep 15, 2025 · Updated Sep 15, 2025
Use-after-free in Linux kernel MTD dynamic partition handling in 6.0 through 6.0.6 allows local users to interrupt service. drivers/mtd/mtdcore.c assigns a dynamic partition's device-tree node without taking an of_node_get() reference, while cleanup later calls of_node_put(), causing an unbalanced reference count and reuse of a freed node. The failure occurs during boot while registering command-line partitions on an MTD device; public records demonstrate a kernel warning and use-after-free, but not code execution or data access.
Summary
What happened
Use-after-free in Linux kernel MTD dynamic partition handling in 6.0 through 6.0.6 allows local users to interrupt service. drivers/mtd/mtdcore.c assigns a dynamic partition's device-tree node without taking an of_node_get() reference, while cleanup later calls of_node_put(), causing an unbalanced reference count and reuse of a freed node. The failure occurs during boot while registering command-line partitions on an MTD device; public records demonstrate a kernel warning and use-after-free, but not code execution or data access.
The record
- CVE
- CVE-2022-50283
- Published
- Sep 15, 2025
- Updated
- Sep 15, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416
- 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=6.0
- Affected versionversion=ad9b10d1eaada169bd764abcab58f08538877e26 <12b58961de0bd88b3c7dfa5d21f6d67f4678b780
- Affected versionversion=ad9b10d1eaada169bd764abcab58f08538877e26 <9e54ce00505d291ef88f2c05e5eef46269daf83c
What conditions does exploitation require?
What is affected?
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