CVE-2022-50251
BaseFortify
Publication date: 2025-09-15
Last updated on: 2025-11-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) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| 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 in the Linux kernel's mmc subsystem involves improper handling of the return value from the function mmc_add_host(). If the return value is ignored, memory allocated by mmc_alloc_host() is leaked, which can lead to a kernel crash when the system attempts to delete a device that was never properly added. The fix involves checking the return value of mmc_add_host() and properly freeing allocated memory if an error occurs, as well as ensuring timers are correctly deleted and handling failures from usb_control_msg() by freeing allocated memory.
How can this vulnerability impact me? :
This vulnerability can lead to memory leaks and potentially cause the Linux kernel to crash. A kernel crash can result in system instability, downtime, and potential loss of data or service availability.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, update the Linux kernel to a version that includes the patch fixing the mmc_add_host() return value check in the vub300 driver. This patch ensures proper error handling and prevents memory leaks and kernel crashes related to the mmc subsystem.