CVE-2022-50268
BaseFortify
Publication date: 2025-09-15
Last updated on: 2025-12-03
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 3.16 (inc) to 4.9.337 (exc) |
| linux | linux_kernel | From 4.10 (inc) to 4.14.303 (exc) |
| linux | linux_kernel | From 4.15 (inc) to 4.19.270 (exc) |
| linux | linux_kernel | From 4.20 (inc) to 5.4.229 (exc) |
| linux | linux_kernel | From 5.5 (inc) to 5.10.163 (exc) |
| linux | linux_kernel | From 5.11 (inc) to 5.15.86 (exc) |
| linux | linux_kernel | From 5.16 (inc) to 6.0.16 (exc) |
| linux | linux_kernel | From 6.1 (inc) to 6.1.2 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-476 | The product dereferences a pointer that it expects to be valid but is NULL. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is in the Linux kernel's mmc (MultiMediaCard) driver for moxart. The function mmc_add_host() may return an error, but its return value was not properly checked. Ignoring this error causes a memory leak from mmc_alloc_host() and can lead to a kernel crash when the system tries to delete a device that was never successfully added. The fix involves checking the return value of mmc_add_host() and properly freeing allocated memory if an error occurs.
How can this vulnerability impact me? :
This vulnerability can cause a memory leak in the Linux kernel, which may lead to a kernel 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 where the mmc: moxart driver includes the fix for proper return value checking of mmc_add_host(). This prevents memory leaks and kernel crashes by ensuring error returns are handled correctly.