Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
- >= 6.0.0-rc7-next-20220930-04543, < 6.0.0-rc7-next-20221018-04543
A use-after-free vulnerability has been identified in the Linux kernel's MTD (Memory Technology Device) subsystem, specifically within the dynamic partitions code. This issue arises from a missing reference count management function, which can lead to memory being freed while still in use, potentially causing instability or exploitation opportunities. The vulnerability was introduced in a previous commit that added support for dynamic partitions, and it affects the Linux kernel stable tree.
Exploitation of this vulnerability leads to a use-after-free condition, where memory is improperly managed, potentially allowing for arbitrary code execution or causing a system crash.
The vulnerability can be reproduced by creating dynamic MTD partitions on a device using the GPMI NAND controller. This process will trigger the unbalanced reference count management, leading to the use-after-free condition.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been patched. The specific commit that addresses this issue is 12b58961de0bd88b3c7dfa5d21f6d67f4678b780.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.