CVE-2022-50513
BaseFortify
Publication date: 2025-10-07
Last updated on: 2026-03-17
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 6.0 (inc) to 6.0.3 (inc) |
| linux | kernel | * |
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 potential memory leak in the Linux kernel's rtl8723bs staging driver, specifically in the function rtw_init_cmd_priv(). If a certain buffer (rsp_allocated_buf) is allocated but an error occurs, another buffer (cmd_allocated_buf) is not properly freed, leading to a memory leak. The patch fixes this by adding code to free the allocated buffer on error paths and simplifies the function's return logic.
How can this vulnerability impact me? :
The impact of this vulnerability is a potential memory leak in the Linux kernel driver, which could lead to increased memory usage and possibly degrade system performance or stability over time if the error condition occurs repeatedly.