CVE-2022-50267
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.8 (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 occurs in the Linux kernel's mmc subsystem, specifically in the rtsx_pci driver. The function mmc_add_host() may return an error, but if its return value is ignored, the memory allocated by mmc_alloc_host() is leaked. This can lead to a kernel crash because the system attempts to delete a device that was never successfully added. The fix involves properly checking the return value of mmc_add_host(), freeing allocated memory on error, and disabling runtime power management in the error path.
How can this vulnerability impact me? :
This vulnerability can cause a kernel crash due to memory leaks and improper device removal. Such crashes can lead to system instability, potential denial of service, and loss of data or availability on affected Linux systems using the vulnerable driver.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, ensure that your Linux kernel is updated to a version where the fix for the mmc: rtsx_pci issue is applied. The fix involves proper checking of the return value of mmc_add_host() and disabling runtime PM. Applying the latest kernel patches or updates from your distribution that address this issue is the immediate step to prevent kernel crashes caused by this vulnerability.