CVE-2022-50545
BaseFortify
Publication date: 2025-10-07
Last updated on: 2026-02-26
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-401 | The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a memory leak in the Linux kernel related to the r6040 driver. Specifically, when a r6040 device is removed or an error occurs after probing, the associated phy_device is not properly disconnected. This causes the reference count of the first phy_device to remain at 1 instead of being released, leading to a memory leak. The issue arises because the phy_device connected to the network ethernet device is not disconnected during removal or error handling, which is necessary to free resources correctly. The fix involves adding a phy_disconnect() call during device removal or error handling to properly release the phy_device.
How can this vulnerability impact me? :
This vulnerability can lead to memory leaks in systems using the affected Linux kernel r6040 driver. Over time, these leaks can cause increased memory usage, potentially degrading system performance or causing instability. In environments where the r6040 device is frequently added and removed or where errors occur during device initialization, the impact could be more pronounced, possibly leading to resource exhaustion or system crashes.