CVE-2022-50702
Memory Leak in Linux vdpa_sim Module During Device Initialization
Publication date: 2025-12-24
Last updated on: 2025-12-24
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a possible memory leak in the Linux kernel's vdpa_sim module, specifically in the functions vdpasim_net_init() and vdpasim_blk_init(). When the device_register() function fails during module probing, the reference count of the associated kobject is not properly decreased to zero, causing the name allocated by dev_set_name() to be leaked. The fix involves calling put_device() to ensure the name is freed during the kobject_cleanup() callback.
How can this vulnerability impact me? :
The impact of this vulnerability is a memory leak in the Linux kernel when loading or initializing the vdpa_sim module. This could lead to increased memory usage over time, potentially degrading system performance or stability if the leak accumulates.